AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContainerDetail.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/NetworkInterface.h>
22#include <aws/batch/model/ResourceRequirement.h>
23#include <aws/batch/model/Secret.h>
24#include <utility>
25
26namespace Aws
27{
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33 class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace Batch
37{
38namespace Model
39{
40
48 {
49 public:
50 AWS_BATCH_API ContainerDetail() = default;
53 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
60 inline const Aws::String& GetImage() const { return m_image; }
61 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
62 template<typename ImageT = Aws::String>
63 void SetImage(ImageT&& value) { m_imageHasBeenSet = true; m_image = std::forward<ImageT>(value); }
64 template<typename ImageT = Aws::String>
65 ContainerDetail& WithImage(ImageT&& value) { SetImage(std::forward<ImageT>(value)); return *this;}
67
69
87 inline int GetVcpus() const { return m_vcpus; }
88 inline bool VcpusHasBeenSet() const { return m_vcpusHasBeenSet; }
89 inline void SetVcpus(int value) { m_vcpusHasBeenSet = true; m_vcpus = value; }
90 inline ContainerDetail& WithVcpus(int value) { SetVcpus(value); return *this;}
92
94
100 inline int GetMemory() const { return m_memory; }
101 inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; }
102 inline void SetMemory(int value) { m_memoryHasBeenSet = true; m_memory = value; }
103 inline ContainerDetail& WithMemory(int value) { SetMemory(value); return *this;}
105
107
110 inline const Aws::Vector<Aws::String>& GetCommand() const { return m_command; }
111 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
112 template<typename CommandT = Aws::Vector<Aws::String>>
113 void SetCommand(CommandT&& value) { m_commandHasBeenSet = true; m_command = std::forward<CommandT>(value); }
114 template<typename CommandT = Aws::Vector<Aws::String>>
115 ContainerDetail& WithCommand(CommandT&& value) { SetCommand(std::forward<CommandT>(value)); return *this;}
116 template<typename CommandT = Aws::String>
117 ContainerDetail& AddCommand(CommandT&& value) { m_commandHasBeenSet = true; m_command.emplace_back(std::forward<CommandT>(value)); return *this; }
119
121
124 inline const Aws::String& GetJobRoleArn() const { return m_jobRoleArn; }
125 inline bool JobRoleArnHasBeenSet() const { return m_jobRoleArnHasBeenSet; }
126 template<typename JobRoleArnT = Aws::String>
127 void SetJobRoleArn(JobRoleArnT&& value) { m_jobRoleArnHasBeenSet = true; m_jobRoleArn = std::forward<JobRoleArnT>(value); }
128 template<typename JobRoleArnT = Aws::String>
129 ContainerDetail& WithJobRoleArn(JobRoleArnT&& value) { SetJobRoleArn(std::forward<JobRoleArnT>(value)); return *this;}
131
133
139 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
140 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
141 template<typename ExecutionRoleArnT = Aws::String>
142 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
143 template<typename ExecutionRoleArnT = Aws::String>
144 ContainerDetail& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
146
148
151 inline const Aws::Vector<Volume>& GetVolumes() const { return m_volumes; }
152 inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; }
153 template<typename VolumesT = Aws::Vector<Volume>>
154 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet = true; m_volumes = std::forward<VolumesT>(value); }
155 template<typename VolumesT = Aws::Vector<Volume>>
156 ContainerDetail& WithVolumes(VolumesT&& value) { SetVolumes(std::forward<VolumesT>(value)); return *this;}
157 template<typename VolumesT = Volume>
158 ContainerDetail& AddVolumes(VolumesT&& value) { m_volumesHasBeenSet = true; m_volumes.emplace_back(std::forward<VolumesT>(value)); return *this; }
160
162
167 inline const Aws::Vector<KeyValuePair>& GetEnvironment() const { return m_environment; }
168 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
169 template<typename EnvironmentT = Aws::Vector<KeyValuePair>>
170 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
171 template<typename EnvironmentT = Aws::Vector<KeyValuePair>>
172 ContainerDetail& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
173 template<typename EnvironmentT = KeyValuePair>
174 ContainerDetail& AddEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment.emplace_back(std::forward<EnvironmentT>(value)); return *this; }
176
178
181 inline const Aws::Vector<MountPoint>& GetMountPoints() const { return m_mountPoints; }
182 inline bool MountPointsHasBeenSet() const { return m_mountPointsHasBeenSet; }
183 template<typename MountPointsT = Aws::Vector<MountPoint>>
184 void SetMountPoints(MountPointsT&& value) { m_mountPointsHasBeenSet = true; m_mountPoints = std::forward<MountPointsT>(value); }
185 template<typename MountPointsT = Aws::Vector<MountPoint>>
186 ContainerDetail& WithMountPoints(MountPointsT&& value) { SetMountPoints(std::forward<MountPointsT>(value)); return *this;}
187 template<typename MountPointsT = MountPoint>
188 ContainerDetail& AddMountPoints(MountPointsT&& value) { m_mountPointsHasBeenSet = true; m_mountPoints.emplace_back(std::forward<MountPointsT>(value)); return *this; }
190
192
202 inline bool GetReadonlyRootFilesystem() const { return m_readonlyRootFilesystem; }
203 inline bool ReadonlyRootFilesystemHasBeenSet() const { return m_readonlyRootFilesystemHasBeenSet; }
204 inline void SetReadonlyRootFilesystem(bool value) { m_readonlyRootFilesystemHasBeenSet = true; m_readonlyRootFilesystem = value; }
205 inline ContainerDetail& WithReadonlyRootFilesystem(bool value) { SetReadonlyRootFilesystem(value); return *this;}
207
209
220 inline const Aws::Vector<Ulimit>& GetUlimits() const { return m_ulimits; }
221 inline bool UlimitsHasBeenSet() const { return m_ulimitsHasBeenSet; }
222 template<typename UlimitsT = Aws::Vector<Ulimit>>
223 void SetUlimits(UlimitsT&& value) { m_ulimitsHasBeenSet = true; m_ulimits = std::forward<UlimitsT>(value); }
224 template<typename UlimitsT = Aws::Vector<Ulimit>>
225 ContainerDetail& WithUlimits(UlimitsT&& value) { SetUlimits(std::forward<UlimitsT>(value)); return *this;}
226 template<typename UlimitsT = Ulimit>
227 ContainerDetail& AddUlimits(UlimitsT&& value) { m_ulimitsHasBeenSet = true; m_ulimits.emplace_back(std::forward<UlimitsT>(value)); return *this; }
229
231
238 inline bool GetPrivileged() const { return m_privileged; }
239 inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; }
240 inline void SetPrivileged(bool value) { m_privilegedHasBeenSet = true; m_privileged = value; }
241 inline ContainerDetail& WithPrivileged(bool value) { SetPrivileged(value); return *this;}
243
245
254 inline const Aws::String& GetUser() const { return m_user; }
255 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
256 template<typename UserT = Aws::String>
257 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
258 template<typename UserT = Aws::String>
259 ContainerDetail& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
261
263
266 inline int GetExitCode() const { return m_exitCode; }
267 inline bool ExitCodeHasBeenSet() const { return m_exitCodeHasBeenSet; }
268 inline void SetExitCode(int value) { m_exitCodeHasBeenSet = true; m_exitCode = value; }
269 inline ContainerDetail& WithExitCode(int value) { SetExitCode(value); return *this;}
271
273
277 inline const Aws::String& GetReason() const { return m_reason; }
278 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
279 template<typename ReasonT = Aws::String>
280 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
281 template<typename ReasonT = Aws::String>
282 ContainerDetail& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
284
286
290 inline const Aws::String& GetContainerInstanceArn() const { return m_containerInstanceArn; }
291 inline bool ContainerInstanceArnHasBeenSet() const { return m_containerInstanceArnHasBeenSet; }
292 template<typename ContainerInstanceArnT = Aws::String>
293 void SetContainerInstanceArn(ContainerInstanceArnT&& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = std::forward<ContainerInstanceArnT>(value); }
294 template<typename ContainerInstanceArnT = Aws::String>
295 ContainerDetail& WithContainerInstanceArn(ContainerInstanceArnT&& value) { SetContainerInstanceArn(std::forward<ContainerInstanceArnT>(value)); return *this;}
297
299
304 inline const Aws::String& GetTaskArn() const { return m_taskArn; }
305 inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }
306 template<typename TaskArnT = Aws::String>
307 void SetTaskArn(TaskArnT&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::forward<TaskArnT>(value); }
308 template<typename TaskArnT = Aws::String>
309 ContainerDetail& WithTaskArn(TaskArnT&& value) { SetTaskArn(std::forward<TaskArnT>(value)); return *this;}
311
313
319 inline const Aws::String& GetLogStreamName() const { return m_logStreamName; }
320 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
321 template<typename LogStreamNameT = Aws::String>
322 void SetLogStreamName(LogStreamNameT&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::forward<LogStreamNameT>(value); }
323 template<typename LogStreamNameT = Aws::String>
324 ContainerDetail& WithLogStreamName(LogStreamNameT&& value) { SetLogStreamName(std::forward<LogStreamNameT>(value)); return *this;}
326
328
333 inline const Aws::String& GetInstanceType() const { return m_instanceType; }
334 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
335 template<typename InstanceTypeT = Aws::String>
336 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::forward<InstanceTypeT>(value); }
337 template<typename InstanceTypeT = Aws::String>
338 ContainerDetail& WithInstanceType(InstanceTypeT&& value) { SetInstanceType(std::forward<InstanceTypeT>(value)); return *this;}
340
342
345 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const { return m_networkInterfaces; }
346 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
347 template<typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
348 void SetNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::forward<NetworkInterfacesT>(value); }
349 template<typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
350 ContainerDetail& WithNetworkInterfaces(NetworkInterfacesT&& value) { SetNetworkInterfaces(std::forward<NetworkInterfacesT>(value)); return *this;}
351 template<typename NetworkInterfacesT = NetworkInterface>
352 ContainerDetail& AddNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value)); return *this; }
354
356
361 inline const Aws::Vector<ResourceRequirement>& GetResourceRequirements() const { return m_resourceRequirements; }
362 inline bool ResourceRequirementsHasBeenSet() const { return m_resourceRequirementsHasBeenSet; }
363 template<typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
364 void SetResourceRequirements(ResourceRequirementsT&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = std::forward<ResourceRequirementsT>(value); }
365 template<typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
366 ContainerDetail& WithResourceRequirements(ResourceRequirementsT&& value) { SetResourceRequirements(std::forward<ResourceRequirementsT>(value)); return *this;}
367 template<typename ResourceRequirementsT = ResourceRequirement>
368 ContainerDetail& AddResourceRequirements(ResourceRequirementsT&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.emplace_back(std::forward<ResourceRequirementsT>(value)); return *this; }
370
372
376 inline const LinuxParameters& GetLinuxParameters() const { return m_linuxParameters; }
377 inline bool LinuxParametersHasBeenSet() const { return m_linuxParametersHasBeenSet; }
378 template<typename LinuxParametersT = LinuxParameters>
379 void SetLinuxParameters(LinuxParametersT&& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = std::forward<LinuxParametersT>(value); }
380 template<typename LinuxParametersT = LinuxParameters>
381 ContainerDetail& WithLinuxParameters(LinuxParametersT&& value) { SetLinuxParameters(std::forward<LinuxParametersT>(value)); return *this;}
383
385
418 inline const LogConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
419 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
420 template<typename LogConfigurationT = LogConfiguration>
421 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
422 template<typename LogConfigurationT = LogConfiguration>
423 ContainerDetail& WithLogConfiguration(LogConfigurationT&& value) { SetLogConfiguration(std::forward<LogConfigurationT>(value)); return *this;}
425
427
432 inline const Aws::Vector<Secret>& GetSecrets() const { return m_secrets; }
433 inline bool SecretsHasBeenSet() const { return m_secretsHasBeenSet; }
434 template<typename SecretsT = Aws::Vector<Secret>>
435 void SetSecrets(SecretsT&& value) { m_secretsHasBeenSet = true; m_secrets = std::forward<SecretsT>(value); }
436 template<typename SecretsT = Aws::Vector<Secret>>
437 ContainerDetail& WithSecrets(SecretsT&& value) { SetSecrets(std::forward<SecretsT>(value)); return *this;}
438 template<typename SecretsT = Secret>
439 ContainerDetail& AddSecrets(SecretsT&& value) { m_secretsHasBeenSet = true; m_secrets.emplace_back(std::forward<SecretsT>(value)); return *this; }
441
443
448 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
449 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
450 template<typename NetworkConfigurationT = NetworkConfiguration>
451 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
452 template<typename NetworkConfigurationT = NetworkConfiguration>
453 ContainerDetail& WithNetworkConfiguration(NetworkConfigurationT&& value) { SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value)); return *this;}
455
457
462 inline const FargatePlatformConfiguration& GetFargatePlatformConfiguration() const { return m_fargatePlatformConfiguration; }
463 inline bool FargatePlatformConfigurationHasBeenSet() const { return m_fargatePlatformConfigurationHasBeenSet; }
464 template<typename FargatePlatformConfigurationT = FargatePlatformConfiguration>
465 void SetFargatePlatformConfiguration(FargatePlatformConfigurationT&& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = std::forward<FargatePlatformConfigurationT>(value); }
466 template<typename FargatePlatformConfigurationT = FargatePlatformConfiguration>
467 ContainerDetail& WithFargatePlatformConfiguration(FargatePlatformConfigurationT&& value) { SetFargatePlatformConfiguration(std::forward<FargatePlatformConfigurationT>(value)); return *this;}
469
471
476 inline const EphemeralStorage& GetEphemeralStorage() const { return m_ephemeralStorage; }
477 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
478 template<typename EphemeralStorageT = EphemeralStorage>
479 void SetEphemeralStorage(EphemeralStorageT&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::forward<EphemeralStorageT>(value); }
480 template<typename EphemeralStorageT = EphemeralStorage>
481 ContainerDetail& WithEphemeralStorage(EphemeralStorageT&& value) { SetEphemeralStorage(std::forward<EphemeralStorageT>(value)); return *this;}
483
485
489 inline const RuntimePlatform& GetRuntimePlatform() const { return m_runtimePlatform; }
490 inline bool RuntimePlatformHasBeenSet() const { return m_runtimePlatformHasBeenSet; }
491 template<typename RuntimePlatformT = RuntimePlatform>
492 void SetRuntimePlatform(RuntimePlatformT&& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = std::forward<RuntimePlatformT>(value); }
493 template<typename RuntimePlatformT = RuntimePlatform>
494 ContainerDetail& WithRuntimePlatform(RuntimePlatformT&& value) { SetRuntimePlatform(std::forward<RuntimePlatformT>(value)); return *this;}
496
498
501 inline const RepositoryCredentials& GetRepositoryCredentials() const { return m_repositoryCredentials; }
502 inline bool RepositoryCredentialsHasBeenSet() const { return m_repositoryCredentialsHasBeenSet; }
503 template<typename RepositoryCredentialsT = RepositoryCredentials>
504 void SetRepositoryCredentials(RepositoryCredentialsT&& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = std::forward<RepositoryCredentialsT>(value); }
505 template<typename RepositoryCredentialsT = RepositoryCredentials>
506 ContainerDetail& WithRepositoryCredentials(RepositoryCredentialsT&& value) { SetRepositoryCredentials(std::forward<RepositoryCredentialsT>(value)); return *this;}
508
510
515 inline bool GetEnableExecuteCommand() const { return m_enableExecuteCommand; }
516 inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
517 inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
518 inline ContainerDetail& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
520 private:
521
522 Aws::String m_image;
523 bool m_imageHasBeenSet = false;
524
525 int m_vcpus{0};
526 bool m_vcpusHasBeenSet = false;
527
528 int m_memory{0};
529 bool m_memoryHasBeenSet = false;
530
531 Aws::Vector<Aws::String> m_command;
532 bool m_commandHasBeenSet = false;
533
534 Aws::String m_jobRoleArn;
535 bool m_jobRoleArnHasBeenSet = false;
536
537 Aws::String m_executionRoleArn;
538 bool m_executionRoleArnHasBeenSet = false;
539
540 Aws::Vector<Volume> m_volumes;
541 bool m_volumesHasBeenSet = false;
542
543 Aws::Vector<KeyValuePair> m_environment;
544 bool m_environmentHasBeenSet = false;
545
546 Aws::Vector<MountPoint> m_mountPoints;
547 bool m_mountPointsHasBeenSet = false;
548
549 bool m_readonlyRootFilesystem{false};
550 bool m_readonlyRootFilesystemHasBeenSet = false;
551
552 Aws::Vector<Ulimit> m_ulimits;
553 bool m_ulimitsHasBeenSet = false;
554
555 bool m_privileged{false};
556 bool m_privilegedHasBeenSet = false;
557
558 Aws::String m_user;
559 bool m_userHasBeenSet = false;
560
561 int m_exitCode{0};
562 bool m_exitCodeHasBeenSet = false;
563
564 Aws::String m_reason;
565 bool m_reasonHasBeenSet = false;
566
567 Aws::String m_containerInstanceArn;
568 bool m_containerInstanceArnHasBeenSet = false;
569
570 Aws::String m_taskArn;
571 bool m_taskArnHasBeenSet = false;
572
573 Aws::String m_logStreamName;
574 bool m_logStreamNameHasBeenSet = false;
575
576 Aws::String m_instanceType;
577 bool m_instanceTypeHasBeenSet = false;
578
579 Aws::Vector<NetworkInterface> m_networkInterfaces;
580 bool m_networkInterfacesHasBeenSet = false;
581
582 Aws::Vector<ResourceRequirement> m_resourceRequirements;
583 bool m_resourceRequirementsHasBeenSet = false;
584
585 LinuxParameters m_linuxParameters;
586 bool m_linuxParametersHasBeenSet = false;
587
588 LogConfiguration m_logConfiguration;
589 bool m_logConfigurationHasBeenSet = false;
590
591 Aws::Vector<Secret> m_secrets;
592 bool m_secretsHasBeenSet = false;
593
594 NetworkConfiguration m_networkConfiguration;
595 bool m_networkConfigurationHasBeenSet = false;
596
597 FargatePlatformConfiguration m_fargatePlatformConfiguration;
598 bool m_fargatePlatformConfigurationHasBeenSet = false;
599
600 EphemeralStorage m_ephemeralStorage;
601 bool m_ephemeralStorageHasBeenSet = false;
602
603 RuntimePlatform m_runtimePlatform;
604 bool m_runtimePlatformHasBeenSet = false;
605
606 RepositoryCredentials m_repositoryCredentials;
607 bool m_repositoryCredentialsHasBeenSet = false;
608
609 bool m_enableExecuteCommand{false};
610 bool m_enableExecuteCommandHasBeenSet = false;
611 };
612
613} // namespace Model
614} // namespace Batch
615} // namespace Aws
const Aws::String & GetContainerInstanceArn() const
void SetNetworkConfiguration(NetworkConfigurationT &&value)
void SetContainerInstanceArn(ContainerInstanceArnT &&value)
void SetMountPoints(MountPointsT &&value)
void SetJobRoleArn(JobRoleArnT &&value)
AWS_BATCH_API ContainerDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerDetail & AddResourceRequirements(ResourceRequirementsT &&value)
void SetLogConfiguration(LogConfigurationT &&value)
const Aws::String & GetImage() const
void SetRepositoryCredentials(RepositoryCredentialsT &&value)
void SetRuntimePlatform(RuntimePlatformT &&value)
ContainerDetail & AddUlimits(UlimitsT &&value)
const Aws::String & GetExecutionRoleArn() const
ContainerDetail & WithEnvironment(EnvironmentT &&value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
void SetLinuxParameters(LinuxParametersT &&value)
void SetLogStreamName(LogStreamNameT &&value)
ContainerDetail & WithResourceRequirements(ResourceRequirementsT &&value)
const Aws::String & GetJobRoleArn() const
void SetEphemeralStorage(EphemeralStorageT &&value)
ContainerDetail & WithMemory(int value)
ContainerDetail & WithImage(ImageT &&value)
const Aws::String & GetReason() const
const Aws::Vector< Ulimit > & GetUlimits() const
ContainerDetail & AddMountPoints(MountPointsT &&value)
const Aws::String & GetTaskArn() const
const Aws::String & GetUser() const
const RepositoryCredentials & GetRepositoryCredentials() const
ContainerDetail & WithLinuxParameters(LinuxParametersT &&value)
ContainerDetail & WithLogStreamName(LogStreamNameT &&value)
ContainerDetail & WithInstanceType(InstanceTypeT &&value)
ContainerDetail & WithCommand(CommandT &&value)
ContainerDetail & WithReason(ReasonT &&value)
ContainerDetail & WithRuntimePlatform(RuntimePlatformT &&value)
const LinuxParameters & GetLinuxParameters() const
void SetInstanceType(InstanceTypeT &&value)
const Aws::Vector< Secret > & GetSecrets() const
ContainerDetail & WithRepositoryCredentials(RepositoryCredentialsT &&value)
ContainerDetail & WithTaskArn(TaskArnT &&value)
ContainerDetail & WithLogConfiguration(LogConfigurationT &&value)
ContainerDetail & WithUser(UserT &&value)
const Aws::String & GetInstanceType() const
ContainerDetail & WithJobRoleArn(JobRoleArnT &&value)
void SetFargatePlatformConfiguration(FargatePlatformConfigurationT &&value)
const LogConfiguration & GetLogConfiguration() const
const Aws::Vector< MountPoint > & GetMountPoints() const
ContainerDetail & AddEnvironment(EnvironmentT &&value)
AWS_BATCH_API ContainerDetail(Aws::Utils::Json::JsonView jsonValue)
ContainerDetail & WithEphemeralStorage(EphemeralStorageT &&value)
ContainerDetail & WithReadonlyRootFilesystem(bool value)
ContainerDetail & WithFargatePlatformConfiguration(FargatePlatformConfigurationT &&value)
ContainerDetail & AddSecrets(SecretsT &&value)
ContainerDetail & WithNetworkInterfaces(NetworkInterfacesT &&value)
ContainerDetail & WithVolumes(VolumesT &&value)
ContainerDetail & WithNetworkConfiguration(NetworkConfigurationT &&value)
AWS_BATCH_API ContainerDetail()=default
const NetworkConfiguration & GetNetworkConfiguration() const
ContainerDetail & WithContainerInstanceArn(ContainerInstanceArnT &&value)
ContainerDetail & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetLogStreamName() const
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
const Aws::Vector< Aws::String > & GetCommand() const
ContainerDetail & WithVcpus(int value)
ContainerDetail & WithPrivileged(bool value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
void SetEnvironment(EnvironmentT &&value)
ContainerDetail & WithExitCode(int value)
ContainerDetail & WithUlimits(UlimitsT &&value)
const RuntimePlatform & GetRuntimePlatform() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const EphemeralStorage & GetEphemeralStorage() const
ContainerDetail & WithSecrets(SecretsT &&value)
ContainerDetail & AddCommand(CommandT &&value)
const FargatePlatformConfiguration & GetFargatePlatformConfiguration() const
ContainerDetail & AddNetworkInterfaces(NetworkInterfacesT &&value)
ContainerDetail & WithMountPoints(MountPointsT &&value)
ContainerDetail & WithEnableExecuteCommand(bool value)
void SetResourceRequirements(ResourceRequirementsT &&value)
void SetNetworkInterfaces(NetworkInterfacesT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerDetail & AddVolumes(VolumesT &&value)
const Aws::Vector< Volume > & GetVolumes() 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