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>
51 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
65 inline void SetTask(
const char* value) { m_taskHasBeenSet =
true; m_task.assign(value); }
79 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
93 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
179 bool m_clusterHasBeenSet =
false;
182 bool m_taskHasBeenSet =
false;
185 bool m_statusHasBeenSet =
false;
188 bool m_reasonHasBeenSet =
false;
191 bool m_containersHasBeenSet =
false;
194 bool m_attachmentsHasBeenSet =
false;
197 bool m_managedAgentsHasBeenSet =
false;
200 bool m_pullStartedAtHasBeenSet =
false;
203 bool m_pullStoppedAtHasBeenSet =
false;
206 bool m_executionStoppedAtHasBeenSet =
false;
const Aws::Vector< ManagedAgentStateChange > & GetManagedAgents() const
bool StatusHasBeenSet() const
void SetPullStoppedAt(const Aws::Utils::DateTime &value)
void SetTask(const char *value)
void SetReason(const char *value)
bool PullStartedAtHasBeenSet() const
void SetPullStoppedAt(Aws::Utils::DateTime &&value)
SubmitTaskStateChangeRequest & WithContainers(Aws::Vector< ContainerStateChange > &&value)
void SetManagedAgents(Aws::Vector< ManagedAgentStateChange > &&value)
void SetManagedAgents(const Aws::Vector< ManagedAgentStateChange > &value)
SubmitTaskStateChangeRequest & WithTask(const char *value)
SubmitTaskStateChangeRequest & WithCluster(const char *value)
SubmitTaskStateChangeRequest & WithAttachments(Aws::Vector< AttachmentStateChange > &&value)
SubmitTaskStateChangeRequest & WithCluster(Aws::String &&value)
SubmitTaskStateChangeRequest & WithContainers(const Aws::Vector< ContainerStateChange > &value)
SubmitTaskStateChangeRequest & WithReason(const Aws::String &value)
SubmitTaskStateChangeRequest & WithCluster(const Aws::String &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetExecutionStoppedAt() const
bool PullStoppedAtHasBeenSet() const
AWS_ECS_API SubmitTaskStateChangeRequest()
bool ManagedAgentsHasBeenSet() const
const Aws::String & GetTask() const
SubmitTaskStateChangeRequest & WithStatus(const char *value)
bool ContainersHasBeenSet() const
bool AttachmentsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
SubmitTaskStateChangeRequest & AddContainers(const ContainerStateChange &value)
SubmitTaskStateChangeRequest & WithPullStartedAt(Aws::Utils::DateTime &&value)
void SetContainers(const Aws::Vector< ContainerStateChange > &value)
void SetExecutionStoppedAt(Aws::Utils::DateTime &&value)
bool ClusterHasBeenSet() const
AWS_ECS_API Aws::String SerializePayload() const override
bool ReasonHasBeenSet() const
void SetStatus(Aws::String &&value)
SubmitTaskStateChangeRequest & WithTask(Aws::String &&value)
const Aws::String & GetStatus() const
SubmitTaskStateChangeRequest & WithExecutionStoppedAt(Aws::Utils::DateTime &&value)
void SetTask(Aws::String &&value)
SubmitTaskStateChangeRequest & WithManagedAgents(Aws::Vector< ManagedAgentStateChange > &&value)
SubmitTaskStateChangeRequest & WithPullStoppedAt(const Aws::Utils::DateTime &value)
void SetContainers(Aws::Vector< ContainerStateChange > &&value)
bool ExecutionStoppedAtHasBeenSet() const
SubmitTaskStateChangeRequest & WithReason(const char *value)
SubmitTaskStateChangeRequest & WithTask(const Aws::String &value)
SubmitTaskStateChangeRequest & WithManagedAgents(const Aws::Vector< ManagedAgentStateChange > &value)
void SetCluster(Aws::String &&value)
void SetCluster(const char *value)
void SetAttachments(Aws::Vector< AttachmentStateChange > &&value)
void SetReason(const Aws::String &value)
SubmitTaskStateChangeRequest & WithAttachments(const Aws::Vector< AttachmentStateChange > &value)
void SetPullStartedAt(const Aws::Utils::DateTime &value)
SubmitTaskStateChangeRequest & WithStatus(const Aws::String &value)
void SetCluster(const Aws::String &value)
void SetPullStartedAt(Aws::Utils::DateTime &&value)
void SetAttachments(const Aws::Vector< AttachmentStateChange > &value)
SubmitTaskStateChangeRequest & AddManagedAgents(ManagedAgentStateChange &&value)
const Aws::Utils::DateTime & GetPullStartedAt() const
SubmitTaskStateChangeRequest & WithPullStoppedAt(Aws::Utils::DateTime &&value)
SubmitTaskStateChangeRequest & WithStatus(Aws::String &&value)
SubmitTaskStateChangeRequest & AddContainers(ContainerStateChange &&value)
void SetStatus(const char *value)
SubmitTaskStateChangeRequest & AddManagedAgents(const ManagedAgentStateChange &value)
void SetExecutionStoppedAt(const Aws::Utils::DateTime &value)
SubmitTaskStateChangeRequest & WithExecutionStoppedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< AttachmentStateChange > & GetAttachments() const
SubmitTaskStateChangeRequest & WithReason(Aws::String &&value)
SubmitTaskStateChangeRequest & AddAttachments(const AttachmentStateChange &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
void SetStatus(const Aws::String &value)
SubmitTaskStateChangeRequest & WithPullStartedAt(const Aws::Utils::DateTime &value)
void SetReason(Aws::String &&value)
SubmitTaskStateChangeRequest & AddAttachments(AttachmentStateChange &&value)
void SetTask(const Aws::String &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