7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/ECSRequest.h>
11#include <aws/ecs/ECS_EXPORTS.h>
12#include <aws/ecs/model/AttachmentStateChange.h>
13#include <aws/ecs/model/ContainerStateChange.h>
14#include <aws/ecs/model/ManagedAgentStateChange.h>
48 template <
typename ClusterT = Aws::String>
50 m_clusterHasBeenSet =
true;
51 m_cluster = std::forward<ClusterT>(value);
53 template <
typename ClusterT = Aws::String>
66 template <
typename TaskT = Aws::String>
68 m_taskHasBeenSet =
true;
69 m_task = std::forward<TaskT>(value);
71 template <
typename TaskT = Aws::String>
73 SetTask(std::forward<TaskT>(value));
84 template <
typename StatusT = Aws::String>
86 m_statusHasBeenSet =
true;
87 m_status = std::forward<StatusT>(value);
89 template <
typename StatusT = Aws::String>
102 template <
typename ReasonT = Aws::String>
104 m_reasonHasBeenSet =
true;
105 m_reason = std::forward<ReasonT>(value);
107 template <
typename ReasonT = Aws::String>
120 template <
typename ContainersT = Aws::Vector<ContainerStateChange>>
122 m_containersHasBeenSet =
true;
123 m_containers = std::forward<ContainersT>(value);
125 template <
typename ContainersT = Aws::Vector<ContainerStateChange>>
130 template <
typename ContainersT = ContainerStateChange>
132 m_containersHasBeenSet =
true;
133 m_containers.emplace_back(std::forward<ContainersT>(value));
144 template <
typename AttachmentsT = Aws::Vector<AttachmentStateChange>>
146 m_attachmentsHasBeenSet =
true;
147 m_attachments = std::forward<AttachmentsT>(value);
149 template <
typename AttachmentsT = Aws::Vector<AttachmentStateChange>>
154 template <
typename AttachmentsT = AttachmentStateChange>
156 m_attachmentsHasBeenSet =
true;
157 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
168 template <
typename ManagedAgentsT = Aws::Vector<ManagedAgentStateChange>>
170 m_managedAgentsHasBeenSet =
true;
171 m_managedAgents = std::forward<ManagedAgentsT>(value);
173 template <
typename ManagedAgentsT = Aws::Vector<ManagedAgentStateChange>>
178 template <
typename ManagedAgentsT = ManagedAgentStateChange>
180 m_managedAgentsHasBeenSet =
true;
181 m_managedAgents.emplace_back(std::forward<ManagedAgentsT>(value));
192 template <
typename PullStartedAtT = Aws::Utils::DateTime>
194 m_pullStartedAtHasBeenSet =
true;
195 m_pullStartedAt = std::forward<PullStartedAtT>(value);
197 template <
typename PullStartedAtT = Aws::Utils::DateTime>
210 template <
typename PullStoppedAtT = Aws::Utils::DateTime>
212 m_pullStoppedAtHasBeenSet =
true;
213 m_pullStoppedAt = std::forward<PullStoppedAtT>(value);
215 template <
typename PullStoppedAtT = Aws::Utils::DateTime>
228 template <
typename ExecutionStoppedAtT = Aws::Utils::DateTime>
230 m_executionStoppedAtHasBeenSet =
true;
231 m_executionStoppedAt = std::forward<ExecutionStoppedAtT>(value);
233 template <
typename ExecutionStoppedAtT = Aws::Utils::DateTime>
259 bool m_clusterHasBeenSet =
false;
260 bool m_taskHasBeenSet =
false;
261 bool m_statusHasBeenSet =
false;
262 bool m_reasonHasBeenSet =
false;
263 bool m_containersHasBeenSet =
false;
264 bool m_attachmentsHasBeenSet =
false;
265 bool m_managedAgentsHasBeenSet =
false;
266 bool m_pullStartedAtHasBeenSet =
false;
267 bool m_pullStoppedAtHasBeenSet =
false;
268 bool m_executionStoppedAtHasBeenSet =
false;
const Aws::Vector< ManagedAgentStateChange > & GetManagedAgents() const
bool StatusHasBeenSet() const
SubmitTaskStateChangeRequest & WithPullStoppedAt(PullStoppedAtT &&value)
bool PullStartedAtHasBeenSet() const
void SetCluster(ClusterT &&value)
SubmitTaskStateChangeRequest & WithStatus(StatusT &&value)
SubmitTaskStateChangeRequest & WithExecutionStoppedAt(ExecutionStoppedAtT &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetExecutionStoppedAt() const
bool PullStoppedAtHasBeenSet() const
bool ManagedAgentsHasBeenSet() const
const Aws::String & GetTask() const
bool ContainersHasBeenSet() const
bool AttachmentsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_ECS_API SubmitTaskStateChangeRequest()=default
void SetManagedAgents(ManagedAgentsT &&value)
bool ClusterHasBeenSet() const
AWS_ECS_API Aws::String SerializePayload() const override
void SetReason(ReasonT &&value)
bool ReasonHasBeenSet() const
SubmitTaskStateChangeRequest & WithTask(TaskT &&value)
const Aws::String & GetStatus() const
void SetAttachments(AttachmentsT &&value)
SubmitTaskStateChangeRequest & AddAttachments(AttachmentsT &&value)
bool ExecutionStoppedAtHasBeenSet() const
SubmitTaskStateChangeRequest & AddContainers(ContainersT &&value)
void SetContainers(ContainersT &&value)
SubmitTaskStateChangeRequest & WithPullStartedAt(PullStartedAtT &&value)
void SetPullStartedAt(PullStartedAtT &&value)
SubmitTaskStateChangeRequest & AddManagedAgents(ManagedAgentsT &&value)
SubmitTaskStateChangeRequest & WithReason(ReasonT &&value)
const Aws::Utils::DateTime & GetPullStartedAt() const
void SetPullStoppedAt(PullStoppedAtT &&value)
SubmitTaskStateChangeRequest & WithAttachments(AttachmentsT &&value)
void SetTask(TaskT &&value)
const Aws::Vector< AttachmentStateChange > & GetAttachments() const
void SetStatus(StatusT &&value)
bool TaskHasBeenSet() const
const Aws::Vector< ContainerStateChange > & GetContainers() const
const Aws::Utils::DateTime & GetPullStoppedAt() const
const Aws::String & GetReason() const
const Aws::String & GetCluster() const
SubmitTaskStateChangeRequest & WithManagedAgents(ManagedAgentsT &&value)
SubmitTaskStateChangeRequest & WithCluster(ClusterT &&value)
SubmitTaskStateChangeRequest & WithContainers(ContainersT &&value)
void SetExecutionStoppedAt(ExecutionStoppedAtT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector