Skip to content

Commit 19d3758

Browse files
authored
Fixing serialization bug with enumerations (#97)
1 parent d652439 commit 19d3758

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

jobs/source/JobExecutionData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ namespace Aws
121121

122122
if (Status)
123123
{
124-
(JobStatusMarshaller::ToString(*Status));
124+
object.WithString("status", JobStatusMarshaller::ToString(*Status));
125125
}
126126

127127
if (VersionNumber)

jobs/source/JobExecutionState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace Aws
7171

7272
if (Status)
7373
{
74-
(JobStatusMarshaller::ToString(*Status));
74+
object.WithString("status", JobStatusMarshaller::ToString(*Status));
7575
}
7676
}
7777

jobs/source/RejectedError.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ namespace Aws
6767

6868
if (Code)
6969
{
70-
(RejectedErrorCodeMarshaller::ToString(*Code));
70+
object.WithString("code", RejectedErrorCodeMarshaller::ToString(*Code));
7171
}
7272

7373
if (ExecutionState)

jobs/source/UpdateJobExecutionRequest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ namespace Aws
106106

107107
if (Status)
108108
{
109-
(JobStatusMarshaller::ToString(*Status));
109+
object.WithString("status", JobStatusMarshaller::ToString(*Status));
110110
}
111111

112112
if (ClientToken)

0 commit comments

Comments
 (0)