7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/EphemeralStorage.h>
9#include <aws/batch/model/NetworkConfiguration.h>
10#include <aws/batch/model/RuntimePlatform.h>
11#include <aws/batch/model/TaskContainerProperties.h>
12#include <aws/batch/model/Volume.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename ContainersT = Aws::Vector<TaskContainerProperties>>
51 m_containersHasBeenSet =
true;
52 m_containers = std::forward<ContainersT>(value);
54 template <
typename ContainersT = Aws::Vector<TaskContainerProperties>>
59 template <
typename ContainersT = TaskContainerProperties>
61 m_containersHasBeenSet =
true;
62 m_containers.emplace_back(std::forward<ContainersT>(value));
75 template <
typename EphemeralStorageT = EphemeralStorage>
77 m_ephemeralStorageHasBeenSet =
true;
78 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
80 template <
typename EphemeralStorageT = EphemeralStorage>
97 template <
typename ExecutionRoleArnT = Aws::String>
99 m_executionRoleArnHasBeenSet =
true;
100 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
102 template <
typename ExecutionRoleArnT = Aws::String>
122 template <
typename PlatformVersionT = Aws::String>
124 m_platformVersionHasBeenSet =
true;
125 m_platformVersion = std::forward<PlatformVersionT>(value);
127 template <
typename PlatformVersionT = Aws::String>
152 template <
typename IpcModeT = Aws::String>
154 m_ipcModeHasBeenSet =
true;
155 m_ipcMode = std::forward<IpcModeT>(value);
157 template <
typename IpcModeT = Aws::String>
173 template <
typename TaskRoleArnT = Aws::String>
175 m_taskRoleArnHasBeenSet =
true;
176 m_taskRoleArn = std::forward<TaskRoleArnT>(value);
178 template <
typename TaskRoleArnT = Aws::String>
202 template <
typename P
idModeT = Aws::String>
204 m_pidModeHasBeenSet =
true;
205 m_pidMode = std::forward<PidModeT>(value);
207 template <
typename P
idModeT = Aws::String>
222 template <
typename NetworkConfigurationT = NetworkConfiguration>
224 m_networkConfigurationHasBeenSet =
true;
225 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
227 template <
typename NetworkConfigurationT = NetworkConfiguration>
241 template <
typename RuntimePlatformT = RuntimePlatform>
243 m_runtimePlatformHasBeenSet =
true;
244 m_runtimePlatform = std::forward<RuntimePlatformT>(value);
246 template <
typename RuntimePlatformT = RuntimePlatform>
259 template <
typename VolumesT = Aws::Vector<Volume>>
261 m_volumesHasBeenSet =
true;
262 m_volumes = std::forward<VolumesT>(value);
264 template <
typename VolumesT = Aws::Vector<Volume>>
269 template <
typename VolumesT = Volume>
271 m_volumesHasBeenSet =
true;
272 m_volumes.emplace_back(std::forward<VolumesT>(value));
286 m_enableExecuteCommandHasBeenSet =
true;
287 m_enableExecuteCommand = value;
315 bool m_enableExecuteCommand{
false};
316 bool m_containersHasBeenSet =
false;
317 bool m_ephemeralStorageHasBeenSet =
false;
318 bool m_executionRoleArnHasBeenSet =
false;
319 bool m_platformVersionHasBeenSet =
false;
320 bool m_ipcModeHasBeenSet =
false;
321 bool m_taskRoleArnHasBeenSet =
false;
322 bool m_pidModeHasBeenSet =
false;
323 bool m_networkConfigurationHasBeenSet =
false;
324 bool m_runtimePlatformHasBeenSet =
false;
325 bool m_volumesHasBeenSet =
false;
326 bool m_enableExecuteCommandHasBeenSet =
false;
bool NetworkConfigurationHasBeenSet() const
bool TaskRoleArnHasBeenSet() const
void SetVolumes(VolumesT &&value)
bool GetEnableExecuteCommand() const
void SetPlatformVersion(PlatformVersionT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
EcsTaskProperties & WithTaskRoleArn(TaskRoleArnT &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
bool IpcModeHasBeenSet() const
EcsTaskProperties & WithContainers(ContainersT &&value)
void SetRuntimePlatform(RuntimePlatformT &&value)
void SetContainers(ContainersT &&value)
void SetIpcMode(IpcModeT &&value)
EcsTaskProperties & WithNetworkConfiguration(NetworkConfigurationT &&value)
const Aws::Vector< TaskContainerProperties > & GetContainers() const
const Aws::Vector< Volume > & GetVolumes() const
const RuntimePlatform & GetRuntimePlatform() const
EcsTaskProperties & WithRuntimePlatform(RuntimePlatformT &&value)
EcsTaskProperties & AddContainers(ContainersT &&value)
bool ContainersHasBeenSet() const
AWS_BATCH_API EcsTaskProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EcsTaskProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EcsTaskProperties & WithEphemeralStorage(EphemeralStorageT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
EcsTaskProperties & WithIpcMode(IpcModeT &&value)
bool RuntimePlatformHasBeenSet() const
bool PlatformVersionHasBeenSet() const
const Aws::String & GetTaskRoleArn() const
void SetTaskRoleArn(TaskRoleArnT &&value)
EcsTaskProperties & AddVolumes(VolumesT &&value)
bool EphemeralStorageHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
bool PidModeHasBeenSet() const
EcsTaskProperties & WithEnableExecuteCommand(bool value)
bool EnableExecuteCommandHasBeenSet() const
void SetEnableExecuteCommand(bool value)
const Aws::String & GetPidMode() const
EcsTaskProperties & WithVolumes(VolumesT &&value)
bool VolumesHasBeenSet() const
EcsTaskProperties & WithPidMode(PidModeT &&value)
EcsTaskProperties & WithPlatformVersion(PlatformVersionT &&value)
void SetPidMode(PidModeT &&value)
const Aws::String & GetExecutionRoleArn() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const EphemeralStorage & GetEphemeralStorage() const
const Aws::String & GetPlatformVersion() const
EcsTaskProperties & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetEphemeralStorage(EphemeralStorageT &&value)
AWS_BATCH_API EcsTaskProperties()=default
const Aws::String & GetIpcMode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue