AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ContainerDetail.h
1
6#pragma once
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/NetworkInterface.h>
16#include <aws/batch/model/RepositoryCredentials.h>
17#include <aws/batch/model/ResourceRequirement.h>
18#include <aws/batch/model/RuntimePlatform.h>
19#include <aws/batch/model/Secret.h>
20#include <aws/batch/model/Ulimit.h>
21#include <aws/batch/model/Volume.h>
22#include <aws/core/utils/memory/stl/AWSString.h>
23#include <aws/core/utils/memory/stl/AWSVector.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace Batch {
35namespace Model {
36
44 public:
45 AWS_BATCH_API ContainerDetail() = default;
48 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
49
51
54 inline const Aws::String& GetImage() const { return m_image; }
55 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
56 template <typename ImageT = Aws::String>
57 void SetImage(ImageT&& value) {
58 m_imageHasBeenSet = true;
59 m_image = std::forward<ImageT>(value);
60 }
61 template <typename ImageT = Aws::String>
62 ContainerDetail& WithImage(ImageT&& value) {
63 SetImage(std::forward<ImageT>(value));
64 return *this;
65 }
67
69
87 inline int GetVcpus() const { return m_vcpus; }
88 inline bool VcpusHasBeenSet() const { return m_vcpusHasBeenSet; }
89 inline void SetVcpus(int value) {
90 m_vcpusHasBeenSet = true;
91 m_vcpus = value;
92 }
93 inline ContainerDetail& WithVcpus(int value) {
94 SetVcpus(value);
95 return *this;
96 }
98
100
106 inline int GetMemory() const { return m_memory; }
107 inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; }
108 inline void SetMemory(int value) {
109 m_memoryHasBeenSet = true;
110 m_memory = value;
111 }
112 inline ContainerDetail& WithMemory(int value) {
113 SetMemory(value);
114 return *this;
115 }
117
119
122 inline const Aws::Vector<Aws::String>& GetCommand() const { return m_command; }
123 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
124 template <typename CommandT = Aws::Vector<Aws::String>>
125 void SetCommand(CommandT&& value) {
126 m_commandHasBeenSet = true;
127 m_command = std::forward<CommandT>(value);
128 }
129 template <typename CommandT = Aws::Vector<Aws::String>>
130 ContainerDetail& WithCommand(CommandT&& value) {
131 SetCommand(std::forward<CommandT>(value));
132 return *this;
133 }
134 template <typename CommandT = Aws::String>
135 ContainerDetail& AddCommand(CommandT&& value) {
136 m_commandHasBeenSet = true;
137 m_command.emplace_back(std::forward<CommandT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetJobRoleArn() const { return m_jobRoleArn; }
147 inline bool JobRoleArnHasBeenSet() const { return m_jobRoleArnHasBeenSet; }
148 template <typename JobRoleArnT = Aws::String>
149 void SetJobRoleArn(JobRoleArnT&& value) {
150 m_jobRoleArnHasBeenSet = true;
151 m_jobRoleArn = std::forward<JobRoleArnT>(value);
152 }
153 template <typename JobRoleArnT = Aws::String>
154 ContainerDetail& WithJobRoleArn(JobRoleArnT&& value) {
155 SetJobRoleArn(std::forward<JobRoleArnT>(value));
156 return *this;
157 }
159
161
167 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
168 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
169 template <typename ExecutionRoleArnT = Aws::String>
170 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
171 m_executionRoleArnHasBeenSet = true;
172 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
173 }
174 template <typename ExecutionRoleArnT = Aws::String>
175 ContainerDetail& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
176 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::Vector<Volume>& GetVolumes() const { return m_volumes; }
186 inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; }
187 template <typename VolumesT = Aws::Vector<Volume>>
188 void SetVolumes(VolumesT&& value) {
189 m_volumesHasBeenSet = true;
190 m_volumes = std::forward<VolumesT>(value);
191 }
192 template <typename VolumesT = Aws::Vector<Volume>>
193 ContainerDetail& WithVolumes(VolumesT&& value) {
194 SetVolumes(std::forward<VolumesT>(value));
195 return *this;
196 }
197 template <typename VolumesT = Volume>
198 ContainerDetail& AddVolumes(VolumesT&& value) {
199 m_volumesHasBeenSet = true;
200 m_volumes.emplace_back(std::forward<VolumesT>(value));
201 return *this;
202 }
204
206
211 inline const Aws::Vector<KeyValuePair>& GetEnvironment() const { return m_environment; }
212 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
213 template <typename EnvironmentT = Aws::Vector<KeyValuePair>>
214 void SetEnvironment(EnvironmentT&& value) {
215 m_environmentHasBeenSet = true;
216 m_environment = std::forward<EnvironmentT>(value);
217 }
218 template <typename EnvironmentT = Aws::Vector<KeyValuePair>>
219 ContainerDetail& WithEnvironment(EnvironmentT&& value) {
220 SetEnvironment(std::forward<EnvironmentT>(value));
221 return *this;
222 }
223 template <typename EnvironmentT = KeyValuePair>
224 ContainerDetail& AddEnvironment(EnvironmentT&& value) {
225 m_environmentHasBeenSet = true;
226 m_environment.emplace_back(std::forward<EnvironmentT>(value));
227 return *this;
228 }
230
232
235 inline const Aws::Vector<MountPoint>& GetMountPoints() const { return m_mountPoints; }
236 inline bool MountPointsHasBeenSet() const { return m_mountPointsHasBeenSet; }
237 template <typename MountPointsT = Aws::Vector<MountPoint>>
238 void SetMountPoints(MountPointsT&& value) {
239 m_mountPointsHasBeenSet = true;
240 m_mountPoints = std::forward<MountPointsT>(value);
241 }
242 template <typename MountPointsT = Aws::Vector<MountPoint>>
243 ContainerDetail& WithMountPoints(MountPointsT&& value) {
244 SetMountPoints(std::forward<MountPointsT>(value));
245 return *this;
246 }
247 template <typename MountPointsT = MountPoint>
248 ContainerDetail& AddMountPoints(MountPointsT&& value) {
249 m_mountPointsHasBeenSet = true;
250 m_mountPoints.emplace_back(std::forward<MountPointsT>(value));
251 return *this;
252 }
254
256
266 inline bool GetReadonlyRootFilesystem() const { return m_readonlyRootFilesystem; }
267 inline bool ReadonlyRootFilesystemHasBeenSet() const { return m_readonlyRootFilesystemHasBeenSet; }
268 inline void SetReadonlyRootFilesystem(bool value) {
269 m_readonlyRootFilesystemHasBeenSet = true;
270 m_readonlyRootFilesystem = value;
271 }
274 return *this;
275 }
277
279
290 inline const Aws::Vector<Ulimit>& GetUlimits() const { return m_ulimits; }
291 inline bool UlimitsHasBeenSet() const { return m_ulimitsHasBeenSet; }
292 template <typename UlimitsT = Aws::Vector<Ulimit>>
293 void SetUlimits(UlimitsT&& value) {
294 m_ulimitsHasBeenSet = true;
295 m_ulimits = std::forward<UlimitsT>(value);
296 }
297 template <typename UlimitsT = Aws::Vector<Ulimit>>
298 ContainerDetail& WithUlimits(UlimitsT&& value) {
299 SetUlimits(std::forward<UlimitsT>(value));
300 return *this;
301 }
302 template <typename UlimitsT = Ulimit>
303 ContainerDetail& AddUlimits(UlimitsT&& value) {
304 m_ulimitsHasBeenSet = true;
305 m_ulimits.emplace_back(std::forward<UlimitsT>(value));
306 return *this;
307 }
309
311
318 inline bool GetPrivileged() const { return m_privileged; }
319 inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; }
320 inline void SetPrivileged(bool value) {
321 m_privilegedHasBeenSet = true;
322 m_privileged = value;
323 }
324 inline ContainerDetail& WithPrivileged(bool value) {
325 SetPrivileged(value);
326 return *this;
327 }
329
331
340 inline const Aws::String& GetUser() const { return m_user; }
341 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
342 template <typename UserT = Aws::String>
343 void SetUser(UserT&& value) {
344 m_userHasBeenSet = true;
345 m_user = std::forward<UserT>(value);
346 }
347 template <typename UserT = Aws::String>
348 ContainerDetail& WithUser(UserT&& value) {
349 SetUser(std::forward<UserT>(value));
350 return *this;
351 }
353
355
358 inline int GetExitCode() const { return m_exitCode; }
359 inline bool ExitCodeHasBeenSet() const { return m_exitCodeHasBeenSet; }
360 inline void SetExitCode(int value) {
361 m_exitCodeHasBeenSet = true;
362 m_exitCode = value;
363 }
364 inline ContainerDetail& WithExitCode(int value) {
365 SetExitCode(value);
366 return *this;
367 }
369
371
375 inline const Aws::String& GetReason() const { return m_reason; }
376 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
377 template <typename ReasonT = Aws::String>
378 void SetReason(ReasonT&& value) {
379 m_reasonHasBeenSet = true;
380 m_reason = std::forward<ReasonT>(value);
381 }
382 template <typename ReasonT = Aws::String>
383 ContainerDetail& WithReason(ReasonT&& value) {
384 SetReason(std::forward<ReasonT>(value));
385 return *this;
386 }
388
390
394 inline const Aws::String& GetContainerInstanceArn() const { return m_containerInstanceArn; }
395 inline bool ContainerInstanceArnHasBeenSet() const { return m_containerInstanceArnHasBeenSet; }
396 template <typename ContainerInstanceArnT = Aws::String>
397 void SetContainerInstanceArn(ContainerInstanceArnT&& value) {
398 m_containerInstanceArnHasBeenSet = true;
399 m_containerInstanceArn = std::forward<ContainerInstanceArnT>(value);
400 }
401 template <typename ContainerInstanceArnT = Aws::String>
402 ContainerDetail& WithContainerInstanceArn(ContainerInstanceArnT&& value) {
403 SetContainerInstanceArn(std::forward<ContainerInstanceArnT>(value));
404 return *this;
405 }
407
409
414 inline const Aws::String& GetTaskArn() const { return m_taskArn; }
415 inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }
416 template <typename TaskArnT = Aws::String>
417 void SetTaskArn(TaskArnT&& value) {
418 m_taskArnHasBeenSet = true;
419 m_taskArn = std::forward<TaskArnT>(value);
420 }
421 template <typename TaskArnT = Aws::String>
422 ContainerDetail& WithTaskArn(TaskArnT&& value) {
423 SetTaskArn(std::forward<TaskArnT>(value));
424 return *this;
425 }
427
429
435 inline const Aws::String& GetLogStreamName() const { return m_logStreamName; }
436 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
437 template <typename LogStreamNameT = Aws::String>
438 void SetLogStreamName(LogStreamNameT&& value) {
439 m_logStreamNameHasBeenSet = true;
440 m_logStreamName = std::forward<LogStreamNameT>(value);
441 }
442 template <typename LogStreamNameT = Aws::String>
443 ContainerDetail& WithLogStreamName(LogStreamNameT&& value) {
444 SetLogStreamName(std::forward<LogStreamNameT>(value));
445 return *this;
446 }
448
450
455 inline const Aws::String& GetInstanceType() const { return m_instanceType; }
456 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
457 template <typename InstanceTypeT = Aws::String>
458 void SetInstanceType(InstanceTypeT&& value) {
459 m_instanceTypeHasBeenSet = true;
460 m_instanceType = std::forward<InstanceTypeT>(value);
461 }
462 template <typename InstanceTypeT = Aws::String>
463 ContainerDetail& WithInstanceType(InstanceTypeT&& value) {
464 SetInstanceType(std::forward<InstanceTypeT>(value));
465 return *this;
466 }
468
470
473 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const { return m_networkInterfaces; }
474 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
475 template <typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
476 void SetNetworkInterfaces(NetworkInterfacesT&& value) {
477 m_networkInterfacesHasBeenSet = true;
478 m_networkInterfaces = std::forward<NetworkInterfacesT>(value);
479 }
480 template <typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
481 ContainerDetail& WithNetworkInterfaces(NetworkInterfacesT&& value) {
482 SetNetworkInterfaces(std::forward<NetworkInterfacesT>(value));
483 return *this;
484 }
485 template <typename NetworkInterfacesT = NetworkInterface>
486 ContainerDetail& AddNetworkInterfaces(NetworkInterfacesT&& value) {
487 m_networkInterfacesHasBeenSet = true;
488 m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value));
489 return *this;
490 }
492
494
499 inline const Aws::Vector<ResourceRequirement>& GetResourceRequirements() const { return m_resourceRequirements; }
500 inline bool ResourceRequirementsHasBeenSet() const { return m_resourceRequirementsHasBeenSet; }
501 template <typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
502 void SetResourceRequirements(ResourceRequirementsT&& value) {
503 m_resourceRequirementsHasBeenSet = true;
504 m_resourceRequirements = std::forward<ResourceRequirementsT>(value);
505 }
506 template <typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
507 ContainerDetail& WithResourceRequirements(ResourceRequirementsT&& value) {
508 SetResourceRequirements(std::forward<ResourceRequirementsT>(value));
509 return *this;
510 }
511 template <typename ResourceRequirementsT = ResourceRequirement>
512 ContainerDetail& AddResourceRequirements(ResourceRequirementsT&& value) {
513 m_resourceRequirementsHasBeenSet = true;
514 m_resourceRequirements.emplace_back(std::forward<ResourceRequirementsT>(value));
515 return *this;
516 }
518
520
524 inline const LinuxParameters& GetLinuxParameters() const { return m_linuxParameters; }
525 inline bool LinuxParametersHasBeenSet() const { return m_linuxParametersHasBeenSet; }
526 template <typename LinuxParametersT = LinuxParameters>
527 void SetLinuxParameters(LinuxParametersT&& value) {
528 m_linuxParametersHasBeenSet = true;
529 m_linuxParameters = std::forward<LinuxParametersT>(value);
530 }
531 template <typename LinuxParametersT = LinuxParameters>
532 ContainerDetail& WithLinuxParameters(LinuxParametersT&& value) {
533 SetLinuxParameters(std::forward<LinuxParametersT>(value));
534 return *this;
535 }
537
539
572 inline const LogConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
573 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
574 template <typename LogConfigurationT = LogConfiguration>
575 void SetLogConfiguration(LogConfigurationT&& value) {
576 m_logConfigurationHasBeenSet = true;
577 m_logConfiguration = std::forward<LogConfigurationT>(value);
578 }
579 template <typename LogConfigurationT = LogConfiguration>
580 ContainerDetail& WithLogConfiguration(LogConfigurationT&& value) {
581 SetLogConfiguration(std::forward<LogConfigurationT>(value));
582 return *this;
583 }
585
587
592 inline const Aws::Vector<Secret>& GetSecrets() const { return m_secrets; }
593 inline bool SecretsHasBeenSet() const { return m_secretsHasBeenSet; }
594 template <typename SecretsT = Aws::Vector<Secret>>
595 void SetSecrets(SecretsT&& value) {
596 m_secretsHasBeenSet = true;
597 m_secrets = std::forward<SecretsT>(value);
598 }
599 template <typename SecretsT = Aws::Vector<Secret>>
600 ContainerDetail& WithSecrets(SecretsT&& value) {
601 SetSecrets(std::forward<SecretsT>(value));
602 return *this;
603 }
604 template <typename SecretsT = Secret>
605 ContainerDetail& AddSecrets(SecretsT&& value) {
606 m_secretsHasBeenSet = true;
607 m_secrets.emplace_back(std::forward<SecretsT>(value));
608 return *this;
609 }
611
613
618 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
619 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
620 template <typename NetworkConfigurationT = NetworkConfiguration>
621 void SetNetworkConfiguration(NetworkConfigurationT&& value) {
622 m_networkConfigurationHasBeenSet = true;
623 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
624 }
625 template <typename NetworkConfigurationT = NetworkConfiguration>
626 ContainerDetail& WithNetworkConfiguration(NetworkConfigurationT&& value) {
627 SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value));
628 return *this;
629 }
631
633
638 inline const FargatePlatformConfiguration& GetFargatePlatformConfiguration() const { return m_fargatePlatformConfiguration; }
639 inline bool FargatePlatformConfigurationHasBeenSet() const { return m_fargatePlatformConfigurationHasBeenSet; }
640 template <typename FargatePlatformConfigurationT = FargatePlatformConfiguration>
641 void SetFargatePlatformConfiguration(FargatePlatformConfigurationT&& value) {
642 m_fargatePlatformConfigurationHasBeenSet = true;
643 m_fargatePlatformConfiguration = std::forward<FargatePlatformConfigurationT>(value);
644 }
645 template <typename FargatePlatformConfigurationT = FargatePlatformConfiguration>
646 ContainerDetail& WithFargatePlatformConfiguration(FargatePlatformConfigurationT&& value) {
647 SetFargatePlatformConfiguration(std::forward<FargatePlatformConfigurationT>(value));
648 return *this;
649 }
651
653
658 inline const EphemeralStorage& GetEphemeralStorage() const { return m_ephemeralStorage; }
659 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
660 template <typename EphemeralStorageT = EphemeralStorage>
661 void SetEphemeralStorage(EphemeralStorageT&& value) {
662 m_ephemeralStorageHasBeenSet = true;
663 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
664 }
665 template <typename EphemeralStorageT = EphemeralStorage>
666 ContainerDetail& WithEphemeralStorage(EphemeralStorageT&& value) {
667 SetEphemeralStorage(std::forward<EphemeralStorageT>(value));
668 return *this;
669 }
671
673
677 inline const RuntimePlatform& GetRuntimePlatform() const { return m_runtimePlatform; }
678 inline bool RuntimePlatformHasBeenSet() const { return m_runtimePlatformHasBeenSet; }
679 template <typename RuntimePlatformT = RuntimePlatform>
680 void SetRuntimePlatform(RuntimePlatformT&& value) {
681 m_runtimePlatformHasBeenSet = true;
682 m_runtimePlatform = std::forward<RuntimePlatformT>(value);
683 }
684 template <typename RuntimePlatformT = RuntimePlatform>
685 ContainerDetail& WithRuntimePlatform(RuntimePlatformT&& value) {
686 SetRuntimePlatform(std::forward<RuntimePlatformT>(value));
687 return *this;
688 }
690
692
695 inline const RepositoryCredentials& GetRepositoryCredentials() const { return m_repositoryCredentials; }
696 inline bool RepositoryCredentialsHasBeenSet() const { return m_repositoryCredentialsHasBeenSet; }
697 template <typename RepositoryCredentialsT = RepositoryCredentials>
698 void SetRepositoryCredentials(RepositoryCredentialsT&& value) {
699 m_repositoryCredentialsHasBeenSet = true;
700 m_repositoryCredentials = std::forward<RepositoryCredentialsT>(value);
701 }
702 template <typename RepositoryCredentialsT = RepositoryCredentials>
703 ContainerDetail& WithRepositoryCredentials(RepositoryCredentialsT&& value) {
704 SetRepositoryCredentials(std::forward<RepositoryCredentialsT>(value));
705 return *this;
706 }
708
710
715 inline bool GetEnableExecuteCommand() const { return m_enableExecuteCommand; }
716 inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
717 inline void SetEnableExecuteCommand(bool value) {
718 m_enableExecuteCommandHasBeenSet = true;
719 m_enableExecuteCommand = value;
720 }
723 return *this;
724 }
726 private:
727 Aws::String m_image;
728
729 int m_vcpus{0};
730
731 int m_memory{0};
732
733 Aws::Vector<Aws::String> m_command;
734
735 Aws::String m_jobRoleArn;
736
737 Aws::String m_executionRoleArn;
738
739 Aws::Vector<Volume> m_volumes;
740
741 Aws::Vector<KeyValuePair> m_environment;
742
743 Aws::Vector<MountPoint> m_mountPoints;
744
745 bool m_readonlyRootFilesystem{false};
746
747 Aws::Vector<Ulimit> m_ulimits;
748
749 bool m_privileged{false};
750
751 Aws::String m_user;
752
753 int m_exitCode{0};
754
755 Aws::String m_reason;
756
757 Aws::String m_containerInstanceArn;
758
759 Aws::String m_taskArn;
760
761 Aws::String m_logStreamName;
762
763 Aws::String m_instanceType;
764
765 Aws::Vector<NetworkInterface> m_networkInterfaces;
766
767 Aws::Vector<ResourceRequirement> m_resourceRequirements;
768
769 LinuxParameters m_linuxParameters;
770
771 LogConfiguration m_logConfiguration;
772
773 Aws::Vector<Secret> m_secrets;
774
775 NetworkConfiguration m_networkConfiguration;
776
777 FargatePlatformConfiguration m_fargatePlatformConfiguration;
778
779 EphemeralStorage m_ephemeralStorage;
780
781 RuntimePlatform m_runtimePlatform;
782
783 RepositoryCredentials m_repositoryCredentials;
784
785 bool m_enableExecuteCommand{false};
786 bool m_imageHasBeenSet = false;
787 bool m_vcpusHasBeenSet = false;
788 bool m_memoryHasBeenSet = false;
789 bool m_commandHasBeenSet = false;
790 bool m_jobRoleArnHasBeenSet = false;
791 bool m_executionRoleArnHasBeenSet = false;
792 bool m_volumesHasBeenSet = false;
793 bool m_environmentHasBeenSet = false;
794 bool m_mountPointsHasBeenSet = false;
795 bool m_readonlyRootFilesystemHasBeenSet = false;
796 bool m_ulimitsHasBeenSet = false;
797 bool m_privilegedHasBeenSet = false;
798 bool m_userHasBeenSet = false;
799 bool m_exitCodeHasBeenSet = false;
800 bool m_reasonHasBeenSet = false;
801 bool m_containerInstanceArnHasBeenSet = false;
802 bool m_taskArnHasBeenSet = false;
803 bool m_logStreamNameHasBeenSet = false;
804 bool m_instanceTypeHasBeenSet = false;
805 bool m_networkInterfacesHasBeenSet = false;
806 bool m_resourceRequirementsHasBeenSet = false;
807 bool m_linuxParametersHasBeenSet = false;
808 bool m_logConfigurationHasBeenSet = false;
809 bool m_secretsHasBeenSet = false;
810 bool m_networkConfigurationHasBeenSet = false;
811 bool m_fargatePlatformConfigurationHasBeenSet = false;
812 bool m_ephemeralStorageHasBeenSet = false;
813 bool m_runtimePlatformHasBeenSet = false;
814 bool m_repositoryCredentialsHasBeenSet = false;
815 bool m_enableExecuteCommandHasBeenSet = false;
816};
817
818} // namespace Model
819} // namespace Batch
820} // 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