7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/TargetGroupInfo.h>
9#include <aws/codedeploy/model/TargetLabel.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
47 template <
typename IdentiferT = Aws::String>
49 m_identiferHasBeenSet =
true;
50 m_identifer = std::forward<IdentiferT>(value);
52 template <
typename IdentiferT = Aws::String>
69 m_desiredCountHasBeenSet =
true;
70 m_desiredCount = value;
89 m_pendingCountHasBeenSet =
true;
90 m_pendingCount = value;
107 m_runningCountHasBeenSet =
true;
108 m_runningCount = value;
127 template <
typename StatusT = Aws::String>
129 m_statusHasBeenSet =
true;
130 m_status = std::forward<StatusT>(value);
132 template <
typename StatusT = Aws::String>
146 m_trafficWeightHasBeenSet =
true;
147 m_trafficWeight = value;
162 template <
typename TargetGroupT = TargetGroupInfo>
164 m_targetGroupHasBeenSet =
true;
165 m_targetGroup = std::forward<TargetGroupT>(value);
167 template <
typename TargetGroupT = TargetGroupInfo>
182 m_taskSetLabelHasBeenSet =
true;
183 m_taskSetLabel = value;
193 long long m_desiredCount{0};
195 long long m_pendingCount{0};
197 long long m_runningCount{0};
201 double m_trafficWeight{0.0};
203 TargetGroupInfo m_targetGroup;
206 bool m_identiferHasBeenSet =
false;
207 bool m_desiredCountHasBeenSet =
false;
208 bool m_pendingCountHasBeenSet =
false;
209 bool m_runningCountHasBeenSet =
false;
210 bool m_statusHasBeenSet =
false;
211 bool m_trafficWeightHasBeenSet =
false;
212 bool m_targetGroupHasBeenSet =
false;
213 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