AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
63 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
64 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
65 inline ContainerDetail& WithImage(const Aws::String& value) { SetImage(value); return *this;}
66 inline ContainerDetail& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
67 inline ContainerDetail& WithImage(const char* value) { SetImage(value); return *this;}
69
71
89 inline int GetVcpus() const{ return m_vcpus; }
90 inline bool VcpusHasBeenSet() const { return m_vcpusHasBeenSet; }
91 inline void SetVcpus(int value) { m_vcpusHasBeenSet = true; m_vcpus = value; }
92 inline ContainerDetail& WithVcpus(int value) { SetVcpus(value); return *this;}
94
96
102 inline int GetMemory() const{ return m_memory; }
103 inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; }
104 inline void SetMemory(int value) { m_memoryHasBeenSet = true; m_memory = value; }
105 inline ContainerDetail& WithMemory(int value) { SetMemory(value); return *this;}
107
109
112 inline const Aws::Vector<Aws::String>& GetCommand() const{ return m_command; }
113 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
114 inline void SetCommand(const Aws::Vector<Aws::String>& value) { m_commandHasBeenSet = true; m_command = value; }
115 inline void SetCommand(Aws::Vector<Aws::String>&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
116 inline ContainerDetail& WithCommand(const Aws::Vector<Aws::String>& value) { SetCommand(value); return *this;}
117 inline ContainerDetail& WithCommand(Aws::Vector<Aws::String>&& value) { SetCommand(std::move(value)); return *this;}
118 inline ContainerDetail& AddCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
119 inline ContainerDetail& AddCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command.push_back(std::move(value)); return *this; }
120 inline ContainerDetail& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
122
124
127 inline const Aws::String& GetJobRoleArn() const{ return m_jobRoleArn; }
128 inline bool JobRoleArnHasBeenSet() const { return m_jobRoleArnHasBeenSet; }
129 inline void SetJobRoleArn(const Aws::String& value) { m_jobRoleArnHasBeenSet = true; m_jobRoleArn = value; }
130 inline void SetJobRoleArn(Aws::String&& value) { m_jobRoleArnHasBeenSet = true; m_jobRoleArn = std::move(value); }
131 inline void SetJobRoleArn(const char* value) { m_jobRoleArnHasBeenSet = true; m_jobRoleArn.assign(value); }
132 inline ContainerDetail& WithJobRoleArn(const Aws::String& value) { SetJobRoleArn(value); return *this;}
133 inline ContainerDetail& WithJobRoleArn(Aws::String&& value) { SetJobRoleArn(std::move(value)); return *this;}
134 inline ContainerDetail& WithJobRoleArn(const char* value) { SetJobRoleArn(value); return *this;}
136
138
144 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
145 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
146 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
147 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
148 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
149 inline ContainerDetail& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
150 inline ContainerDetail& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
151 inline ContainerDetail& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
153
155
158 inline const Aws::Vector<Volume>& GetVolumes() const{ return m_volumes; }
159 inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; }
160 inline void SetVolumes(const Aws::Vector<Volume>& value) { m_volumesHasBeenSet = true; m_volumes = value; }
161 inline void SetVolumes(Aws::Vector<Volume>&& value) { m_volumesHasBeenSet = true; m_volumes = std::move(value); }
162 inline ContainerDetail& WithVolumes(const Aws::Vector<Volume>& value) { SetVolumes(value); return *this;}
163 inline ContainerDetail& WithVolumes(Aws::Vector<Volume>&& value) { SetVolumes(std::move(value)); return *this;}
164 inline ContainerDetail& AddVolumes(const Volume& value) { m_volumesHasBeenSet = true; m_volumes.push_back(value); return *this; }
165 inline ContainerDetail& AddVolumes(Volume&& value) { m_volumesHasBeenSet = true; m_volumes.push_back(std::move(value)); return *this; }
167
169
174 inline const Aws::Vector<KeyValuePair>& GetEnvironment() const{ return m_environment; }
175 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
176 inline void SetEnvironment(const Aws::Vector<KeyValuePair>& value) { m_environmentHasBeenSet = true; m_environment = value; }
177 inline void SetEnvironment(Aws::Vector<KeyValuePair>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
178 inline ContainerDetail& WithEnvironment(const Aws::Vector<KeyValuePair>& value) { SetEnvironment(value); return *this;}
179 inline ContainerDetail& WithEnvironment(Aws::Vector<KeyValuePair>&& value) { SetEnvironment(std::move(value)); return *this;}
180 inline ContainerDetail& AddEnvironment(const KeyValuePair& value) { m_environmentHasBeenSet = true; m_environment.push_back(value); return *this; }
181 inline ContainerDetail& AddEnvironment(KeyValuePair&& value) { m_environmentHasBeenSet = true; m_environment.push_back(std::move(value)); return *this; }
183
185
188 inline const Aws::Vector<MountPoint>& GetMountPoints() const{ return m_mountPoints; }
189 inline bool MountPointsHasBeenSet() const { return m_mountPointsHasBeenSet; }
190 inline void SetMountPoints(const Aws::Vector<MountPoint>& value) { m_mountPointsHasBeenSet = true; m_mountPoints = value; }
191 inline void SetMountPoints(Aws::Vector<MountPoint>&& value) { m_mountPointsHasBeenSet = true; m_mountPoints = std::move(value); }
192 inline ContainerDetail& WithMountPoints(const Aws::Vector<MountPoint>& value) { SetMountPoints(value); return *this;}
193 inline ContainerDetail& WithMountPoints(Aws::Vector<MountPoint>&& value) { SetMountPoints(std::move(value)); return *this;}
194 inline ContainerDetail& AddMountPoints(const MountPoint& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(value); return *this; }
195 inline ContainerDetail& AddMountPoints(MountPoint&& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(std::move(value)); return *this; }
197
199
209 inline bool GetReadonlyRootFilesystem() const{ return m_readonlyRootFilesystem; }
210 inline bool ReadonlyRootFilesystemHasBeenSet() const { return m_readonlyRootFilesystemHasBeenSet; }
211 inline void SetReadonlyRootFilesystem(bool value) { m_readonlyRootFilesystemHasBeenSet = true; m_readonlyRootFilesystem = value; }
212 inline ContainerDetail& WithReadonlyRootFilesystem(bool value) { SetReadonlyRootFilesystem(value); return *this;}
214
216
227 inline const Aws::Vector<Ulimit>& GetUlimits() const{ return m_ulimits; }
228 inline bool UlimitsHasBeenSet() const { return m_ulimitsHasBeenSet; }
229 inline void SetUlimits(const Aws::Vector<Ulimit>& value) { m_ulimitsHasBeenSet = true; m_ulimits = value; }
230 inline void SetUlimits(Aws::Vector<Ulimit>&& value) { m_ulimitsHasBeenSet = true; m_ulimits = std::move(value); }
231 inline ContainerDetail& WithUlimits(const Aws::Vector<Ulimit>& value) { SetUlimits(value); return *this;}
232 inline ContainerDetail& WithUlimits(Aws::Vector<Ulimit>&& value) { SetUlimits(std::move(value)); return *this;}
233 inline ContainerDetail& AddUlimits(const Ulimit& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(value); return *this; }
234 inline ContainerDetail& AddUlimits(Ulimit&& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(std::move(value)); return *this; }
236
238
245 inline bool GetPrivileged() const{ return m_privileged; }
246 inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; }
247 inline void SetPrivileged(bool value) { m_privilegedHasBeenSet = true; m_privileged = value; }
248 inline ContainerDetail& WithPrivileged(bool value) { SetPrivileged(value); return *this;}
250
252
261 inline const Aws::String& GetUser() const{ return m_user; }
262 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
263 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
264 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
265 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
266 inline ContainerDetail& WithUser(const Aws::String& value) { SetUser(value); return *this;}
267 inline ContainerDetail& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
268 inline ContainerDetail& WithUser(const char* value) { SetUser(value); return *this;}
270
272
275 inline int GetExitCode() const{ return m_exitCode; }
276 inline bool ExitCodeHasBeenSet() const { return m_exitCodeHasBeenSet; }
277 inline void SetExitCode(int value) { m_exitCodeHasBeenSet = true; m_exitCode = value; }
278 inline ContainerDetail& WithExitCode(int value) { SetExitCode(value); return *this;}
280
282
286 inline const Aws::String& GetReason() const{ return m_reason; }
287 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
288 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
289 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
290 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
291 inline ContainerDetail& WithReason(const Aws::String& value) { SetReason(value); return *this;}
292 inline ContainerDetail& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
293 inline ContainerDetail& WithReason(const char* value) { SetReason(value); return *this;}
295
297
301 inline const Aws::String& GetContainerInstanceArn() const{ return m_containerInstanceArn; }
302 inline bool ContainerInstanceArnHasBeenSet() const { return m_containerInstanceArnHasBeenSet; }
303 inline void SetContainerInstanceArn(const Aws::String& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = value; }
304 inline void SetContainerInstanceArn(Aws::String&& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = std::move(value); }
305 inline void SetContainerInstanceArn(const char* value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn.assign(value); }
307 inline ContainerDetail& WithContainerInstanceArn(Aws::String&& value) { SetContainerInstanceArn(std::move(value)); return *this;}
308 inline ContainerDetail& WithContainerInstanceArn(const char* value) { SetContainerInstanceArn(value); return *this;}
310
312
317 inline const Aws::String& GetTaskArn() const{ return m_taskArn; }
318 inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }
319 inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; }
320 inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); }
321 inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); }
322 inline ContainerDetail& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;}
323 inline ContainerDetail& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;}
324 inline ContainerDetail& WithTaskArn(const char* value) { SetTaskArn(value); return *this;}
326
328
334 inline const Aws::String& GetLogStreamName() const{ return m_logStreamName; }
335 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
336 inline void SetLogStreamName(const Aws::String& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = value; }
337 inline void SetLogStreamName(Aws::String&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::move(value); }
338 inline void SetLogStreamName(const char* value) { m_logStreamNameHasBeenSet = true; m_logStreamName.assign(value); }
339 inline ContainerDetail& WithLogStreamName(const Aws::String& value) { SetLogStreamName(value); return *this;}
340 inline ContainerDetail& WithLogStreamName(Aws::String&& value) { SetLogStreamName(std::move(value)); return *this;}
341 inline ContainerDetail& WithLogStreamName(const char* value) { SetLogStreamName(value); return *this;}
343
345
350 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
351 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
352 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
353 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
354 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
355 inline ContainerDetail& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
356 inline ContainerDetail& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
357 inline ContainerDetail& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
359
361
364 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
365 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
366 inline void SetNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
367 inline void SetNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
370 inline ContainerDetail& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
371 inline ContainerDetail& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
373
375
380 inline const Aws::Vector<ResourceRequirement>& GetResourceRequirements() const{ return m_resourceRequirements; }
381 inline bool ResourceRequirementsHasBeenSet() const { return m_resourceRequirementsHasBeenSet; }
382 inline void SetResourceRequirements(const Aws::Vector<ResourceRequirement>& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = value; }
383 inline void SetResourceRequirements(Aws::Vector<ResourceRequirement>&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = std::move(value); }
386 inline ContainerDetail& AddResourceRequirements(const ResourceRequirement& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(value); return *this; }
387 inline ContainerDetail& AddResourceRequirements(ResourceRequirement&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(std::move(value)); return *this; }
389
391
395 inline const LinuxParameters& GetLinuxParameters() const{ return m_linuxParameters; }
396 inline bool LinuxParametersHasBeenSet() const { return m_linuxParametersHasBeenSet; }
397 inline void SetLinuxParameters(const LinuxParameters& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = value; }
398 inline void SetLinuxParameters(LinuxParameters&& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = std::move(value); }
399 inline ContainerDetail& WithLinuxParameters(const LinuxParameters& value) { SetLinuxParameters(value); return *this;}
400 inline ContainerDetail& WithLinuxParameters(LinuxParameters&& value) { SetLinuxParameters(std::move(value)); return *this;}
402
404
437 inline const LogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
438 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
439 inline void SetLogConfiguration(const LogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
440 inline void SetLogConfiguration(LogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
441 inline ContainerDetail& WithLogConfiguration(const LogConfiguration& value) { SetLogConfiguration(value); return *this;}
442 inline ContainerDetail& WithLogConfiguration(LogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;}
444
446
451 inline const Aws::Vector<Secret>& GetSecrets() const{ return m_secrets; }
452 inline bool SecretsHasBeenSet() const { return m_secretsHasBeenSet; }
453 inline void SetSecrets(const Aws::Vector<Secret>& value) { m_secretsHasBeenSet = true; m_secrets = value; }
454 inline void SetSecrets(Aws::Vector<Secret>&& value) { m_secretsHasBeenSet = true; m_secrets = std::move(value); }
455 inline ContainerDetail& WithSecrets(const Aws::Vector<Secret>& value) { SetSecrets(value); return *this;}
456 inline ContainerDetail& WithSecrets(Aws::Vector<Secret>&& value) { SetSecrets(std::move(value)); return *this;}
457 inline ContainerDetail& AddSecrets(const Secret& value) { m_secretsHasBeenSet = true; m_secrets.push_back(value); return *this; }
458 inline ContainerDetail& AddSecrets(Secret&& value) { m_secretsHasBeenSet = true; m_secrets.push_back(std::move(value)); return *this; }
460
462
467 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
468 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
469 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
470 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
474
476
481 inline const FargatePlatformConfiguration& GetFargatePlatformConfiguration() const{ return m_fargatePlatformConfiguration; }
482 inline bool FargatePlatformConfigurationHasBeenSet() const { return m_fargatePlatformConfigurationHasBeenSet; }
483 inline void SetFargatePlatformConfiguration(const FargatePlatformConfiguration& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = value; }
484 inline void SetFargatePlatformConfiguration(FargatePlatformConfiguration&& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = std::move(value); }
488
490
495 inline const EphemeralStorage& GetEphemeralStorage() const{ return m_ephemeralStorage; }
496 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
497 inline void SetEphemeralStorage(const EphemeralStorage& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; }
498 inline void SetEphemeralStorage(EphemeralStorage&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::move(value); }
499 inline ContainerDetail& WithEphemeralStorage(const EphemeralStorage& value) { SetEphemeralStorage(value); return *this;}
500 inline ContainerDetail& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;}
502
504
508 inline const RuntimePlatform& GetRuntimePlatform() const{ return m_runtimePlatform; }
509 inline bool RuntimePlatformHasBeenSet() const { return m_runtimePlatformHasBeenSet; }
510 inline void SetRuntimePlatform(const RuntimePlatform& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = value; }
511 inline void SetRuntimePlatform(RuntimePlatform&& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = std::move(value); }
512 inline ContainerDetail& WithRuntimePlatform(const RuntimePlatform& value) { SetRuntimePlatform(value); return *this;}
513 inline ContainerDetail& WithRuntimePlatform(RuntimePlatform&& value) { SetRuntimePlatform(std::move(value)); return *this;}
515
517
520 inline const RepositoryCredentials& GetRepositoryCredentials() const{ return m_repositoryCredentials; }
521 inline bool RepositoryCredentialsHasBeenSet() const { return m_repositoryCredentialsHasBeenSet; }
522 inline void SetRepositoryCredentials(const RepositoryCredentials& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = value; }
523 inline void SetRepositoryCredentials(RepositoryCredentials&& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = std::move(value); }
527 private:
528
529 Aws::String m_image;
530 bool m_imageHasBeenSet = false;
531
532 int m_vcpus;
533 bool m_vcpusHasBeenSet = false;
534
535 int m_memory;
536 bool m_memoryHasBeenSet = false;
537
538 Aws::Vector<Aws::String> m_command;
539 bool m_commandHasBeenSet = false;
540
541 Aws::String m_jobRoleArn;
542 bool m_jobRoleArnHasBeenSet = false;
543
544 Aws::String m_executionRoleArn;
545 bool m_executionRoleArnHasBeenSet = false;
546
547 Aws::Vector<Volume> m_volumes;
548 bool m_volumesHasBeenSet = false;
549
550 Aws::Vector<KeyValuePair> m_environment;
551 bool m_environmentHasBeenSet = false;
552
553 Aws::Vector<MountPoint> m_mountPoints;
554 bool m_mountPointsHasBeenSet = false;
555
556 bool m_readonlyRootFilesystem;
557 bool m_readonlyRootFilesystemHasBeenSet = false;
558
559 Aws::Vector<Ulimit> m_ulimits;
560 bool m_ulimitsHasBeenSet = false;
561
562 bool m_privileged;
563 bool m_privilegedHasBeenSet = false;
564
565 Aws::String m_user;
566 bool m_userHasBeenSet = false;
567
568 int m_exitCode;
569 bool m_exitCodeHasBeenSet = false;
570
571 Aws::String m_reason;
572 bool m_reasonHasBeenSet = false;
573
574 Aws::String m_containerInstanceArn;
575 bool m_containerInstanceArnHasBeenSet = false;
576
577 Aws::String m_taskArn;
578 bool m_taskArnHasBeenSet = false;
579
580 Aws::String m_logStreamName;
581 bool m_logStreamNameHasBeenSet = false;
582
583 Aws::String m_instanceType;
584 bool m_instanceTypeHasBeenSet = false;
585
586 Aws::Vector<NetworkInterface> m_networkInterfaces;
587 bool m_networkInterfacesHasBeenSet = false;
588
589 Aws::Vector<ResourceRequirement> m_resourceRequirements;
590 bool m_resourceRequirementsHasBeenSet = false;
591
592 LinuxParameters m_linuxParameters;
593 bool m_linuxParametersHasBeenSet = false;
594
595 LogConfiguration m_logConfiguration;
596 bool m_logConfigurationHasBeenSet = false;
597
598 Aws::Vector<Secret> m_secrets;
599 bool m_secretsHasBeenSet = false;
600
601 NetworkConfiguration m_networkConfiguration;
602 bool m_networkConfigurationHasBeenSet = false;
603
604 FargatePlatformConfiguration m_fargatePlatformConfiguration;
605 bool m_fargatePlatformConfigurationHasBeenSet = false;
606
607 EphemeralStorage m_ephemeralStorage;
608 bool m_ephemeralStorageHasBeenSet = false;
609
610 RuntimePlatform m_runtimePlatform;
611 bool m_runtimePlatformHasBeenSet = false;
612
613 RepositoryCredentials m_repositoryCredentials;
614 bool m_repositoryCredentialsHasBeenSet = false;
615 };
616
617} // namespace Model
618} // namespace Batch
619} // namespace Aws
ContainerDetail & WithInstanceType(const char *value)
const Aws::String & GetContainerInstanceArn() const
void SetLinuxParameters(LinuxParameters &&value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
AWS_BATCH_API ContainerDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobRoleArn(Aws::String &&value)
void SetContainerInstanceArn(const Aws::String &value)
ContainerDetail & WithRuntimePlatform(const RuntimePlatform &value)
ContainerDetail & WithLogConfiguration(LogConfiguration &&value)
ContainerDetail & AddMountPoints(const MountPoint &value)
ContainerDetail & WithExecutionRoleArn(Aws::String &&value)
const Aws::String & GetImage() const
ContainerDetail & AddSecrets(Secret &&value)
ContainerDetail & WithUser(const char *value)
ContainerDetail & WithFargatePlatformConfiguration(FargatePlatformConfiguration &&value)
void SetLinuxParameters(const LinuxParameters &value)
ContainerDetail & WithVolumes(Aws::Vector< Volume > &&value)
ContainerDetail & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
const Aws::String & GetExecutionRoleArn() const
ContainerDetail & WithJobRoleArn(Aws::String &&value)
ContainerDetail & WithReason(const char *value)
void SetUlimits(Aws::Vector< Ulimit > &&value)
ContainerDetail & WithLogStreamName(Aws::String &&value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
void SetSecrets(const Aws::Vector< Secret > &value)
ContainerDetail & WithTaskArn(const Aws::String &value)
void SetMountPoints(const Aws::Vector< MountPoint > &value)
ContainerDetail & WithRuntimePlatform(RuntimePlatform &&value)
ContainerDetail & WithCommand(Aws::Vector< Aws::String > &&value)
ContainerDetail & WithContainerInstanceArn(const Aws::String &value)
ContainerDetail & AddUlimits(const Ulimit &value)
void SetExecutionRoleArn(const Aws::String &value)
ContainerDetail & AddEnvironment(const KeyValuePair &value)
ContainerDetail & WithMountPoints(Aws::Vector< MountPoint > &&value)
const Aws::String & GetJobRoleArn() const
ContainerDetail & WithFargatePlatformConfiguration(const FargatePlatformConfiguration &value)
ContainerDetail & WithMemory(int value)
const Aws::String & GetReason() const
ContainerDetail & AddUlimits(Ulimit &&value)
const Aws::Vector< Ulimit > & GetUlimits() const
ContainerDetail & AddVolumes(const Volume &value)
ContainerDetail & WithTaskArn(const char *value)
void SetTaskArn(const Aws::String &value)
const Aws::String & GetTaskArn() const
const Aws::String & GetUser() const
const RepositoryCredentials & GetRepositoryCredentials() const
ContainerDetail & WithExecutionRoleArn(const Aws::String &value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
ContainerDetail & WithContainerInstanceArn(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
void SetMountPoints(Aws::Vector< MountPoint > &&value)
void SetRepositoryCredentials(RepositoryCredentials &&value)
ContainerDetail & WithImage(const Aws::String &value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
ContainerDetail & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetImage(const char *value)
const LinuxParameters & GetLinuxParameters() const
void SetCommand(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Secret > & GetSecrets() const
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetEphemeralStorage(EphemeralStorage &&value)
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
ContainerDetail & WithExecutionRoleArn(const char *value)
ContainerDetail & AddMountPoints(MountPoint &&value)
ContainerDetail & WithJobRoleArn(const Aws::String &value)
ContainerDetail & AddEnvironment(KeyValuePair &&value)
ContainerDetail & WithLinuxParameters(LinuxParameters &&value)
const Aws::String & GetInstanceType() const
void SetContainerInstanceArn(const char *value)
void SetLogConfiguration(const LogConfiguration &value)
ContainerDetail & WithCommand(const Aws::Vector< Aws::String > &value)
ContainerDetail & WithVolumes(const Aws::Vector< Volume > &value)
const LogConfiguration & GetLogConfiguration() const
ContainerDetail & AddNetworkInterfaces(NetworkInterface &&value)
void SetExecutionRoleArn(const char *value)
ContainerDetail & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
const Aws::Vector< MountPoint > & GetMountPoints() const
void SetInstanceType(const char *value)
ContainerDetail & WithLogStreamName(const Aws::String &value)
void SetContainerInstanceArn(Aws::String &&value)
AWS_BATCH_API ContainerDetail(Aws::Utils::Json::JsonView jsonValue)
ContainerDetail & AddCommand(const Aws::String &value)
ContainerDetail & WithLogConfiguration(const LogConfiguration &value)
ContainerDetail & WithReadonlyRootFilesystem(bool value)
ContainerDetail & WithRepositoryCredentials(const RepositoryCredentials &value)
void SetFargatePlatformConfiguration(const FargatePlatformConfiguration &value)
ContainerDetail & AddCommand(Aws::String &&value)
void SetRepositoryCredentials(const RepositoryCredentials &value)
ContainerDetail & WithUlimits(Aws::Vector< Ulimit > &&value)
void SetTaskArn(Aws::String &&value)
ContainerDetail & WithRepositoryCredentials(RepositoryCredentials &&value)
void SetJobRoleArn(const Aws::String &value)
void SetTaskArn(const char *value)
ContainerDetail & WithContainerInstanceArn(const char *value)
ContainerDetail & WithLinuxParameters(const LinuxParameters &value)
const NetworkConfiguration & GetNetworkConfiguration() const
ContainerDetail & WithUser(Aws::String &&value)
ContainerDetail & WithReason(const Aws::String &value)
void SetLogStreamName(const Aws::String &value)
ContainerDetail & WithUser(const Aws::String &value)
ContainerDetail & WithSecrets(const Aws::Vector< Secret > &value)
ContainerDetail & WithNetworkConfiguration(NetworkConfiguration &&value)
ContainerDetail & WithSecrets(Aws::Vector< Secret > &&value)
void SetRuntimePlatform(RuntimePlatform &&value)
ContainerDetail & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
void SetUser(Aws::String &&value)
void SetVolumes(Aws::Vector< Volume > &&value)
const Aws::String & GetLogStreamName() const
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
void SetFargatePlatformConfiguration(FargatePlatformConfiguration &&value)
const Aws::Vector< Aws::String > & GetCommand() const
ContainerDetail & AddNetworkInterfaces(const NetworkInterface &value)
ContainerDetail & WithUlimits(const Aws::Vector< Ulimit > &value)
ContainerDetail & WithVcpus(int value)
ContainerDetail & WithPrivileged(bool value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
void SetNetworkConfiguration(const NetworkConfiguration &value)
void SetUlimits(const Aws::Vector< Ulimit > &value)
ContainerDetail & AddVolumes(Volume &&value)
void SetUser(const Aws::String &value)
ContainerDetail & WithExitCode(int value)
void SetImage(Aws::String &&value)
void SetRuntimePlatform(const RuntimePlatform &value)
const RuntimePlatform & GetRuntimePlatform() const
void SetLogStreamName(const char *value)
const EphemeralStorage & GetEphemeralStorage() const
ContainerDetail & WithImage(const char *value)
void SetLogStreamName(Aws::String &&value)
void SetReason(const char *value)
ContainerDetail & WithTaskArn(Aws::String &&value)
ContainerDetail & WithLogStreamName(const char *value)
ContainerDetail & WithImage(Aws::String &&value)
void SetSecrets(Aws::Vector< Secret > &&value)
void SetCommand(Aws::Vector< Aws::String > &&value)
ContainerDetail & WithInstanceType(const Aws::String &value)
ContainerDetail & WithNetworkConfiguration(const NetworkConfiguration &value)
ContainerDetail & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
ContainerDetail & WithReason(Aws::String &&value)
const FargatePlatformConfiguration & GetFargatePlatformConfiguration() const
void SetVolumes(const Aws::Vector< Volume > &value)
void SetImage(const Aws::String &value)
void SetReason(const Aws::String &value)
ContainerDetail & AddResourceRequirements(const ResourceRequirement &value)
void SetLogConfiguration(LogConfiguration &&value)
void SetReason(Aws::String &&value)
ContainerDetail & WithEphemeralStorage(const EphemeralStorage &value)
ContainerDetail & WithEphemeralStorage(EphemeralStorage &&value)
ContainerDetail & WithMountPoints(const Aws::Vector< MountPoint > &value)
void SetJobRoleArn(const char *value)
ContainerDetail & AddSecrets(const Secret &value)
ContainerDetail & AddCommand(const char *value)
ContainerDetail & WithJobRoleArn(const char *value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetEphemeralStorage(const EphemeralStorage &value)
void SetInstanceType(Aws::String &&value)
void SetExecutionRoleArn(Aws::String &&value)
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerDetail & AddResourceRequirements(ResourceRequirement &&value)
ContainerDetail & WithInstanceType(Aws::String &&value)
ContainerDetail & WithEnvironment(const Aws::Vector< KeyValuePair > &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