7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codedeploy/model/TargetGroupInfo.h>
10#include <aws/codedeploy/model/TargetLabel.h>
53 template<
typename IdentiferT = Aws::String>
54 void SetIdentifer(IdentiferT&& value) { m_identiferHasBeenSet =
true; m_identifer = std::forward<IdentiferT>(value); }
55 template<
typename IdentiferT = Aws::String>
68 inline void SetDesiredCount(
long long value) { m_desiredCountHasBeenSet =
true; m_desiredCount = value; }
82 inline void SetPendingCount(
long long value) { m_pendingCountHasBeenSet =
true; m_pendingCount = value; }
94 inline void SetRunningCount(
long long value) { m_runningCountHasBeenSet =
true; m_runningCount = value; }
109 template<
typename StatusT = Aws::String>
110 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
111 template<
typename StatusT = Aws::String>
121 inline void SetTrafficWeight(
double value) { m_trafficWeightHasBeenSet =
true; m_trafficWeight = value; }
132 template<
typename TargetGroupT = TargetGroupInfo>
133 void SetTargetGroup(TargetGroupT&& value) { m_targetGroupHasBeenSet =
true; m_targetGroup = std::forward<TargetGroupT>(value); }
134 template<
typename TargetGroupT = TargetGroupInfo>
151 bool m_identiferHasBeenSet =
false;
153 long long m_desiredCount{0};
154 bool m_desiredCountHasBeenSet =
false;
156 long long m_pendingCount{0};
157 bool m_pendingCountHasBeenSet =
false;
159 long long m_runningCount{0};
160 bool m_runningCountHasBeenSet =
false;
163 bool m_statusHasBeenSet =
false;
165 double m_trafficWeight{0.0};
166 bool m_trafficWeightHasBeenSet =
false;
168 TargetGroupInfo m_targetGroup;
169 bool m_targetGroupHasBeenSet =
false;
172 bool m_taskSetLabelHasBeenSet =
false;
void SetIdentifer(IdentiferT &&value)
ECSTaskSet & WithStatus(StatusT &&value)
ECSTaskSet & WithTaskSetLabel(TargetLabel value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdentiferHasBeenSet() const
TargetLabel GetTaskSetLabel() const
const Aws::String & GetIdentifer() const
void SetPendingCount(long long value)
const TargetGroupInfo & GetTargetGroup() const
bool StatusHasBeenSet() const
void SetDesiredCount(long long value)
ECSTaskSet & WithRunningCount(long long value)
ECSTaskSet & WithTargetGroup(TargetGroupT &&value)
ECSTaskSet & WithTrafficWeight(double value)
bool TargetGroupHasBeenSet() const
void SetStatus(StatusT &&value)
AWS_CODEDEPLOY_API ECSTaskSet()=default
void SetRunningCount(long long value)
void SetTrafficWeight(double value)
bool TrafficWeightHasBeenSet() const
ECSTaskSet & WithDesiredCount(long long value)
AWS_CODEDEPLOY_API ECSTaskSet(Aws::Utils::Json::JsonView jsonValue)
void SetTargetGroup(TargetGroupT &&value)
AWS_CODEDEPLOY_API ECSTaskSet & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatus() const
bool DesiredCountHasBeenSet() const
ECSTaskSet & WithPendingCount(long long value)
long long GetPendingCount() const
void SetTaskSetLabel(TargetLabel value)
bool RunningCountHasBeenSet() const
bool PendingCountHasBeenSet() const
double GetTrafficWeight() const
long long GetRunningCount() const
ECSTaskSet & WithIdentifer(IdentiferT &&value)
long long GetDesiredCount() const
bool TaskSetLabelHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue