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/ecs/model/NetworkBinding.h>
47 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
62 inline void SetTask(
const char* value) { m_taskHasBeenSet =
true; m_task.assign(value); }
76 inline void SetContainerName(
const char* value) { m_containerNameHasBeenSet =
true; m_containerName.assign(value); }
90 inline void SetRuntimeId(
const char* value) { m_runtimeIdHasBeenSet =
true; m_runtimeId.assign(value); }
104 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
116 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
128 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
150 bool m_clusterHasBeenSet =
false;
153 bool m_taskHasBeenSet =
false;
156 bool m_containerNameHasBeenSet =
false;
159 bool m_runtimeIdHasBeenSet =
false;
162 bool m_statusHasBeenSet =
false;
165 bool m_exitCodeHasBeenSet =
false;
168 bool m_reasonHasBeenSet =
false;
171 bool m_networkBindingsHasBeenSet =
false;
bool ExitCodeHasBeenSet() const
void SetReason(Aws::String &&value)
void SetCluster(Aws::String &&value)
SubmitContainerStateChangeRequest & WithReason(const char *value)
SubmitContainerStateChangeRequest & WithStatus(Aws::String &&value)
void SetContainerName(const char *value)
SubmitContainerStateChangeRequest & WithTask(Aws::String &&value)
void SetTask(Aws::String &&value)
void SetNetworkBindings(Aws::Vector< NetworkBinding > &&value)
void SetStatus(const char *value)
void SetTask(const Aws::String &value)
SubmitContainerStateChangeRequest & WithRuntimeId(const char *value)
const Aws::String & GetStatus() const
bool NetworkBindingsHasBeenSet() const
SubmitContainerStateChangeRequest & WithExitCode(int value)
void SetReason(const char *value)
bool StatusHasBeenSet() const
const Aws::String & GetRuntimeId() const
void SetExitCode(int value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCluster(const char *value)
SubmitContainerStateChangeRequest & WithCluster(const Aws::String &value)
SubmitContainerStateChangeRequest & WithContainerName(const char *value)
void SetStatus(const Aws::String &value)
void SetTask(const char *value)
bool TaskHasBeenSet() const
SubmitContainerStateChangeRequest & WithNetworkBindings(const Aws::Vector< NetworkBinding > &value)
SubmitContainerStateChangeRequest & WithStatus(const Aws::String &value)
SubmitContainerStateChangeRequest & WithContainerName(Aws::String &&value)
void SetContainerName(Aws::String &&value)
void SetRuntimeId(const char *value)
const Aws::String & GetContainerName() const
SubmitContainerStateChangeRequest & WithRuntimeId(Aws::String &&value)
SubmitContainerStateChangeRequest & WithContainerName(const Aws::String &value)
void SetReason(const Aws::String &value)
void SetStatus(Aws::String &&value)
bool ContainerNameHasBeenSet() const
void SetRuntimeId(Aws::String &&value)
bool ClusterHasBeenSet() const
const Aws::String & GetReason() const
const Aws::String & GetTask() const
SubmitContainerStateChangeRequest & WithReason(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
SubmitContainerStateChangeRequest & WithTask(const Aws::String &value)
SubmitContainerStateChangeRequest & WithCluster(const char *value)
SubmitContainerStateChangeRequest & WithStatus(const char *value)
bool ReasonHasBeenSet() const
SubmitContainerStateChangeRequest & WithReason(Aws::String &&value)
void SetContainerName(const Aws::String &value)
SubmitContainerStateChangeRequest & AddNetworkBindings(NetworkBinding &&value)
SubmitContainerStateChangeRequest & WithCluster(Aws::String &&value)
void SetNetworkBindings(const Aws::Vector< NetworkBinding > &value)
const Aws::Vector< NetworkBinding > & GetNetworkBindings() const
void SetRuntimeId(const Aws::String &value)
const Aws::String & GetCluster() const
bool RuntimeIdHasBeenSet() const
SubmitContainerStateChangeRequest & WithTask(const char *value)
SubmitContainerStateChangeRequest & AddNetworkBindings(const NetworkBinding &value)
AWS_ECS_API Aws::String SerializePayload() const override
void SetCluster(const Aws::String &value)
SubmitContainerStateChangeRequest & WithNetworkBindings(Aws::Vector< NetworkBinding > &&value)
SubmitContainerStateChangeRequest & WithRuntimeId(const Aws::String &value)
AWS_ECS_API SubmitContainerStateChangeRequest()
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