7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/EphemeralStorage.h>
9#include <aws/batch/model/FargatePlatformConfiguration.h>
10#include <aws/batch/model/KeyValuePair.h>
11#include <aws/batch/model/LinuxParameters.h>
12#include <aws/batch/model/LogConfiguration.h>
13#include <aws/batch/model/MountPoint.h>
14#include <aws/batch/model/NetworkConfiguration.h>
15#include <aws/batch/model/RepositoryCredentials.h>
16#include <aws/batch/model/ResourceRequirement.h>
17#include <aws/batch/model/RuntimePlatform.h>
18#include <aws/batch/model/Secret.h>
19#include <aws/batch/model/Ulimit.h>
20#include <aws/batch/model/Volume.h>
21#include <aws/core/utils/memory/stl/AWSString.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
83 template <
typename ImageT = Aws::String>
85 m_imageHasBeenSet =
true;
86 m_image = std::forward<ImageT>(value);
88 template <
typename ImageT = Aws::String>
90 SetImage(std::forward<ImageT>(value));
109 template <
typename CommandT = Aws::Vector<Aws::String>>
111 m_commandHasBeenSet =
true;
112 m_command = std::forward<CommandT>(value);
114 template <
typename CommandT = Aws::Vector<Aws::String>>
119 template <
typename CommandT = Aws::String>
121 m_commandHasBeenSet =
true;
122 m_command.emplace_back(std::forward<CommandT>(value));
137 template <
typename JobRoleArnT = Aws::String>
139 m_jobRoleArnHasBeenSet =
true;
140 m_jobRoleArn = std::forward<JobRoleArnT>(value);
142 template <
typename JobRoleArnT = Aws::String>
159 template <
typename ExecutionRoleArnT = Aws::String>
161 m_executionRoleArnHasBeenSet =
true;
162 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
164 template <
typename ExecutionRoleArnT = Aws::String>
177 template <
typename VolumesT = Aws::Vector<Volume>>
179 m_volumesHasBeenSet =
true;
180 m_volumes = std::forward<VolumesT>(value);
182 template <
typename VolumesT = Aws::Vector<Volume>>
187 template <
typename VolumesT = Volume>
189 m_volumesHasBeenSet =
true;
190 m_volumes.emplace_back(std::forward<VolumesT>(value));
211 template <
typename EnvironmentT = Aws::Vector<KeyValuePair>>
213 m_environmentHasBeenSet =
true;
214 m_environment = std::forward<EnvironmentT>(value);
216 template <
typename EnvironmentT = Aws::Vector<KeyValuePair>>
221 template <
typename EnvironmentT = KeyValuePair>
223 m_environmentHasBeenSet =
true;
224 m_environment.emplace_back(std::forward<EnvironmentT>(value));
241 template <
typename MountPo
intsT = Aws::Vector<MountPo
int>>
243 m_mountPointsHasBeenSet =
true;
244 m_mountPoints = std::forward<MountPointsT>(value);
246 template <
typename MountPo
intsT = Aws::Vector<MountPo
int>>
251 template <
typename MountPo
intsT = MountPo
int>
253 m_mountPointsHasBeenSet =
true;
254 m_mountPoints.emplace_back(std::forward<MountPointsT>(value));
271 m_readonlyRootFilesystemHasBeenSet =
true;
272 m_readonlyRootFilesystem = value;
297 m_privilegedHasBeenSet =
true;
298 m_privileged = value;
320 template <
typename UlimitsT = Aws::Vector<Ulimit>>
322 m_ulimitsHasBeenSet =
true;
323 m_ulimits = std::forward<UlimitsT>(value);
325 template <
typename UlimitsT = Aws::Vector<Ulimit>>
330 template <
typename UlimitsT = Ulimit>
332 m_ulimitsHasBeenSet =
true;
333 m_ulimits.emplace_back(std::forward<UlimitsT>(value));
350 template <
typename UserT = Aws::String>
352 m_userHasBeenSet =
true;
353 m_user = std::forward<UserT>(value);
355 template <
typename UserT = Aws::String>
357 SetUser(std::forward<UserT>(value));
371 template <
typename InstanceTypeT = Aws::String>
373 m_instanceTypeHasBeenSet =
true;
374 m_instanceType = std::forward<InstanceTypeT>(value);
376 template <
typename InstanceTypeT = Aws::String>
391 template <
typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
393 m_resourceRequirementsHasBeenSet =
true;
394 m_resourceRequirements = std::forward<ResourceRequirementsT>(value);
396 template <
typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
401 template <
typename ResourceRequirementsT = ResourceRequirement>
403 m_resourceRequirementsHasBeenSet =
true;
404 m_resourceRequirements.emplace_back(std::forward<ResourceRequirementsT>(value));
416 template <
typename LinuxParametersT = LinuxParameters>
418 m_linuxParametersHasBeenSet =
true;
419 m_linuxParameters = std::forward<LinuxParametersT>(value);
421 template <
typename LinuxParametersT = LinuxParameters>
463 template <
typename LogConfigurationT = LogConfiguration>
465 m_logConfigurationHasBeenSet =
true;
466 m_logConfiguration = std::forward<LogConfigurationT>(value);
468 template <
typename LogConfigurationT = LogConfiguration>
483 template <
typename SecretsT = Aws::Vector<Secret>>
485 m_secretsHasBeenSet =
true;
486 m_secrets = std::forward<SecretsT>(value);
488 template <
typename SecretsT = Aws::Vector<Secret>>
493 template <
typename SecretsT = Secret>
495 m_secretsHasBeenSet =
true;
496 m_secrets.emplace_back(std::forward<SecretsT>(value));
509 template <
typename NetworkConfigurationT = NetworkConfiguration>
511 m_networkConfigurationHasBeenSet =
true;
512 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
514 template <
typename NetworkConfigurationT = NetworkConfiguration>
529 template <
typename FargatePlatformConfigurationT = FargatePlatformConfiguration>
531 m_fargatePlatformConfigurationHasBeenSet =
true;
532 m_fargatePlatformConfiguration = std::forward<FargatePlatformConfigurationT>(value);
534 template <
typename FargatePlatformConfigurationT = FargatePlatformConfiguration>
550 m_enableExecuteCommandHasBeenSet =
true;
551 m_enableExecuteCommand = value;
567 template <
typename EphemeralStorageT = EphemeralStorage>
569 m_ephemeralStorageHasBeenSet =
true;
570 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
572 template <
typename EphemeralStorageT = EphemeralStorage>
586 template <
typename RuntimePlatformT = RuntimePlatform>
588 m_runtimePlatformHasBeenSet =
true;
589 m_runtimePlatform = std::forward<RuntimePlatformT>(value);
591 template <
typename RuntimePlatformT = RuntimePlatform>
604 template <
typename RepositoryCredentialsT = RepositoryCredentials>
606 m_repositoryCredentialsHasBeenSet =
true;
607 m_repositoryCredentials = std::forward<RepositoryCredentialsT>(value);
609 template <
typename RepositoryCredentialsT = RepositoryCredentials>
630 bool m_readonlyRootFilesystem{
false};
632 bool m_privileged{
false};
642 LinuxParameters m_linuxParameters;
644 LogConfiguration m_logConfiguration;
648 NetworkConfiguration m_networkConfiguration;
650 FargatePlatformConfiguration m_fargatePlatformConfiguration;
652 bool m_enableExecuteCommand{
false};
654 EphemeralStorage m_ephemeralStorage;
656 RuntimePlatform m_runtimePlatform;
658 RepositoryCredentials m_repositoryCredentials;
659 bool m_imageHasBeenSet =
false;
660 bool m_commandHasBeenSet =
false;
661 bool m_jobRoleArnHasBeenSet =
false;
662 bool m_executionRoleArnHasBeenSet =
false;
663 bool m_volumesHasBeenSet =
false;
664 bool m_environmentHasBeenSet =
false;
665 bool m_mountPointsHasBeenSet =
false;
666 bool m_readonlyRootFilesystemHasBeenSet =
false;
667 bool m_privilegedHasBeenSet =
false;
668 bool m_ulimitsHasBeenSet =
false;
669 bool m_userHasBeenSet =
false;
670 bool m_instanceTypeHasBeenSet =
false;
671 bool m_resourceRequirementsHasBeenSet =
false;
672 bool m_linuxParametersHasBeenSet =
false;
673 bool m_logConfigurationHasBeenSet =
false;
674 bool m_secretsHasBeenSet =
false;
675 bool m_networkConfigurationHasBeenSet =
false;
676 bool m_fargatePlatformConfigurationHasBeenSet =
false;
677 bool m_enableExecuteCommandHasBeenSet =
false;
678 bool m_ephemeralStorageHasBeenSet =
false;
679 bool m_runtimePlatformHasBeenSet =
false;
680 bool m_repositoryCredentialsHasBeenSet =
false;
const Aws::String & GetExecutionRoleArn() const
bool LinuxParametersHasBeenSet() const
AWS_BATCH_API ContainerProperties(Aws::Utils::Json::JsonView jsonValue)
ContainerProperties & WithLogConfiguration(LogConfigurationT &&value)
const Aws::Vector< Ulimit > & GetUlimits() const
void SetResourceRequirements(ResourceRequirementsT &&value)
ContainerProperties & WithVolumes(VolumesT &&value)
ContainerProperties & WithExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_BATCH_API ContainerProperties()=default
const Aws::String & GetInstanceType() const
bool UlimitsHasBeenSet() const
const RuntimePlatform & GetRuntimePlatform() const
void SetLogConfiguration(LogConfigurationT &&value)
void SetUser(UserT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
ContainerProperties & WithUlimits(UlimitsT &&value)
ContainerProperties & AddEnvironment(EnvironmentT &&value)
ContainerProperties & WithReadonlyRootFilesystem(bool value)
ContainerProperties & AddMountPoints(MountPointsT &&value)
ContainerProperties & WithSecrets(SecretsT &&value)
bool VolumesHasBeenSet() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
void SetCommand(CommandT &&value)
void SetEphemeralStorage(EphemeralStorageT &&value)
const Aws::String & GetJobRoleArn() const
bool InstanceTypeHasBeenSet() const
void SetJobRoleArn(JobRoleArnT &&value)
ContainerProperties & WithResourceRequirements(ResourceRequirementsT &&value)
AWS_BATCH_API ContainerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
bool EnableExecuteCommandHasBeenSet() const
ContainerProperties & AddResourceRequirements(ResourceRequirementsT &&value)
const Aws::String & GetImage() const
const Aws::Vector< Volume > & GetVolumes() const
bool GetReadonlyRootFilesystem() const
bool RepositoryCredentialsHasBeenSet() const
const LogConfiguration & GetLogConfiguration() const
const Aws::Vector< MountPoint > & GetMountPoints() const
bool EphemeralStorageHasBeenSet() const
const Aws::Vector< KeyValuePair > & GetEnvironment() const
bool ExecutionRoleArnHasBeenSet() const
bool LogConfigurationHasBeenSet() const
const FargatePlatformConfiguration & GetFargatePlatformConfiguration() const
ContainerProperties & WithJobRoleArn(JobRoleArnT &&value)
bool CommandHasBeenSet() const
bool SecretsHasBeenSet() const
bool NetworkConfigurationHasBeenSet() const
bool ImageHasBeenSet() const
void SetSecrets(SecretsT &&value)
ContainerProperties & WithInstanceType(InstanceTypeT &&value)
ContainerProperties & WithEnvironment(EnvironmentT &&value)
ContainerProperties & WithLinuxParameters(LinuxParametersT &&value)
ContainerProperties & WithUser(UserT &&value)
bool GetPrivileged() const
void SetInstanceType(InstanceTypeT &&value)
void SetPrivileged(bool value)
ContainerProperties & WithFargatePlatformConfiguration(FargatePlatformConfigurationT &&value)
const EphemeralStorage & GetEphemeralStorage() const
ContainerProperties & WithMountPoints(MountPointsT &&value)
ContainerProperties & WithRuntimePlatform(RuntimePlatformT &&value)
ContainerProperties & WithCommand(CommandT &&value)
bool GetEnableExecuteCommand() const
void SetUlimits(UlimitsT &&value)
ContainerProperties & AddSecrets(SecretsT &&value)
void SetLinuxParameters(LinuxParametersT &&value)
const LinuxParameters & GetLinuxParameters() const
const RepositoryCredentials & GetRepositoryCredentials() const
const Aws::Vector< Secret > & GetSecrets() const
void SetFargatePlatformConfiguration(FargatePlatformConfigurationT &&value)
void SetRepositoryCredentials(RepositoryCredentialsT &&value)
const Aws::String & GetUser() const
bool FargatePlatformConfigurationHasBeenSet() const
void SetEnableExecuteCommand(bool value)
bool MountPointsHasBeenSet() const
bool RuntimePlatformHasBeenSet() const
ContainerProperties & WithNetworkConfiguration(NetworkConfigurationT &&value)
ContainerProperties & WithImage(ImageT &&value)
bool JobRoleArnHasBeenSet() const
bool UserHasBeenSet() const
bool ResourceRequirementsHasBeenSet() const
void SetRuntimePlatform(RuntimePlatformT &&value)
void SetReadonlyRootFilesystem(bool value)
const NetworkConfiguration & GetNetworkConfiguration() const
ContainerProperties & AddUlimits(UlimitsT &&value)
bool ReadonlyRootFilesystemHasBeenSet() const
void SetImage(ImageT &&value)
ContainerProperties & WithRepositoryCredentials(RepositoryCredentialsT &&value)
bool PrivilegedHasBeenSet() const
ContainerProperties & WithEphemeralStorage(EphemeralStorageT &&value)
void SetVolumes(VolumesT &&value)
ContainerProperties & AddCommand(CommandT &&value)
ContainerProperties & WithPrivileged(bool value)
void SetMountPoints(MountPointsT &&value)
ContainerProperties & AddVolumes(VolumesT &&value)
bool EnvironmentHasBeenSet() const
ContainerProperties & WithEnableExecuteCommand(bool value)
void SetEnvironment(EnvironmentT &&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