AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainerProperties.h
1
6#pragma once
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>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace Batch
36{
37namespace Model
38{
39
48 {
49 public:
50 AWS_BATCH_API ContainerProperties();
53 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
87 inline const Aws::String& GetImage() const{ return m_image; }
88 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
89 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
90 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
91 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
92 inline ContainerProperties& WithImage(const Aws::String& value) { SetImage(value); return *this;}
93 inline ContainerProperties& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
94 inline ContainerProperties& WithImage(const char* value) { SetImage(value); return *this;}
96
98
109 inline const Aws::Vector<Aws::String>& GetCommand() const{ return m_command; }
110 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
111 inline void SetCommand(const Aws::Vector<Aws::String>& value) { m_commandHasBeenSet = true; m_command = value; }
112 inline void SetCommand(Aws::Vector<Aws::String>&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
113 inline ContainerProperties& WithCommand(const Aws::Vector<Aws::String>& value) { SetCommand(value); return *this;}
114 inline ContainerProperties& WithCommand(Aws::Vector<Aws::String>&& value) { SetCommand(std::move(value)); return *this;}
115 inline ContainerProperties& AddCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
116 inline ContainerProperties& AddCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command.push_back(std::move(value)); return *this; }
117 inline ContainerProperties& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
119
121
128 inline const Aws::String& GetJobRoleArn() const{ return m_jobRoleArn; }
129 inline bool JobRoleArnHasBeenSet() const { return m_jobRoleArnHasBeenSet; }
130 inline void SetJobRoleArn(const Aws::String& value) { m_jobRoleArnHasBeenSet = true; m_jobRoleArn = value; }
131 inline void SetJobRoleArn(Aws::String&& value) { m_jobRoleArnHasBeenSet = true; m_jobRoleArn = std::move(value); }
132 inline void SetJobRoleArn(const char* value) { m_jobRoleArnHasBeenSet = true; m_jobRoleArn.assign(value); }
133 inline ContainerProperties& WithJobRoleArn(const Aws::String& value) { SetJobRoleArn(value); return *this;}
134 inline ContainerProperties& WithJobRoleArn(Aws::String&& value) { SetJobRoleArn(std::move(value)); return *this;}
135 inline ContainerProperties& WithJobRoleArn(const char* value) { SetJobRoleArn(value); return *this;}
137
139
146 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
147 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
148 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
149 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
150 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
151 inline ContainerProperties& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
152 inline ContainerProperties& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
153 inline ContainerProperties& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
155
157
160 inline const Aws::Vector<Volume>& GetVolumes() const{ return m_volumes; }
161 inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; }
162 inline void SetVolumes(const Aws::Vector<Volume>& value) { m_volumesHasBeenSet = true; m_volumes = value; }
163 inline void SetVolumes(Aws::Vector<Volume>&& value) { m_volumesHasBeenSet = true; m_volumes = std::move(value); }
164 inline ContainerProperties& WithVolumes(const Aws::Vector<Volume>& value) { SetVolumes(value); return *this;}
165 inline ContainerProperties& WithVolumes(Aws::Vector<Volume>&& value) { SetVolumes(std::move(value)); return *this;}
166 inline ContainerProperties& AddVolumes(const Volume& value) { m_volumesHasBeenSet = true; m_volumes.push_back(value); return *this; }
167 inline ContainerProperties& AddVolumes(Volume&& value) { m_volumesHasBeenSet = true; m_volumes.push_back(std::move(value)); return *this; }
169
171
184 inline const Aws::Vector<KeyValuePair>& GetEnvironment() const{ return m_environment; }
185 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
186 inline void SetEnvironment(const Aws::Vector<KeyValuePair>& value) { m_environmentHasBeenSet = true; m_environment = value; }
187 inline void SetEnvironment(Aws::Vector<KeyValuePair>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
189 inline ContainerProperties& WithEnvironment(Aws::Vector<KeyValuePair>&& value) { SetEnvironment(std::move(value)); return *this;}
190 inline ContainerProperties& AddEnvironment(const KeyValuePair& value) { m_environmentHasBeenSet = true; m_environment.push_back(value); return *this; }
191 inline ContainerProperties& AddEnvironment(KeyValuePair&& value) { m_environmentHasBeenSet = true; m_environment.push_back(std::move(value)); return *this; }
193
195
204 inline const Aws::Vector<MountPoint>& GetMountPoints() const{ return m_mountPoints; }
205 inline bool MountPointsHasBeenSet() const { return m_mountPointsHasBeenSet; }
206 inline void SetMountPoints(const Aws::Vector<MountPoint>& value) { m_mountPointsHasBeenSet = true; m_mountPoints = value; }
207 inline void SetMountPoints(Aws::Vector<MountPoint>&& value) { m_mountPointsHasBeenSet = true; m_mountPoints = std::move(value); }
208 inline ContainerProperties& WithMountPoints(const Aws::Vector<MountPoint>& value) { SetMountPoints(value); return *this;}
209 inline ContainerProperties& WithMountPoints(Aws::Vector<MountPoint>&& value) { SetMountPoints(std::move(value)); return *this;}
210 inline ContainerProperties& AddMountPoints(const MountPoint& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(value); return *this; }
211 inline ContainerProperties& AddMountPoints(MountPoint&& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(std::move(value)); return *this; }
213
215
223 inline bool GetReadonlyRootFilesystem() const{ return m_readonlyRootFilesystem; }
224 inline bool ReadonlyRootFilesystemHasBeenSet() const { return m_readonlyRootFilesystemHasBeenSet; }
225 inline void SetReadonlyRootFilesystem(bool value) { m_readonlyRootFilesystemHasBeenSet = true; m_readonlyRootFilesystem = value; }
228
230
243 inline bool GetPrivileged() const{ return m_privileged; }
244 inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; }
245 inline void SetPrivileged(bool value) { m_privilegedHasBeenSet = true; m_privileged = value; }
246 inline ContainerProperties& WithPrivileged(bool value) { SetPrivileged(value); return *this;}
248
250
261 inline const Aws::Vector<Ulimit>& GetUlimits() const{ return m_ulimits; }
262 inline bool UlimitsHasBeenSet() const { return m_ulimitsHasBeenSet; }
263 inline void SetUlimits(const Aws::Vector<Ulimit>& value) { m_ulimitsHasBeenSet = true; m_ulimits = value; }
264 inline void SetUlimits(Aws::Vector<Ulimit>&& value) { m_ulimitsHasBeenSet = true; m_ulimits = std::move(value); }
265 inline ContainerProperties& WithUlimits(const Aws::Vector<Ulimit>& value) { SetUlimits(value); return *this;}
266 inline ContainerProperties& WithUlimits(Aws::Vector<Ulimit>&& value) { SetUlimits(std::move(value)); return *this;}
267 inline ContainerProperties& AddUlimits(const Ulimit& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(value); return *this; }
268 inline ContainerProperties& AddUlimits(Ulimit&& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(std::move(value)); return *this; }
270
272
281 inline const Aws::String& GetUser() const{ return m_user; }
282 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
283 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
284 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
285 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
286 inline ContainerProperties& WithUser(const Aws::String& value) { SetUser(value); return *this;}
287 inline ContainerProperties& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
288 inline ContainerProperties& WithUser(const char* value) { SetUser(value); return *this;}
290
292
298 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
299 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
300 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
301 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
302 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
303 inline ContainerProperties& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
304 inline ContainerProperties& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
305 inline ContainerProperties& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
307
309
314 inline const Aws::Vector<ResourceRequirement>& GetResourceRequirements() const{ return m_resourceRequirements; }
315 inline bool ResourceRequirementsHasBeenSet() const { return m_resourceRequirementsHasBeenSet; }
316 inline void SetResourceRequirements(const Aws::Vector<ResourceRequirement>& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = value; }
317 inline void SetResourceRequirements(Aws::Vector<ResourceRequirement>&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = std::move(value); }
320 inline ContainerProperties& AddResourceRequirements(const ResourceRequirement& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(value); return *this; }
321 inline ContainerProperties& AddResourceRequirements(ResourceRequirement&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(std::move(value)); return *this; }
323
325
329 inline const LinuxParameters& GetLinuxParameters() const{ return m_linuxParameters; }
330 inline bool LinuxParametersHasBeenSet() const { return m_linuxParametersHasBeenSet; }
331 inline void SetLinuxParameters(const LinuxParameters& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = value; }
332 inline void SetLinuxParameters(LinuxParameters&& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = std::move(value); }
333 inline ContainerProperties& WithLinuxParameters(const LinuxParameters& value) { SetLinuxParameters(value); return *this;}
334 inline ContainerProperties& WithLinuxParameters(LinuxParameters&& value) { SetLinuxParameters(std::move(value)); return *this;}
336
338
370 inline const LogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
371 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
372 inline void SetLogConfiguration(const LogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
373 inline void SetLogConfiguration(LogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
375 inline ContainerProperties& WithLogConfiguration(LogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;}
377
379
384 inline const Aws::Vector<Secret>& GetSecrets() const{ return m_secrets; }
385 inline bool SecretsHasBeenSet() const { return m_secretsHasBeenSet; }
386 inline void SetSecrets(const Aws::Vector<Secret>& value) { m_secretsHasBeenSet = true; m_secrets = value; }
387 inline void SetSecrets(Aws::Vector<Secret>&& value) { m_secretsHasBeenSet = true; m_secrets = std::move(value); }
388 inline ContainerProperties& WithSecrets(const Aws::Vector<Secret>& value) { SetSecrets(value); return *this;}
389 inline ContainerProperties& WithSecrets(Aws::Vector<Secret>&& value) { SetSecrets(std::move(value)); return *this;}
390 inline ContainerProperties& AddSecrets(const Secret& value) { m_secretsHasBeenSet = true; m_secrets.push_back(value); return *this; }
391 inline ContainerProperties& AddSecrets(Secret&& value) { m_secretsHasBeenSet = true; m_secrets.push_back(std::move(value)); return *this; }
393
395
400 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
401 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
402 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
403 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
407
409
414 inline const FargatePlatformConfiguration& GetFargatePlatformConfiguration() const{ return m_fargatePlatformConfiguration; }
415 inline bool FargatePlatformConfigurationHasBeenSet() const { return m_fargatePlatformConfigurationHasBeenSet; }
416 inline void SetFargatePlatformConfiguration(const FargatePlatformConfiguration& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = value; }
417 inline void SetFargatePlatformConfiguration(FargatePlatformConfiguration&& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = std::move(value); }
421
423
428 inline const EphemeralStorage& GetEphemeralStorage() const{ return m_ephemeralStorage; }
429 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
430 inline void SetEphemeralStorage(const EphemeralStorage& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; }
431 inline void SetEphemeralStorage(EphemeralStorage&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::move(value); }
433 inline ContainerProperties& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;}
435
437
441 inline const RuntimePlatform& GetRuntimePlatform() const{ return m_runtimePlatform; }
442 inline bool RuntimePlatformHasBeenSet() const { return m_runtimePlatformHasBeenSet; }
443 inline void SetRuntimePlatform(const RuntimePlatform& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = value; }
444 inline void SetRuntimePlatform(RuntimePlatform&& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = std::move(value); }
445 inline ContainerProperties& WithRuntimePlatform(const RuntimePlatform& value) { SetRuntimePlatform(value); return *this;}
446 inline ContainerProperties& WithRuntimePlatform(RuntimePlatform&& value) { SetRuntimePlatform(std::move(value)); return *this;}
448
450
453 inline const RepositoryCredentials& GetRepositoryCredentials() const{ return m_repositoryCredentials; }
454 inline bool RepositoryCredentialsHasBeenSet() const { return m_repositoryCredentialsHasBeenSet; }
455 inline void SetRepositoryCredentials(const RepositoryCredentials& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = value; }
456 inline void SetRepositoryCredentials(RepositoryCredentials&& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = std::move(value); }
460 private:
461
462 Aws::String m_image;
463 bool m_imageHasBeenSet = false;
464
465 Aws::Vector<Aws::String> m_command;
466 bool m_commandHasBeenSet = false;
467
468 Aws::String m_jobRoleArn;
469 bool m_jobRoleArnHasBeenSet = false;
470
471 Aws::String m_executionRoleArn;
472 bool m_executionRoleArnHasBeenSet = false;
473
474 Aws::Vector<Volume> m_volumes;
475 bool m_volumesHasBeenSet = false;
476
477 Aws::Vector<KeyValuePair> m_environment;
478 bool m_environmentHasBeenSet = false;
479
480 Aws::Vector<MountPoint> m_mountPoints;
481 bool m_mountPointsHasBeenSet = false;
482
483 bool m_readonlyRootFilesystem;
484 bool m_readonlyRootFilesystemHasBeenSet = false;
485
486 bool m_privileged;
487 bool m_privilegedHasBeenSet = false;
488
489 Aws::Vector<Ulimit> m_ulimits;
490 bool m_ulimitsHasBeenSet = false;
491
492 Aws::String m_user;
493 bool m_userHasBeenSet = false;
494
495 Aws::String m_instanceType;
496 bool m_instanceTypeHasBeenSet = false;
497
498 Aws::Vector<ResourceRequirement> m_resourceRequirements;
499 bool m_resourceRequirementsHasBeenSet = false;
500
501 LinuxParameters m_linuxParameters;
502 bool m_linuxParametersHasBeenSet = false;
503
504 LogConfiguration m_logConfiguration;
505 bool m_logConfigurationHasBeenSet = false;
506
507 Aws::Vector<Secret> m_secrets;
508 bool m_secretsHasBeenSet = false;
509
510 NetworkConfiguration m_networkConfiguration;
511 bool m_networkConfigurationHasBeenSet = false;
512
513 FargatePlatformConfiguration m_fargatePlatformConfiguration;
514 bool m_fargatePlatformConfigurationHasBeenSet = false;
515
516 EphemeralStorage m_ephemeralStorage;
517 bool m_ephemeralStorageHasBeenSet = false;
518
519 RuntimePlatform m_runtimePlatform;
520 bool m_runtimePlatformHasBeenSet = false;
521
522 RepositoryCredentials m_repositoryCredentials;
523 bool m_repositoryCredentialsHasBeenSet = false;
524 };
525
526} // namespace Model
527} // namespace Batch
528} // namespace Aws
void SetRepositoryCredentials(RepositoryCredentials &&value)
const Aws::String & GetExecutionRoleArn() 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)
ContainerProperties & WithEphemeralStorage(EphemeralStorage &&value)
void SetImage(const Aws::String &value)
void SetFargatePlatformConfiguration(FargatePlatformConfiguration &&value)
const Aws::String & GetInstanceType() const
ContainerProperties & WithJobRoleArn(Aws::String &&value)
ContainerProperties & AddMountPoints(MountPoint &&value)
ContainerProperties & WithFargatePlatformConfiguration(const FargatePlatformConfiguration &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)
ContainerProperties & AddCommand(Aws::String &&value)
ContainerProperties & WithUlimits(const Aws::Vector< Ulimit > &value)
ContainerProperties & WithRuntimePlatform(RuntimePlatform &&value)
const Aws::String & GetJobRoleArn() 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::Vector< Volume > & GetVolumes() const
ContainerProperties & WithFargatePlatformConfiguration(FargatePlatformConfiguration &&value)
ContainerProperties & WithUser(Aws::String &&value)
const LogConfiguration & GetLogConfiguration() const
void SetVolumes(Aws::Vector< Volume > &&value)
const Aws::Vector< MountPoint > & GetMountPoints() const
const Aws::Vector< KeyValuePair > & GetEnvironment() const
ContainerProperties & AddEnvironment(KeyValuePair &&value)
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)
ContainerProperties & WithExecutionRoleArn(const Aws::String &value)
ContainerProperties & WithExecutionRoleArn(const char *value)
ContainerProperties & WithCommand(Aws::Vector< Aws::String > &&value)
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 SetExecutionRoleArn(const Aws::String &value)
ContainerProperties & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
const EphemeralStorage & GetEphemeralStorage() const
ContainerProperties & WithInstanceType(Aws::String &&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)
void SetRepositoryCredentials(const RepositoryCredentials &value)
void SetUlimits(Aws::Vector< Ulimit > &&value)
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)
ContainerProperties & WithUlimits(Aws::Vector< Ulimit > &&value)
ContainerProperties & WithImage(const Aws::String &value)
void SetEphemeralStorage(EphemeralStorage &&value)
void SetLinuxParameters(const LinuxParameters &value)
void SetLogConfiguration(const LogConfiguration &value)
const NetworkConfiguration & GetNetworkConfiguration() 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)
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