7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
41 template <
typename ArnT = Aws::String>
43 m_arnHasBeenSet =
true;
44 m_arn = std::forward<ArnT>(value);
46 template <
typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
60 m_requestedTaskCountHasBeenSet =
true;
61 m_requestedTaskCount = value;
76 m_runningTaskCountHasBeenSet =
true;
77 m_runningTaskCount = value;
92 m_pendingTaskCountHasBeenSet =
true;
93 m_pendingTaskCount = value;
110 m_requestedTestTrafficWeightHasBeenSet =
true;
111 m_requestedTestTrafficWeight = value;
129 m_requestedProductionTrafficWeightHasBeenSet =
true;
130 m_requestedProductionTrafficWeight = value;
140 int m_requestedTaskCount{0};
142 int m_runningTaskCount{0};
144 int m_pendingTaskCount{0};
146 double m_requestedTestTrafficWeight{0.0};
148 double m_requestedProductionTrafficWeight{0.0};
149 bool m_arnHasBeenSet =
false;
150 bool m_requestedTaskCountHasBeenSet =
false;
151 bool m_runningTaskCountHasBeenSet =
false;
152 bool m_pendingTaskCountHasBeenSet =
false;
153 bool m_requestedTestTrafficWeightHasBeenSet =
false;
154 bool m_requestedProductionTrafficWeightHasBeenSet =
false;
void SetRequestedProductionTrafficWeight(double value)
AWS_ECS_API ServiceRevisionSummary()=default
AWS_ECS_API ServiceRevisionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetRequestedTaskCount(int value)
bool RequestedTestTrafficWeightHasBeenSet() const
ServiceRevisionSummary & WithRequestedProductionTrafficWeight(double value)
void SetRunningTaskCount(int value)
bool ArnHasBeenSet() const
void SetPendingTaskCount(int value)
bool RequestedProductionTrafficWeightHasBeenSet() const
void SetArn(ArnT &&value)
bool PendingTaskCountHasBeenSet() const
bool RunningTaskCountHasBeenSet() const
bool RequestedTaskCountHasBeenSet() const
void SetRequestedTestTrafficWeight(double value)
int GetRequestedTaskCount() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceRevisionSummary & WithRunningTaskCount(int value)
AWS_ECS_API ServiceRevisionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceRevisionSummary & WithArn(ArnT &&value)
int GetPendingTaskCount() const
ServiceRevisionSummary & WithRequestedTestTrafficWeight(double value)
double GetRequestedProductionTrafficWeight() const
ServiceRevisionSummary & WithPendingTaskCount(int value)
const Aws::String & GetArn() const
ServiceRevisionSummary & WithRequestedTaskCount(int value)
int GetRunningTaskCount() const
double GetRequestedTestTrafficWeight() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue