7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ecs/model/ContainerStateChange.h>
13#include <aws/ecs/model/AttachmentStateChange.h>
14#include <aws/ecs/model/ManagedAgentStateChange.h>
49 template<
typename ClusterT = Aws::String>
50 void SetCluster(ClusterT&& value) { m_clusterHasBeenSet =
true; m_cluster = std::forward<ClusterT>(value); }
51 template<
typename ClusterT = Aws::String>
61 template<
typename TaskT = Aws::String>
62 void SetTask(TaskT&& value) { m_taskHasBeenSet =
true; m_task = std::forward<TaskT>(value); }
63 template<
typename TaskT = Aws::String>
73 template<
typename StatusT = Aws::String>
74 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
75 template<
typename StatusT = Aws::String>
85 template<
typename ReasonT = Aws::String>
86 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
87 template<
typename ReasonT = Aws::String>
97 template<
typename ContainersT = Aws::Vector<ContainerStateChange>>
98 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
99 template<
typename ContainersT = Aws::Vector<ContainerStateChange>>
101 template<
typename ContainersT = ContainerStateChange>
111 template<
typename AttachmentsT = Aws::Vector<AttachmentStateChange>>
112 void SetAttachments(AttachmentsT&& value) { m_attachmentsHasBeenSet =
true; m_attachments = std::forward<AttachmentsT>(value); }
113 template<
typename AttachmentsT = Aws::Vector<AttachmentStateChange>>
115 template<
typename AttachmentsT = AttachmentStateChange>
125 template<
typename ManagedAgentsT = Aws::Vector<ManagedAgentStateChange>>
126 void SetManagedAgents(ManagedAgentsT&& value) { m_managedAgentsHasBeenSet =
true; m_managedAgents = std::forward<ManagedAgentsT>(value); }
127 template<
typename ManagedAgentsT = Aws::Vector<ManagedAgentStateChange>>
129 template<
typename ManagedAgentsT = ManagedAgentStateChange>
139 template<
typename PullStartedAtT = Aws::Utils::DateTime>
140 void SetPullStartedAt(PullStartedAtT&& value) { m_pullStartedAtHasBeenSet =
true; m_pullStartedAt = std::forward<PullStartedAtT>(value); }
141 template<
typename PullStartedAtT = Aws::Utils::DateTime>
151 template<
typename PullStoppedAtT = Aws::Utils::DateTime>
152 void SetPullStoppedAt(PullStoppedAtT&& value) { m_pullStoppedAtHasBeenSet =
true; m_pullStoppedAt = std::forward<PullStoppedAtT>(value); }
153 template<
typename PullStoppedAtT = Aws::Utils::DateTime>
163 template<
typename ExecutionStoppedAtT = Aws::Utils::DateTime>
164 void SetExecutionStoppedAt(ExecutionStoppedAtT&& value) { m_executionStoppedAtHasBeenSet =
true; m_executionStoppedAt = std::forward<ExecutionStoppedAtT>(value); }
165 template<
typename ExecutionStoppedAtT = Aws::Utils::DateTime>
171 bool m_clusterHasBeenSet =
false;
174 bool m_taskHasBeenSet =
false;
177 bool m_statusHasBeenSet =
false;
180 bool m_reasonHasBeenSet =
false;
183 bool m_containersHasBeenSet =
false;
186 bool m_attachmentsHasBeenSet =
false;
189 bool m_managedAgentsHasBeenSet =
false;
192 bool m_pullStartedAtHasBeenSet =
false;
195 bool m_pullStoppedAtHasBeenSet =
false;
198 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