7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/EphemeralStorage.h>
11#include <aws/batch/model/NetworkConfiguration.h>
12#include <aws/batch/model/RuntimePlatform.h>
13#include <aws/batch/model/TaskContainerDetails.h>
14#include <aws/batch/model/Volume.h>
71 inline void SetContainerInstanceArn(
const char* value) { m_containerInstanceArnHasBeenSet =
true; m_containerInstanceArn.assign(value); }
85 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
114 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
128 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
142 inline void SetIpcMode(
const char* value) { m_ipcModeHasBeenSet =
true; m_ipcMode.assign(value); }
162 inline void SetTaskRoleArn(
const char* value) { m_taskRoleArnHasBeenSet =
true; m_taskRoleArn.assign(value); }
176 inline void SetPidMode(
const char* value) { m_pidModeHasBeenSet =
true; m_pidMode.assign(value); }
225 bool m_containersHasBeenSet =
false;
228 bool m_containerInstanceArnHasBeenSet =
false;
231 bool m_taskArnHasBeenSet =
false;
234 bool m_ephemeralStorageHasBeenSet =
false;
237 bool m_executionRoleArnHasBeenSet =
false;
240 bool m_platformVersionHasBeenSet =
false;
243 bool m_ipcModeHasBeenSet =
false;
246 bool m_taskRoleArnHasBeenSet =
false;
249 bool m_pidModeHasBeenSet =
false;
252 bool m_networkConfigurationHasBeenSet =
false;
255 bool m_runtimePlatformHasBeenSet =
false;
258 bool m_volumesHasBeenSet =
false;
const Aws::String & GetPidMode() const
EcsTaskDetails & WithContainers(const Aws::Vector< TaskContainerDetails > &value)
void SetTaskRoleArn(const char *value)
EcsTaskDetails & WithVolumes(const Aws::Vector< Volume > &value)
bool RuntimePlatformHasBeenSet() const
EcsTaskDetails & WithExecutionRoleArn(const Aws::String &value)
const Aws::String & GetTaskRoleArn() const
void SetPlatformVersion(const Aws::String &value)
void SetEphemeralStorage(EphemeralStorage &&value)
void SetContainerInstanceArn(const char *value)
void SetRuntimePlatform(const RuntimePlatform &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EcsTaskDetails & WithPlatformVersion(const char *value)
EcsTaskDetails & AddVolumes(Volume &&value)
void SetTaskRoleArn(Aws::String &&value)
bool TaskRoleArnHasBeenSet() const
bool VolumesHasBeenSet() const
bool IpcModeHasBeenSet() const
void SetRuntimePlatform(RuntimePlatform &&value)
void SetExecutionRoleArn(const Aws::String &value)
const RuntimePlatform & GetRuntimePlatform() const
const Aws::String & GetIpcMode() const
const Aws::String & GetContainerInstanceArn() const
bool ContainerInstanceArnHasBeenSet() const
void SetTaskRoleArn(const Aws::String &value)
EcsTaskDetails & WithNetworkConfiguration(NetworkConfiguration &&value)
void SetTaskArn(const Aws::String &value)
EcsTaskDetails & AddContainers(TaskContainerDetails &&value)
EcsTaskDetails & WithTaskRoleArn(const Aws::String &value)
const Aws::Vector< Volume > & GetVolumes() const
const EphemeralStorage & GetEphemeralStorage() const
EcsTaskDetails & WithTaskArn(const Aws::String &value)
AWS_BATCH_API EcsTaskDetails()
void SetNetworkConfiguration(const NetworkConfiguration &value)
bool EphemeralStorageHasBeenSet() const
void SetPlatformVersion(const char *value)
AWS_BATCH_API EcsTaskDetails(Aws::Utils::Json::JsonView jsonValue)
EcsTaskDetails & WithPidMode(const Aws::String &value)
EcsTaskDetails & WithExecutionRoleArn(const char *value)
void SetPidMode(const Aws::String &value)
EcsTaskDetails & AddVolumes(const Volume &value)
const Aws::String & GetPlatformVersion() const
EcsTaskDetails & WithPidMode(Aws::String &&value)
EcsTaskDetails & WithContainerInstanceArn(const Aws::String &value)
EcsTaskDetails & WithContainerInstanceArn(Aws::String &&value)
EcsTaskDetails & WithIpcMode(Aws::String &&value)
EcsTaskDetails & WithIpcMode(const Aws::String &value)
void SetIpcMode(const Aws::String &value)
EcsTaskDetails & WithContainerInstanceArn(const char *value)
EcsTaskDetails & WithRuntimePlatform(RuntimePlatform &&value)
bool TaskArnHasBeenSet() const
void SetPlatformVersion(Aws::String &&value)
void SetContainers(Aws::Vector< TaskContainerDetails > &&value)
EcsTaskDetails & WithTaskRoleArn(Aws::String &&value)
void SetExecutionRoleArn(Aws::String &&value)
const Aws::String & GetTaskArn() const
const NetworkConfiguration & GetNetworkConfiguration() const
void SetContainers(const Aws::Vector< TaskContainerDetails > &value)
EcsTaskDetails & WithExecutionRoleArn(Aws::String &&value)
EcsTaskDetails & WithEphemeralStorage(EphemeralStorage &&value)
EcsTaskDetails & AddContainers(const TaskContainerDetails &value)
bool NetworkConfigurationHasBeenSet() const
void SetExecutionRoleArn(const char *value)
void SetPidMode(Aws::String &&value)
void SetTaskArn(Aws::String &&value)
void SetEphemeralStorage(const EphemeralStorage &value)
void SetTaskArn(const char *value)
EcsTaskDetails & WithTaskArn(const char *value)
AWS_BATCH_API EcsTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPidMode(const char *value)
EcsTaskDetails & WithIpcMode(const char *value)
const Aws::Vector< TaskContainerDetails > & GetContainers() const
void SetVolumes(Aws::Vector< Volume > &&value)
bool PidModeHasBeenSet() const
void SetContainerInstanceArn(Aws::String &&value)
bool ExecutionRoleArnHasBeenSet() const
void SetVolumes(const Aws::Vector< Volume > &value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
EcsTaskDetails & WithPlatformVersion(Aws::String &&value)
void SetContainerInstanceArn(const Aws::String &value)
bool ContainersHasBeenSet() const
EcsTaskDetails & WithVolumes(Aws::Vector< Volume > &&value)
const Aws::String & GetExecutionRoleArn() const
EcsTaskDetails & WithContainers(Aws::Vector< TaskContainerDetails > &&value)
EcsTaskDetails & WithTaskArn(Aws::String &&value)
void SetIpcMode(const char *value)
EcsTaskDetails & WithPlatformVersion(const Aws::String &value)
bool PlatformVersionHasBeenSet() const
EcsTaskDetails & WithTaskRoleArn(const char *value)
EcsTaskDetails & WithEphemeralStorage(const EphemeralStorage &value)
EcsTaskDetails & WithRuntimePlatform(const RuntimePlatform &value)
EcsTaskDetails & WithPidMode(const char *value)
void SetIpcMode(Aws::String &&value)
EcsTaskDetails & WithNetworkConfiguration(const NetworkConfiguration &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