7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecs/model/EphemeralStorage.h>
11#include <aws/ecs/model/ContainerOverride.h>
12#include <aws/ecs/model/InferenceAcceleratorOverride.h>
65 inline void SetCpu(
Aws::String&& value) { m_cpuHasBeenSet =
true; m_cpu = std::move(value); }
66 inline void SetCpu(
const char* value) { m_cpuHasBeenSet =
true; m_cpu.assign(value); }
98 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
112 inline void SetMemory(
const char* value) { m_memoryHasBeenSet =
true; m_memory.assign(value); }
131 inline void SetTaskRoleArn(
const char* value) { m_taskRoleArnHasBeenSet =
true; m_taskRoleArn.assign(value); }
155 bool m_containerOverridesHasBeenSet =
false;
158 bool m_cpuHasBeenSet =
false;
161 bool m_inferenceAcceleratorOverridesHasBeenSet =
false;
164 bool m_executionRoleArnHasBeenSet =
false;
167 bool m_memoryHasBeenSet =
false;
170 bool m_taskRoleArnHasBeenSet =
false;
173 bool m_ephemeralStorageHasBeenSet =
false;
bool TaskRoleArnHasBeenSet() const
void SetExecutionRoleArn(const char *value)
void SetExecutionRoleArn(const Aws::String &value)
void SetTaskRoleArn(Aws::String &&value)
bool CpuHasBeenSet() const
TaskOverride & AddInferenceAcceleratorOverrides(InferenceAcceleratorOverride &&value)
TaskOverride & WithTaskRoleArn(Aws::String &&value)
TaskOverride & AddInferenceAcceleratorOverrides(const InferenceAcceleratorOverride &value)
void SetMemory(Aws::String &&value)
bool EphemeralStorageHasBeenSet() const
TaskOverride & WithContainerOverrides(Aws::Vector< ContainerOverride > &&value)
const Aws::String & GetExecutionRoleArn() const
void SetMemory(const Aws::String &value)
TaskOverride & WithExecutionRoleArn(const Aws::String &value)
TaskOverride & WithTaskRoleArn(const Aws::String &value)
const Aws::Vector< InferenceAcceleratorOverride > & GetInferenceAcceleratorOverrides() const
void SetCpu(Aws::String &&value)
TaskOverride & WithTaskRoleArn(const char *value)
TaskOverride & WithInferenceAcceleratorOverrides(Aws::Vector< InferenceAcceleratorOverride > &&value)
void SetEphemeralStorage(EphemeralStorage &&value)
void SetContainerOverrides(Aws::Vector< ContainerOverride > &&value)
TaskOverride & WithEphemeralStorage(EphemeralStorage &&value)
TaskOverride & WithMemory(Aws::String &&value)
TaskOverride & WithCpu(const Aws::String &value)
TaskOverride & AddContainerOverrides(ContainerOverride &&value)
void SetTaskRoleArn(const Aws::String &value)
bool ExecutionRoleArnHasBeenSet() const
TaskOverride & WithContainerOverrides(const Aws::Vector< ContainerOverride > &value)
bool MemoryHasBeenSet() const
bool ContainerOverridesHasBeenSet() const
void SetMemory(const char *value)
TaskOverride & WithExecutionRoleArn(Aws::String &&value)
void SetEphemeralStorage(const EphemeralStorage &value)
AWS_ECS_API TaskOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskOverride & WithEphemeralStorage(const EphemeralStorage &value)
TaskOverride & AddContainerOverrides(const ContainerOverride &value)
AWS_ECS_API TaskOverride()
void SetCpu(const Aws::String &value)
TaskOverride & WithCpu(const char *value)
void SetInferenceAcceleratorOverrides(Aws::Vector< InferenceAcceleratorOverride > &&value)
const Aws::Vector< ContainerOverride > & GetContainerOverrides() const
TaskOverride & WithCpu(Aws::String &&value)
TaskOverride & WithMemory(const Aws::String &value)
TaskOverride & WithExecutionRoleArn(const char *value)
const Aws::String & GetTaskRoleArn() const
void SetTaskRoleArn(const char *value)
const EphemeralStorage & GetEphemeralStorage() const
TaskOverride & WithInferenceAcceleratorOverrides(const Aws::Vector< InferenceAcceleratorOverride > &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExecutionRoleArn(Aws::String &&value)
AWS_ECS_API TaskOverride(Aws::Utils::Json::JsonView jsonValue)
bool InferenceAcceleratorOverridesHasBeenSet() const
TaskOverride & WithMemory(const char *value)
const Aws::String & GetMemory() const
void SetContainerOverrides(const Aws::Vector< ContainerOverride > &value)
void SetInferenceAcceleratorOverrides(const Aws::Vector< InferenceAcceleratorOverride > &value)
const Aws::String & GetCpu() const
void SetCpu(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