7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/batch/model/LinuxParameters.h>
11#include <aws/batch/model/LogConfiguration.h>
12#include <aws/batch/model/NetworkConfiguration.h>
13#include <aws/batch/model/FargatePlatformConfiguration.h>
14#include <aws/batch/model/EphemeralStorage.h>
15#include <aws/batch/model/RuntimePlatform.h>
16#include <aws/batch/model/RepositoryCredentials.h>
17#include <aws/batch/model/Volume.h>
18#include <aws/batch/model/KeyValuePair.h>
19#include <aws/batch/model/MountPoint.h>
20#include <aws/batch/model/Ulimit.h>
21#include <aws/batch/model/ResourceRequirement.h>
22#include <aws/batch/model/Secret.h>
91 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
132 inline void SetJobRoleArn(
const char* value) { m_jobRoleArnHasBeenSet =
true; m_jobRoleArn.assign(value); }
150 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
245 inline void SetPrivileged(
bool value) { m_privilegedHasBeenSet =
true; m_privileged = value; }
285 inline void SetUser(
const char* value) { m_userHasBeenSet =
true; m_user.assign(value); }
302 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
463 bool m_imageHasBeenSet =
false;
466 bool m_commandHasBeenSet =
false;
469 bool m_jobRoleArnHasBeenSet =
false;
472 bool m_executionRoleArnHasBeenSet =
false;
475 bool m_volumesHasBeenSet =
false;
478 bool m_environmentHasBeenSet =
false;
481 bool m_mountPointsHasBeenSet =
false;
483 bool m_readonlyRootFilesystem;
484 bool m_readonlyRootFilesystemHasBeenSet =
false;
487 bool m_privilegedHasBeenSet =
false;
490 bool m_ulimitsHasBeenSet =
false;
493 bool m_userHasBeenSet =
false;
496 bool m_instanceTypeHasBeenSet =
false;
499 bool m_resourceRequirementsHasBeenSet =
false;
502 bool m_linuxParametersHasBeenSet =
false;
505 bool m_logConfigurationHasBeenSet =
false;
508 bool m_secretsHasBeenSet =
false;
511 bool m_networkConfigurationHasBeenSet =
false;
514 bool m_fargatePlatformConfigurationHasBeenSet =
false;
517 bool m_ephemeralStorageHasBeenSet =
false;
520 bool m_runtimePlatformHasBeenSet =
false;
523 bool m_repositoryCredentialsHasBeenSet =
false;
void SetRepositoryCredentials(RepositoryCredentials &&value)
const Aws::String & GetExecutionRoleArn() const
bool LinuxParametersHasBeenSet() const
void SetExecutionRoleArn(Aws::String &&value)
ContainerProperties & WithRepositoryCredentials(RepositoryCredentials &&value)
AWS_BATCH_API ContainerProperties(Aws::Utils::Json::JsonView jsonValue)
ContainerProperties & AddMountPoints(const MountPoint &value)
void SetUser(const Aws::String &value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
ContainerProperties & WithUser(const Aws::String &value)
const Aws::Vector< Ulimit > & GetUlimits() const
ContainerProperties & AddResourceRequirements(ResourceRequirement &&value)
ContainerProperties & WithLinuxParameters(const LinuxParameters &value)
ContainerProperties & WithNetworkConfiguration(const NetworkConfiguration &value)
void SetImage(const char *value)
ContainerProperties & WithEphemeralStorage(EphemeralStorage &&value)
void SetImage(const Aws::String &value)
void SetUser(const char *value)
void SetFargatePlatformConfiguration(FargatePlatformConfiguration &&value)
void SetUser(Aws::String &&value)
const Aws::String & GetInstanceType() const
ContainerProperties & WithJobRoleArn(Aws::String &&value)
bool UlimitsHasBeenSet() const
ContainerProperties & AddMountPoints(MountPoint &&value)
ContainerProperties & WithFargatePlatformConfiguration(const FargatePlatformConfiguration &value)
void SetInstanceType(const char *value)
const RuntimePlatform & GetRuntimePlatform() const
ContainerProperties & WithSecrets(Aws::Vector< Secret > &&value)
ContainerProperties & WithImage(const char *value)
void SetCommand(Aws::Vector< Aws::String > &&value)
void SetLogConfiguration(LogConfiguration &&value)
ContainerProperties & WithReadonlyRootFilesystem(bool value)
ContainerProperties & WithMountPoints(const Aws::Vector< MountPoint > &value)
ContainerProperties & WithSecrets(const Aws::Vector< Secret > &value)
void SetEphemeralStorage(const EphemeralStorage &value)
ContainerProperties & AddSecrets(const Secret &value)
ContainerProperties & AddVolumes(Volume &&value)
bool VolumesHasBeenSet() const
ContainerProperties & AddCommand(Aws::String &&value)
ContainerProperties & WithUlimits(const Aws::Vector< Ulimit > &value)
ContainerProperties & WithRuntimePlatform(RuntimePlatform &&value)
const Aws::String & GetJobRoleArn() const
bool InstanceTypeHasBeenSet() const
ContainerProperties & WithEphemeralStorage(const EphemeralStorage &value)
ContainerProperties & WithCommand(const Aws::Vector< Aws::String > &value)
AWS_BATCH_API ContainerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerProperties & AddCommand(const Aws::String &value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
ContainerProperties & AddResourceRequirements(const ResourceRequirement &value)
const Aws::String & GetImage() const
const Aws::Vector< Volume > & GetVolumes() const
ContainerProperties & WithFargatePlatformConfiguration(FargatePlatformConfiguration &&value)
bool GetReadonlyRootFilesystem() const
ContainerProperties & WithUser(Aws::String &&value)
bool RepositoryCredentialsHasBeenSet() const
const LogConfiguration & GetLogConfiguration() const
void SetVolumes(Aws::Vector< Volume > &&value)
const Aws::Vector< MountPoint > & GetMountPoints() const
bool EphemeralStorageHasBeenSet() const
const Aws::Vector< KeyValuePair > & GetEnvironment() const
bool ExecutionRoleArnHasBeenSet() const
ContainerProperties & AddEnvironment(KeyValuePair &&value)
bool LogConfigurationHasBeenSet() const
const FargatePlatformConfiguration & GetFargatePlatformConfiguration() const
void SetRuntimePlatform(const RuntimePlatform &value)
void SetUlimits(const Aws::Vector< Ulimit > &value)
ContainerProperties & AddCommand(const char *value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
bool CommandHasBeenSet() const
ContainerProperties & WithExecutionRoleArn(const Aws::String &value)
bool SecretsHasBeenSet() const
bool NetworkConfigurationHasBeenSet() const
ContainerProperties & WithExecutionRoleArn(const char *value)
ContainerProperties & WithCommand(Aws::Vector< Aws::String > &&value)
bool ImageHasBeenSet() const
ContainerProperties & AddVolumes(const Volume &value)
ContainerProperties & AddUlimits(const Ulimit &value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
ContainerProperties & WithVolumes(Aws::Vector< Volume > &&value)
void SetMountPoints(Aws::Vector< MountPoint > &&value)
ContainerProperties & WithNetworkConfiguration(NetworkConfiguration &&value)
void SetSecrets(const Aws::Vector< Secret > &value)
ContainerProperties & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
void SetMountPoints(const Aws::Vector< MountPoint > &value)
void SetJobRoleArn(Aws::String &&value)
bool GetPrivileged() const
void SetExecutionRoleArn(const Aws::String &value)
void SetPrivileged(bool value)
ContainerProperties & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
const EphemeralStorage & GetEphemeralStorage() const
ContainerProperties & WithInstanceType(Aws::String &&value)
void SetImage(Aws::String &&value)
void SetJobRoleArn(const char *value)
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
ContainerProperties & WithInstanceType(const Aws::String &value)
ContainerProperties & WithRuntimePlatform(const RuntimePlatform &value)
ContainerProperties & AddSecrets(Secret &&value)
ContainerProperties & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
ContainerProperties & WithLogConfiguration(LogConfiguration &&value)
void SetLinuxParameters(LinuxParameters &&value)
ContainerProperties & WithJobRoleArn(const Aws::String &value)
void SetCommand(const Aws::Vector< Aws::String > &value)
const LinuxParameters & GetLinuxParameters() const
void SetVolumes(const Aws::Vector< Volume > &value)
ContainerProperties & WithLinuxParameters(LinuxParameters &&value)
ContainerProperties & WithVolumes(const Aws::Vector< Volume > &value)
void SetJobRoleArn(const Aws::String &value)
ContainerProperties & WithExecutionRoleArn(Aws::String &&value)
void SetRuntimePlatform(RuntimePlatform &&value)
const RepositoryCredentials & GetRepositoryCredentials() const
const Aws::Vector< Secret > & GetSecrets() const
ContainerProperties & WithInstanceType(const char *value)
const Aws::String & GetUser() const
bool FargatePlatformConfigurationHasBeenSet() const
bool MountPointsHasBeenSet() const
bool RuntimePlatformHasBeenSet() const
void SetRepositoryCredentials(const RepositoryCredentials &value)
void SetUlimits(Aws::Vector< Ulimit > &&value)
AWS_BATCH_API ContainerProperties()
ContainerProperties & AddEnvironment(const KeyValuePair &value)
void SetInstanceType(const Aws::String &value)
ContainerProperties & WithImage(Aws::String &&value)
ContainerProperties & WithRepositoryCredentials(const RepositoryCredentials &value)
ContainerProperties & WithLogConfiguration(const LogConfiguration &value)
bool JobRoleArnHasBeenSet() const
bool UserHasBeenSet() const
ContainerProperties & WithUlimits(Aws::Vector< Ulimit > &&value)
ContainerProperties & WithImage(const Aws::String &value)
void SetExecutionRoleArn(const char *value)
bool ResourceRequirementsHasBeenSet() const
void SetEphemeralStorage(EphemeralStorage &&value)
void SetLinuxParameters(const LinuxParameters &value)
void SetReadonlyRootFilesystem(bool value)
void SetInstanceType(Aws::String &&value)
void SetLogConfiguration(const LogConfiguration &value)
const NetworkConfiguration & GetNetworkConfiguration() const
bool ReadonlyRootFilesystemHasBeenSet() const
bool PrivilegedHasBeenSet() const
void SetNetworkConfiguration(const NetworkConfiguration &value)
ContainerProperties & WithPrivileged(bool value)
ContainerProperties & WithMountPoints(Aws::Vector< MountPoint > &&value)
void SetSecrets(Aws::Vector< Secret > &&value)
ContainerProperties & AddUlimits(Ulimit &&value)
ContainerProperties & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
ContainerProperties & WithUser(const char *value)
void SetFargatePlatformConfiguration(const FargatePlatformConfiguration &value)
bool EnvironmentHasBeenSet() const
ContainerProperties & WithJobRoleArn(const char *value)
const Aws::Vector< Aws::String > & GetCommand() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() 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