7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/model/NetworkBinding.h>
51 inline void SetContainerName(
const char* value) { m_containerNameHasBeenSet =
true; m_containerName.assign(value); }
65 inline void SetImageDigest(
const char* value) { m_imageDigestHasBeenSet =
true; m_imageDigest.assign(value); }
79 inline void SetRuntimeId(
const char* value) { m_runtimeIdHasBeenSet =
true; m_runtimeId.assign(value); }
92 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
118 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
132 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
140 bool m_containerNameHasBeenSet =
false;
143 bool m_imageDigestHasBeenSet =
false;
146 bool m_runtimeIdHasBeenSet =
false;
149 bool m_exitCodeHasBeenSet =
false;
152 bool m_networkBindingsHasBeenSet =
false;
155 bool m_reasonHasBeenSet =
false;
158 bool m_statusHasBeenSet =
false;
ContainerStateChange & WithContainerName(Aws::String &&value)
ContainerStateChange & WithImageDigest(const char *value)
void SetStatus(const char *value)
ContainerStateChange & WithStatus(const Aws::String &value)
ContainerStateChange & WithImageDigest(const Aws::String &value)
ContainerStateChange & WithImageDigest(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerStateChange & WithReason(Aws::String &&value)
const Aws::String & GetReason() const
void SetNetworkBindings(Aws::Vector< NetworkBinding > &&value)
const Aws::String & GetImageDigest() const
const Aws::String & GetRuntimeId() const
const Aws::String & GetContainerName() const
ContainerStateChange & WithContainerName(const Aws::String &value)
void SetRuntimeId(Aws::String &&value)
const Aws::String & GetStatus() const
bool ExitCodeHasBeenSet() const
void SetContainerName(const Aws::String &value)
bool NetworkBindingsHasBeenSet() const
void SetRuntimeId(const Aws::String &value)
ContainerStateChange & AddNetworkBindings(NetworkBinding &&value)
void SetContainerName(Aws::String &&value)
bool RuntimeIdHasBeenSet() const
void SetContainerName(const char *value)
void SetImageDigest(const char *value)
ContainerStateChange & WithReason(const char *value)
AWS_ECS_API ContainerStateChange(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
ContainerStateChange & WithRuntimeId(const Aws::String &value)
ContainerStateChange & WithReason(const Aws::String &value)
bool ContainerNameHasBeenSet() const
ContainerStateChange & WithStatus(const char *value)
void SetStatus(Aws::String &&value)
void SetReason(Aws::String &&value)
AWS_ECS_API ContainerStateChange & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReasonHasBeenSet() const
void SetStatus(const Aws::String &value)
void SetRuntimeId(const char *value)
ContainerStateChange & WithRuntimeId(const char *value)
ContainerStateChange & WithExitCode(int value)
ContainerStateChange & WithNetworkBindings(const Aws::Vector< NetworkBinding > &value)
ContainerStateChange & WithStatus(Aws::String &&value)
void SetExitCode(int value)
ContainerStateChange & AddNetworkBindings(const NetworkBinding &value)
ContainerStateChange & WithRuntimeId(Aws::String &&value)
const Aws::Vector< NetworkBinding > & GetNetworkBindings() const
AWS_ECS_API ContainerStateChange()
void SetImageDigest(const Aws::String &value)
bool ImageDigestHasBeenSet() const
void SetNetworkBindings(const Aws::Vector< NetworkBinding > &value)
ContainerStateChange & WithContainerName(const char *value)
ContainerStateChange & WithNetworkBindings(Aws::Vector< NetworkBinding > &&value)
void SetReason(const char *value)
void SetImageDigest(Aws::String &&value)
void SetReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue