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/TaskContainerDetails.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>
48 template <
typename ContainersT = Aws::Vector<TaskContainerDetails>>
50 m_containersHasBeenSet =
true;
51 m_containers = std::forward<ContainersT>(value);
53 template <
typename ContainersT = Aws::Vector<TaskContainerDetails>>
58 template <
typename ContainersT = TaskContainerDetails>
60 m_containersHasBeenSet =
true;
61 m_containers.emplace_back(std::forward<ContainersT>(value));
73 template <
typename ContainerInstanceArnT = Aws::String>
75 m_containerInstanceArnHasBeenSet =
true;
76 m_containerInstanceArn = std::forward<ContainerInstanceArnT>(value);
78 template <
typename ContainerInstanceArnT = Aws::String>
91 template <
typename TaskArnT = Aws::String>
93 m_taskArnHasBeenSet =
true;
94 m_taskArn = std::forward<TaskArnT>(value);
96 template <
typename TaskArnT = Aws::String>
109 template <
typename EphemeralStorageT = EphemeralStorage>
111 m_ephemeralStorageHasBeenSet =
true;
112 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
114 template <
typename EphemeralStorageT = EphemeralStorage>
130 template <
typename ExecutionRoleArnT = Aws::String>
132 m_executionRoleArnHasBeenSet =
true;
133 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
135 template <
typename ExecutionRoleArnT = Aws::String>
148 template <
typename PlatformVersionT = Aws::String>
150 m_platformVersionHasBeenSet =
true;
151 m_platformVersion = std::forward<PlatformVersionT>(value);
153 template <
typename PlatformVersionT = Aws::String>
169 template <
typename IpcModeT = Aws::String>
171 m_ipcModeHasBeenSet =
true;
172 m_ipcMode = std::forward<IpcModeT>(value);
174 template <
typename IpcModeT = Aws::String>
193 template <
typename TaskRoleArnT = Aws::String>
195 m_taskRoleArnHasBeenSet =
true;
196 m_taskRoleArn = std::forward<TaskRoleArnT>(value);
198 template <
typename TaskRoleArnT = Aws::String>
214 template <
typename P
idModeT = Aws::String>
216 m_pidModeHasBeenSet =
true;
217 m_pidMode = std::forward<PidModeT>(value);
219 template <
typename P
idModeT = Aws::String>
234 template <
typename NetworkConfigurationT = NetworkConfiguration>
236 m_networkConfigurationHasBeenSet =
true;
237 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
239 template <
typename NetworkConfigurationT = NetworkConfiguration>
253 template <
typename RuntimePlatformT = RuntimePlatform>
255 m_runtimePlatformHasBeenSet =
true;
256 m_runtimePlatform = std::forward<RuntimePlatformT>(value);
258 template <
typename RuntimePlatformT = RuntimePlatform>
271 template <
typename VolumesT = Aws::Vector<Volume>>
273 m_volumesHasBeenSet =
true;
274 m_volumes = std::forward<VolumesT>(value);
276 template <
typename VolumesT = Aws::Vector<Volume>>
281 template <
typename VolumesT = Volume>
283 m_volumesHasBeenSet =
true;
284 m_volumes.emplace_back(std::forward<VolumesT>(value));
298 m_enableExecuteCommandHasBeenSet =
true;
299 m_enableExecuteCommand = value;
331 bool m_enableExecuteCommand{
false};
332 bool m_containersHasBeenSet =
false;
333 bool m_containerInstanceArnHasBeenSet =
false;
334 bool m_taskArnHasBeenSet =
false;
335 bool m_ephemeralStorageHasBeenSet =
false;
336 bool m_executionRoleArnHasBeenSet =
false;
337 bool m_platformVersionHasBeenSet =
false;
338 bool m_ipcModeHasBeenSet =
false;
339 bool m_taskRoleArnHasBeenSet =
false;
340 bool m_pidModeHasBeenSet =
false;
341 bool m_networkConfigurationHasBeenSet =
false;
342 bool m_runtimePlatformHasBeenSet =
false;
343 bool m_volumesHasBeenSet =
false;
344 bool m_enableExecuteCommandHasBeenSet =
false;
const Aws::String & GetPidMode() const
void SetTaskRoleArn(TaskRoleArnT &&value)
EcsTaskDetails & WithTaskRoleArn(TaskRoleArnT &&value)
bool RuntimePlatformHasBeenSet() const
const Aws::String & GetTaskRoleArn() const
void SetEnableExecuteCommand(bool value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EcsTaskDetails & WithContainers(ContainersT &&value)
AWS_BATCH_API EcsTaskDetails()=default
bool TaskRoleArnHasBeenSet() const
bool VolumesHasBeenSet() const
void SetEphemeralStorage(EphemeralStorageT &&value)
bool IpcModeHasBeenSet() const
void SetNetworkConfiguration(NetworkConfigurationT &&value)
const RuntimePlatform & GetRuntimePlatform() const
const Aws::String & GetIpcMode() const
const Aws::String & GetContainerInstanceArn() const
void SetTaskArn(TaskArnT &&value)
bool ContainerInstanceArnHasBeenSet() const
EcsTaskDetails & WithTaskArn(TaskArnT &&value)
const Aws::Vector< Volume > & GetVolumes() const
const EphemeralStorage & GetEphemeralStorage() const
void SetRuntimePlatform(RuntimePlatformT &&value)
bool EphemeralStorageHasBeenSet() const
AWS_BATCH_API EcsTaskDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPlatformVersion() const
bool TaskArnHasBeenSet() const
EcsTaskDetails & WithEnableExecuteCommand(bool value)
const Aws::String & GetTaskArn() const
EcsTaskDetails & AddVolumes(VolumesT &&value)
EcsTaskDetails & WithContainerInstanceArn(ContainerInstanceArnT &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
EcsTaskDetails & WithIpcMode(IpcModeT &&value)
EcsTaskDetails & AddContainers(ContainersT &&value)
void SetContainerInstanceArn(ContainerInstanceArnT &&value)
EcsTaskDetails & WithRuntimePlatform(RuntimePlatformT &&value)
bool NetworkConfigurationHasBeenSet() const
void SetPlatformVersion(PlatformVersionT &&value)
EcsTaskDetails & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetVolumes(VolumesT &&value)
EcsTaskDetails & WithNetworkConfiguration(NetworkConfigurationT &&value)
AWS_BATCH_API EcsTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TaskContainerDetails > & GetContainers() const
bool PidModeHasBeenSet() const
void SetContainers(ContainersT &&value)
EcsTaskDetails & WithPlatformVersion(PlatformVersionT &&value)
bool ExecutionRoleArnHasBeenSet() const
EcsTaskDetails & WithEphemeralStorage(EphemeralStorageT &&value)
EcsTaskDetails & WithVolumes(VolumesT &&value)
bool ContainersHasBeenSet() const
const Aws::String & GetExecutionRoleArn() const
bool EnableExecuteCommandHasBeenSet() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
bool PlatformVersionHasBeenSet() const
EcsTaskDetails & WithPidMode(PidModeT &&value)
void SetPidMode(PidModeT &&value)
void SetIpcMode(IpcModeT &&value)
bool GetEnableExecuteCommand() 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