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/HealthStatus.h>
11#include <aws/ecs/model/NetworkBinding.h>
12#include <aws/ecs/model/NetworkInterface.h>
13#include <aws/ecs/model/ManagedAgent.h>
53 inline void SetContainerArn(
const char* value) { m_containerArnHasBeenSet =
true; m_containerArn.assign(value); }
67 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
81 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
95 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
109 inline void SetImageDigest(
const char* value) { m_imageDigestHasBeenSet =
true; m_imageDigest.assign(value); }
123 inline void SetRuntimeId(
const char* value) { m_runtimeIdHasBeenSet =
true; m_runtimeId.assign(value); }
137 inline void SetLastStatus(
const char* value) { m_lastStatusHasBeenSet =
true; m_lastStatus.assign(value); }
149 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
162 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
235 inline void SetCpu(
const char* value) { m_cpuHasBeenSet =
true; m_cpu.assign(value); }
249 inline void SetMemory(
const char* value) { m_memoryHasBeenSet =
true; m_memory.assign(value); }
263 inline void SetMemoryReservation(
const char* value) { m_memoryReservationHasBeenSet =
true; m_memoryReservation.assign(value); }
281 inline Container&
AddGpuIds(
const char* value) { m_gpuIdsHasBeenSet =
true; m_gpuIds.push_back(value);
return *
this; }
286 bool m_containerArnHasBeenSet =
false;
289 bool m_taskArnHasBeenSet =
false;
292 bool m_nameHasBeenSet =
false;
295 bool m_imageHasBeenSet =
false;
298 bool m_imageDigestHasBeenSet =
false;
301 bool m_runtimeIdHasBeenSet =
false;
304 bool m_lastStatusHasBeenSet =
false;
307 bool m_exitCodeHasBeenSet =
false;
310 bool m_reasonHasBeenSet =
false;
313 bool m_networkBindingsHasBeenSet =
false;
316 bool m_networkInterfacesHasBeenSet =
false;
319 bool m_healthStatusHasBeenSet =
false;
322 bool m_managedAgentsHasBeenSet =
false;
325 bool m_cpuHasBeenSet =
false;
328 bool m_memoryHasBeenSet =
false;
331 bool m_memoryReservationHasBeenSet =
false;
334 bool m_gpuIdsHasBeenSet =
false;
Container & WithImageDigest(const char *value)
Container & WithCpu(const char *value)
const Aws::String & GetMemoryReservation() const
Container & AddNetworkBindings(const NetworkBinding &value)
void SetImageDigest(const char *value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
Container & WithLastStatus(Aws::String &&value)
Container & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
Container & WithTaskArn(Aws::String &&value)
Container & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
Container & AddGpuIds(const Aws::String &value)
void SetName(Aws::String &&value)
Container & WithLastStatus(const Aws::String &value)
Container & WithMemory(const Aws::String &value)
void SetMemoryReservation(Aws::String &&value)
bool NameHasBeenSet() const
Container & WithGpuIds(const Aws::Vector< Aws::String > &value)
Container & WithRuntimeId(const Aws::String &value)
void SetNetworkBindings(const Aws::Vector< NetworkBinding > &value)
bool TaskArnHasBeenSet() const
void SetLastStatus(const char *value)
Container & WithReason(const char *value)
const HealthStatus & GetHealthStatus() const
void SetMemory(const Aws::String &value)
AWS_ECS_API Container(Aws::Utils::Json::JsonView jsonValue)
void SetGpuIds(Aws::Vector< Aws::String > &&value)
Container & WithCpu(Aws::String &&value)
void SetManagedAgents(Aws::Vector< ManagedAgent > &&value)
void SetCpu(const Aws::String &value)
Container & WithImageDigest(Aws::String &&value)
void SetExitCode(int value)
void SetMemoryReservation(const char *value)
const Aws::String & GetReason() const
void SetManagedAgents(const Aws::Vector< ManagedAgent > &value)
bool ImageHasBeenSet() const
Container & WithReason(const Aws::String &value)
void SetImage(const char *value)
void SetCpu(const char *value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReason(Aws::String &&value)
Container & WithManagedAgents(const Aws::Vector< ManagedAgent > &value)
Container & AddGpuIds(const char *value)
Container & WithTaskArn(const char *value)
void SetImage(Aws::String &&value)
Container & WithContainerArn(const Aws::String &value)
Container & WithExitCode(int value)
Container & WithManagedAgents(Aws::Vector< ManagedAgent > &&value)
void SetRuntimeId(const char *value)
void SetReason(const char *value)
Container & WithMemoryReservation(const char *value)
void SetTaskArn(const Aws::String &value)
AWS_ECS_API Container & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemoryReservation(const Aws::String &value)
void SetTaskArn(const char *value)
bool HealthStatusHasBeenSet() const
bool RuntimeIdHasBeenSet() const
const Aws::Vector< ManagedAgent > & GetManagedAgents() const
Container & WithReason(Aws::String &&value)
bool NetworkBindingsHasBeenSet() const
Container & WithNetworkBindings(const Aws::Vector< NetworkBinding > &value)
Container & WithContainerArn(const char *value)
void SetName(const Aws::String &value)
void SetReason(const Aws::String &value)
Container & WithHealthStatus(const HealthStatus &value)
void SetContainerArn(const Aws::String &value)
bool CpuHasBeenSet() const
void SetName(const char *value)
Container & WithName(const char *value)
Container & WithContainerArn(Aws::String &&value)
void SetMemory(Aws::String &&value)
Container & WithRuntimeId(const char *value)
Container & AddNetworkInterfaces(NetworkInterface &&value)
Container & WithName(Aws::String &&value)
bool NetworkInterfacesHasBeenSet() const
void SetMemory(const char *value)
void SetRuntimeId(const Aws::String &value)
Container & WithImage(const char *value)
void SetImageDigest(const Aws::String &value)
Container & WithImageDigest(const Aws::String &value)
Container & AddManagedAgents(const ManagedAgent &value)
bool MemoryReservationHasBeenSet() const
const Aws::String & GetImageDigest() const
Container & WithHealthStatus(HealthStatus &&value)
Container & WithImage(Aws::String &&value)
void SetRuntimeId(Aws::String &&value)
Container & WithMemoryReservation(const Aws::String &value)
Container & WithName(const Aws::String &value)
const Aws::String & GetMemory() const
void SetCpu(Aws::String &&value)
Container & WithMemoryReservation(Aws::String &&value)
bool LastStatusHasBeenSet() const
void SetContainerArn(Aws::String &&value)
const Aws::String & GetImage() const
Container & AddManagedAgents(ManagedAgent &&value)
void SetImage(const Aws::String &value)
bool ManagedAgentsHasBeenSet() const
Container & AddGpuIds(Aws::String &&value)
Container & WithLastStatus(const char *value)
bool GpuIdsHasBeenSet() const
bool ExitCodeHasBeenSet() const
Container & AddNetworkInterfaces(const NetworkInterface &value)
const Aws::String & GetTaskArn() const
Container & WithTaskArn(const Aws::String &value)
const Aws::String & GetCpu() const
const Aws::Vector< NetworkBinding > & GetNetworkBindings() const
void SetNetworkBindings(Aws::Vector< NetworkBinding > &&value)
bool ReasonHasBeenSet() const
void SetLastStatus(const Aws::String &value)
const Aws::Vector< Aws::String > & GetGpuIds() const
Container & WithNetworkBindings(Aws::Vector< NetworkBinding > &&value)
const Aws::String & GetLastStatus() const
const Aws::String & GetRuntimeId() const
bool ContainerArnHasBeenSet() const
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
Container & WithCpu(const Aws::String &value)
Container & WithImage(const Aws::String &value)
Container & WithRuntimeId(Aws::String &&value)
Container & WithMemory(const char *value)
void SetLastStatus(Aws::String &&value)
void SetHealthStatus(HealthStatus &&value)
void SetHealthStatus(const HealthStatus &value)
void SetImageDigest(Aws::String &&value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
void SetTaskArn(Aws::String &&value)
Container & AddNetworkBindings(NetworkBinding &&value)
const Aws::String & GetContainerArn() const
bool ImageDigestHasBeenSet() const
void SetGpuIds(const Aws::Vector< Aws::String > &value)
Container & WithMemory(Aws::String &&value)
Container & WithGpuIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetName() const
bool MemoryHasBeenSet() const
void SetContainerArn(const char *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