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/EksContainerResourceRequirements.h>
11#include <aws/batch/model/EksContainerSecurityContext.h>
12#include <aws/batch/model/EksContainerEnvironmentVariable.h>
13#include <aws/batch/model/EksContainerVolumeMount.h>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
71 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
90 inline void SetImagePullPolicy(
const char* value) { m_imagePullPolicyHasBeenSet =
true; m_imagePullPolicy.assign(value); }
187 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
200 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
241 bool m_nameHasBeenSet =
false;
244 bool m_imageHasBeenSet =
false;
247 bool m_imagePullPolicyHasBeenSet =
false;
250 bool m_commandHasBeenSet =
false;
253 bool m_argsHasBeenSet =
false;
256 bool m_envHasBeenSet =
false;
259 bool m_resourcesHasBeenSet =
false;
262 bool m_exitCodeHasBeenSet =
false;
265 bool m_reasonHasBeenSet =
false;
268 bool m_volumeMountsHasBeenSet =
false;
271 bool m_securityContextHasBeenSet =
false;
void SetResources(EksContainerResourceRequirements &&value)
bool EnvHasBeenSet() const
EksContainerDetail & WithImagePullPolicy(Aws::String &&value)
EksContainerDetail & WithEnv(const Aws::Vector< EksContainerEnvironmentVariable > &value)
EksContainerDetail & AddEnv(EksContainerEnvironmentVariable &&value)
void SetReason(const Aws::String &value)
bool ImagePullPolicyHasBeenSet() const
const Aws::Vector< EksContainerEnvironmentVariable > & GetEnv() const
EksContainerDetail & AddCommand(Aws::String &&value)
void SetSecurityContext(EksContainerSecurityContext &&value)
void SetArgs(Aws::Vector< Aws::String > &&value)
AWS_BATCH_API EksContainerDetail(Aws::Utils::Json::JsonView jsonValue)
void SetEnv(const Aws::Vector< EksContainerEnvironmentVariable > &value)
EksContainerDetail & WithImage(Aws::String &&value)
void SetCommand(const Aws::Vector< Aws::String > &value)
void SetImage(Aws::String &&value)
const Aws::Vector< Aws::String > & GetArgs() const
void SetReason(Aws::String &&value)
EksContainerDetail & WithImagePullPolicy(const Aws::String &value)
bool ExitCodeHasBeenSet() const
void SetCommand(Aws::Vector< Aws::String > &&value)
EksContainerDetail & AddCommand(const Aws::String &value)
EksContainerDetail & WithCommand(Aws::Vector< Aws::String > &&value)
bool SecurityContextHasBeenSet() const
void SetReason(const char *value)
void SetImagePullPolicy(Aws::String &&value)
EksContainerDetail & AddArgs(const char *value)
void SetSecurityContext(const EksContainerSecurityContext &value)
EksContainerDetail & WithArgs(const Aws::Vector< Aws::String > &value)
EksContainerDetail & WithResources(EksContainerResourceRequirements &&value)
EksContainerDetail & WithImage(const Aws::String &value)
EksContainerDetail & AddVolumeMounts(const EksContainerVolumeMount &value)
const Aws::String & GetImagePullPolicy() const
const Aws::String & GetReason() const
EksContainerDetail & WithName(Aws::String &&value)
EksContainerDetail & AddCommand(const char *value)
EksContainerDetail & AddVolumeMounts(EksContainerVolumeMount &&value)
void SetVolumeMounts(const Aws::Vector< EksContainerVolumeMount > &value)
EksContainerDetail & WithCommand(const Aws::Vector< Aws::String > &value)
bool CommandHasBeenSet() const
bool NameHasBeenSet() const
EksContainerDetail & WithVolumeMounts(const Aws::Vector< EksContainerVolumeMount > &value)
EksContainerDetail & WithName(const Aws::String &value)
EksContainerDetail & WithArgs(Aws::Vector< Aws::String > &&value)
EksContainerDetail & WithName(const char *value)
void SetImage(const char *value)
EksContainerDetail & AddArgs(Aws::String &&value)
void SetResources(const EksContainerResourceRequirements &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EksContainerDetail & WithReason(const char *value)
EksContainerDetail & WithSecurityContext(EksContainerSecurityContext &&value)
EksContainerDetail & AddArgs(const Aws::String &value)
const EksContainerSecurityContext & GetSecurityContext() const
const Aws::String & GetImage() const
void SetArgs(const Aws::Vector< Aws::String > &value)
EksContainerDetail & WithImagePullPolicy(const char *value)
EksContainerDetail & WithExitCode(int value)
bool VolumeMountsHasBeenSet() const
void SetImage(const Aws::String &value)
EksContainerDetail & WithSecurityContext(const EksContainerSecurityContext &value)
EksContainerDetail & WithResources(const EksContainerResourceRequirements &value)
void SetName(const Aws::String &value)
bool ImageHasBeenSet() const
void SetName(const char *value)
bool ReasonHasBeenSet() const
const EksContainerResourceRequirements & GetResources() const
EksContainerDetail & AddEnv(const EksContainerEnvironmentVariable &value)
const Aws::Vector< EksContainerVolumeMount > & GetVolumeMounts() const
void SetVolumeMounts(Aws::Vector< EksContainerVolumeMount > &&value)
void SetImagePullPolicy(const char *value)
EksContainerDetail & WithReason(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCommand() const
const Aws::String & GetName() const
void SetName(Aws::String &&value)
bool ResourcesHasBeenSet() const
EksContainerDetail & WithEnv(Aws::Vector< EksContainerEnvironmentVariable > &&value)
AWS_BATCH_API EksContainerDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExitCode(int value)
void SetEnv(Aws::Vector< EksContainerEnvironmentVariable > &&value)
EksContainerDetail & WithReason(Aws::String &&value)
EksContainerDetail & WithImage(const char *value)
bool ArgsHasBeenSet() const
EksContainerDetail & WithVolumeMounts(Aws::Vector< EksContainerVolumeMount > &&value)
void SetImagePullPolicy(const Aws::String &value)
AWS_BATCH_API EksContainerDetail()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue