7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/batch/model/EphemeralStorage.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/batch/model/NetworkConfiguration.h>
12#include <aws/batch/model/RuntimePlatform.h>
13#include <aws/batch/model/TaskContainerProperties.h>
14#include <aws/batch/model/Volume.h>
89 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
110 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
136 inline void SetIpcMode(
const char* value) { m_ipcModeHasBeenSet =
true; m_ipcMode.assign(value); }
153 inline void SetTaskRoleArn(
const char* value) { m_taskRoleArnHasBeenSet =
true; m_taskRoleArn.assign(value); }
178 inline void SetPidMode(
const char* value) { m_pidModeHasBeenSet =
true; m_pidMode.assign(value); }
227 bool m_containersHasBeenSet =
false;
230 bool m_ephemeralStorageHasBeenSet =
false;
233 bool m_executionRoleArnHasBeenSet =
false;
236 bool m_platformVersionHasBeenSet =
false;
239 bool m_ipcModeHasBeenSet =
false;
242 bool m_taskRoleArnHasBeenSet =
false;
245 bool m_pidModeHasBeenSet =
false;
248 bool m_networkConfigurationHasBeenSet =
false;
251 bool m_runtimePlatformHasBeenSet =
false;
254 bool m_volumesHasBeenSet =
false;
EcsTaskProperties & WithTaskRoleArn(Aws::String &&value)
EcsTaskProperties & WithIpcMode(const char *value)
bool NetworkConfigurationHasBeenSet() const
bool TaskRoleArnHasBeenSet() const
EcsTaskProperties & WithRuntimePlatform(RuntimePlatform &&value)
EcsTaskProperties & WithVolumes(Aws::Vector< Volume > &&value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetTaskRoleArn(const char *value)
EcsTaskProperties & WithPidMode(const char *value)
EcsTaskProperties & WithExecutionRoleArn(const Aws::String &value)
EcsTaskProperties & WithEphemeralStorage(EphemeralStorage &&value)
void SetPlatformVersion(const char *value)
AWS_BATCH_API EcsTaskProperties()
EcsTaskProperties & WithExecutionRoleArn(Aws::String &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
EcsTaskProperties & WithEphemeralStorage(const EphemeralStorage &value)
bool IpcModeHasBeenSet() const
EcsTaskProperties & WithExecutionRoleArn(const char *value)
void SetVolumes(const Aws::Vector< Volume > &value)
const Aws::Vector< TaskContainerProperties > & GetContainers() const
void SetEphemeralStorage(const EphemeralStorage &value)
EcsTaskProperties & WithIpcMode(Aws::String &&value)
EcsTaskProperties & WithIpcMode(const Aws::String &value)
const Aws::Vector< Volume > & GetVolumes() const
const RuntimePlatform & GetRuntimePlatform() const
EcsTaskProperties & WithNetworkConfiguration(const NetworkConfiguration &value)
EcsTaskProperties & WithRuntimePlatform(const RuntimePlatform &value)
void SetPidMode(const char *value)
bool ContainersHasBeenSet() const
void SetContainers(Aws::Vector< TaskContainerProperties > &&value)
EcsTaskProperties & AddVolumes(const Volume &value)
AWS_BATCH_API EcsTaskProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EcsTaskProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEphemeralStorage(EphemeralStorage &&value)
bool RuntimePlatformHasBeenSet() const
bool PlatformVersionHasBeenSet() const
EcsTaskProperties & WithPlatformVersion(const Aws::String &value)
EcsTaskProperties & WithPidMode(const Aws::String &value)
void SetVolumes(Aws::Vector< Volume > &&value)
const Aws::String & GetTaskRoleArn() const
void SetPlatformVersion(const Aws::String &value)
void SetIpcMode(const Aws::String &value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
bool EphemeralStorageHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
bool PidModeHasBeenSet() const
void SetContainers(const Aws::Vector< TaskContainerProperties > &value)
void SetIpcMode(const char *value)
void SetPidMode(const Aws::String &value)
const Aws::String & GetPidMode() const
EcsTaskProperties & AddContainers(TaskContainerProperties &&value)
bool VolumesHasBeenSet() const
void SetTaskRoleArn(const Aws::String &value)
void SetTaskRoleArn(Aws::String &&value)
EcsTaskProperties & WithPlatformVersion(Aws::String &&value)
void SetExecutionRoleArn(const char *value)
EcsTaskProperties & WithTaskRoleArn(const char *value)
EcsTaskProperties & WithTaskRoleArn(const Aws::String &value)
EcsTaskProperties & WithPidMode(Aws::String &&value)
EcsTaskProperties & WithContainers(Aws::Vector< TaskContainerProperties > &&value)
void SetExecutionRoleArn(Aws::String &&value)
EcsTaskProperties & AddContainers(const TaskContainerProperties &value)
void SetPlatformVersion(Aws::String &&value)
const Aws::String & GetExecutionRoleArn() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EcsTaskProperties & WithVolumes(const Aws::Vector< Volume > &value)
const EphemeralStorage & GetEphemeralStorage() const
void SetRuntimePlatform(RuntimePlatform &&value)
void SetExecutionRoleArn(const Aws::String &value)
void SetPidMode(Aws::String &&value)
void SetIpcMode(Aws::String &&value)
void SetRuntimePlatform(const RuntimePlatform &value)
const Aws::String & GetPlatformVersion() const
EcsTaskProperties & WithNetworkConfiguration(NetworkConfiguration &&value)
EcsTaskProperties & WithPlatformVersion(const char *value)
const Aws::String & GetIpcMode() const
EcsTaskProperties & WithContainers(const Aws::Vector< TaskContainerProperties > &value)
EcsTaskProperties & AddVolumes(Volume &&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