7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pipes/model/EcsEphemeralStorage.h>
11#include <aws/pipes/model/EcsContainerOverride.h>
12#include <aws/pipes/model/EcsInferenceAcceleratorOverride.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); }
100 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
128 inline void SetMemory(
const char* value) { m_memoryHasBeenSet =
true; m_memory.assign(value); }
147 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_ephemeralStorageHasBeenSet =
false;
164 bool m_executionRoleArnHasBeenSet =
false;
167 bool m_inferenceAcceleratorOverridesHasBeenSet =
false;
170 bool m_memoryHasBeenSet =
false;
173 bool m_taskRoleArnHasBeenSet =
false;
EcsTaskOverride & WithEphemeralStorage(const EcsEphemeralStorage &value)
bool MemoryHasBeenSet() const
EcsTaskOverride & WithCpu(const char *value)
void SetExecutionRoleArn(Aws::String &&value)
EcsTaskOverride & WithMemory(Aws::String &&value)
bool EphemeralStorageHasBeenSet() const
void SetInferenceAcceleratorOverrides(Aws::Vector< EcsInferenceAcceleratorOverride > &&value)
const Aws::String & GetExecutionRoleArn() const
EcsTaskOverride & WithMemory(const Aws::String &value)
EcsTaskOverride & WithExecutionRoleArn(Aws::String &&value)
AWS_PIPES_API EcsTaskOverride(Aws::Utils::Json::JsonView jsonValue)
void SetEphemeralStorage(EcsEphemeralStorage &&value)
EcsTaskOverride & AddContainerOverrides(const EcsContainerOverride &value)
void SetExecutionRoleArn(const Aws::String &value)
void SetCpu(Aws::String &&value)
void SetMemory(const Aws::String &value)
AWS_PIPES_API EcsTaskOverride()
const Aws::Vector< EcsContainerOverride > & GetContainerOverrides() const
EcsTaskOverride & WithTaskRoleArn(const Aws::String &value)
AWS_PIPES_API EcsTaskOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TaskRoleArnHasBeenSet() const
EcsTaskOverride & WithTaskRoleArn(Aws::String &&value)
void SetMemory(Aws::String &&value)
EcsTaskOverride & WithTaskRoleArn(const char *value)
void SetCpu(const Aws::String &value)
void SetExecutionRoleArn(const char *value)
bool ContainerOverridesHasBeenSet() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EcsInferenceAcceleratorOverride > & GetInferenceAcceleratorOverrides() const
void SetInferenceAcceleratorOverrides(const Aws::Vector< EcsInferenceAcceleratorOverride > &value)
bool InferenceAcceleratorOverridesHasBeenSet() const
void SetContainerOverrides(const Aws::Vector< EcsContainerOverride > &value)
EcsTaskOverride & WithInferenceAcceleratorOverrides(const Aws::Vector< EcsInferenceAcceleratorOverride > &value)
EcsTaskOverride & WithCpu(Aws::String &&value)
const Aws::String & GetTaskRoleArn() const
void SetEphemeralStorage(const EcsEphemeralStorage &value)
void SetTaskRoleArn(const char *value)
EcsTaskOverride & AddInferenceAcceleratorOverrides(const EcsInferenceAcceleratorOverride &value)
void SetCpu(const char *value)
const EcsEphemeralStorage & GetEphemeralStorage() const
const Aws::String & GetMemory() const
EcsTaskOverride & WithCpu(const Aws::String &value)
bool ExecutionRoleArnHasBeenSet() const
EcsTaskOverride & AddContainerOverrides(EcsContainerOverride &&value)
EcsTaskOverride & WithEphemeralStorage(EcsEphemeralStorage &&value)
const Aws::String & GetCpu() const
EcsTaskOverride & WithMemory(const char *value)
void SetContainerOverrides(Aws::Vector< EcsContainerOverride > &&value)
bool CpuHasBeenSet() const
EcsTaskOverride & AddInferenceAcceleratorOverrides(EcsInferenceAcceleratorOverride &&value)
EcsTaskOverride & WithExecutionRoleArn(const char *value)
EcsTaskOverride & WithContainerOverrides(Aws::Vector< EcsContainerOverride > &&value)
void SetTaskRoleArn(Aws::String &&value)
EcsTaskOverride & WithContainerOverrides(const Aws::Vector< EcsContainerOverride > &value)
EcsTaskOverride & WithInferenceAcceleratorOverrides(Aws::Vector< EcsInferenceAcceleratorOverride > &&value)
void SetTaskRoleArn(const Aws::String &value)
void SetMemory(const char *value)
EcsTaskOverride & WithExecutionRoleArn(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