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>
64 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
91 inline void SetVcpus(
int value) { m_vcpusHasBeenSet =
true; m_vcpus = value; }
104 inline void SetMemory(
int value) { m_memoryHasBeenSet =
true; m_memory = value; }
131 inline void SetJobRoleArn(
const char* value) { m_jobRoleArnHasBeenSet =
true; m_jobRoleArn.assign(value); }
148 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
247 inline void SetPrivileged(
bool value) { m_privilegedHasBeenSet =
true; m_privileged = value; }
265 inline void SetUser(
const char* value) { m_userHasBeenSet =
true; m_user.assign(value); }
277 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
290 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
305 inline void SetContainerInstanceArn(
const char* value) { m_containerInstanceArnHasBeenSet =
true; m_containerInstanceArn.assign(value); }
321 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
338 inline void SetLogStreamName(
const char* value) { m_logStreamNameHasBeenSet =
true; m_logStreamName.assign(value); }
354 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
530 bool m_imageHasBeenSet =
false;
533 bool m_vcpusHasBeenSet =
false;
536 bool m_memoryHasBeenSet =
false;
539 bool m_commandHasBeenSet =
false;
542 bool m_jobRoleArnHasBeenSet =
false;
545 bool m_executionRoleArnHasBeenSet =
false;
548 bool m_volumesHasBeenSet =
false;
551 bool m_environmentHasBeenSet =
false;
554 bool m_mountPointsHasBeenSet =
false;
556 bool m_readonlyRootFilesystem;
557 bool m_readonlyRootFilesystemHasBeenSet =
false;
560 bool m_ulimitsHasBeenSet =
false;
563 bool m_privilegedHasBeenSet =
false;
566 bool m_userHasBeenSet =
false;
569 bool m_exitCodeHasBeenSet =
false;
572 bool m_reasonHasBeenSet =
false;
575 bool m_containerInstanceArnHasBeenSet =
false;
578 bool m_taskArnHasBeenSet =
false;
581 bool m_logStreamNameHasBeenSet =
false;
584 bool m_instanceTypeHasBeenSet =
false;
587 bool m_networkInterfacesHasBeenSet =
false;
590 bool m_resourceRequirementsHasBeenSet =
false;
593 bool m_linuxParametersHasBeenSet =
false;
596 bool m_logConfigurationHasBeenSet =
false;
599 bool m_secretsHasBeenSet =
false;
602 bool m_networkConfigurationHasBeenSet =
false;
605 bool m_fargatePlatformConfigurationHasBeenSet =
false;
608 bool m_ephemeralStorageHasBeenSet =
false;
611 bool m_runtimePlatformHasBeenSet =
false;
614 bool m_repositoryCredentialsHasBeenSet =
false;
ContainerDetail & WithInstanceType(const char *value)
const Aws::String & GetContainerInstanceArn() const
void SetLinuxParameters(LinuxParameters &&value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
bool ReasonHasBeenSet() const
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)
void SetPrivileged(bool value)
ContainerDetail & WithLogConfiguration(LogConfiguration &&value)
ContainerDetail & AddMountPoints(const MountPoint &value)
ContainerDetail & WithExecutionRoleArn(Aws::String &&value)
bool VolumesHasBeenSet() const
const Aws::String & GetImage() const
ContainerDetail & AddSecrets(Secret &&value)
ContainerDetail & WithUser(const char *value)
ContainerDetail & WithFargatePlatformConfiguration(FargatePlatformConfiguration &&value)
void SetLinuxParameters(const LinuxParameters &value)
bool GetPrivileged() const
ContainerDetail & WithVolumes(Aws::Vector< Volume > &&value)
ContainerDetail & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
bool ReadonlyRootFilesystemHasBeenSet() const
const Aws::String & GetExecutionRoleArn() const
bool CommandHasBeenSet() const
ContainerDetail & WithJobRoleArn(Aws::String &&value)
ContainerDetail & WithReason(const char *value)
bool LogConfigurationHasBeenSet() const
void SetUlimits(Aws::Vector< Ulimit > &&value)
ContainerDetail & WithLogStreamName(Aws::String &&value)
bool PrivilegedHasBeenSet() const
bool UlimitsHasBeenSet() const
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)
bool MountPointsHasBeenSet() const
ContainerDetail & AddUlimits(const Ulimit &value)
void SetExecutionRoleArn(const Aws::String &value)
ContainerDetail & AddEnvironment(const KeyValuePair &value)
ContainerDetail & WithMountPoints(Aws::Vector< MountPoint > &&value)
bool ExitCodeHasBeenSet() const
const Aws::String & GetJobRoleArn() const
ContainerDetail & WithFargatePlatformConfiguration(const FargatePlatformConfiguration &value)
ContainerDetail & WithMemory(int value)
bool FargatePlatformConfigurationHasBeenSet() const
const Aws::String & GetReason() const
ContainerDetail & AddUlimits(Ulimit &&value)
AWS_BATCH_API ContainerDetail()
const Aws::Vector< Ulimit > & GetUlimits() const
bool InstanceTypeHasBeenSet() 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)
bool VcpusHasBeenSet() const
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
ContainerDetail & WithContainerInstanceArn(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
void SetMountPoints(Aws::Vector< MountPoint > &&value)
bool ContainerInstanceArnHasBeenSet() const
void SetRepositoryCredentials(RepositoryCredentials &&value)
ContainerDetail & WithImage(const Aws::String &value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
bool NetworkInterfacesHasBeenSet() const
ContainerDetail & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
bool JobRoleArnHasBeenSet() const
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)
bool ResourceRequirementsHasBeenSet() const
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)
bool EphemeralStorageHasBeenSet() const
ContainerDetail & AddEnvironment(KeyValuePair &&value)
ContainerDetail & WithLinuxParameters(LinuxParameters &&value)
void SetExitCode(int 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)
bool LogStreamNameHasBeenSet() const
ContainerDetail & WithLogStreamName(const Aws::String &value)
bool TaskArnHasBeenSet() const
void SetContainerInstanceArn(Aws::String &&value)
bool LinuxParametersHasBeenSet() const
bool EnvironmentHasBeenSet() const
bool RuntimePlatformHasBeenSet() const
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 SetMemory(int value)
bool GetReadonlyRootFilesystem() const
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)
void SetReadonlyRootFilesystem(bool 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)
bool ImageHasBeenSet() const
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)
bool UserHasBeenSet() const
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)
bool NetworkConfigurationHasBeenSet() const
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)
bool RepositoryCredentialsHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
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 SetUser(const char *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)
bool SecretsHasBeenSet() const
ContainerDetail & WithInstanceType(Aws::String &&value)
ContainerDetail & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
const Aws::Vector< Volume > & GetVolumes() const
bool MemoryHasBeenSet() 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