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>
58 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
72 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
92 inline void SetImagePullPolicy(
const char* value) { m_imagePullPolicyHasBeenSet =
true; m_imagePullPolicy.assign(value); }
126 inline EksContainer&
AddCommand(
const char* value) { m_commandHasBeenSet =
true; m_command.push_back(value);
return *
this; }
160 inline EksContainer&
AddArgs(
const char* value) { m_argsHasBeenSet =
true; m_args.push_back(value);
return *
this; }
231 bool m_nameHasBeenSet =
false;
234 bool m_imageHasBeenSet =
false;
237 bool m_imagePullPolicyHasBeenSet =
false;
240 bool m_commandHasBeenSet =
false;
243 bool m_argsHasBeenSet =
false;
246 bool m_envHasBeenSet =
false;
249 bool m_resourcesHasBeenSet =
false;
252 bool m_volumeMountsHasBeenSet =
false;
255 bool m_securityContextHasBeenSet =
false;
void SetCommand(Aws::Vector< Aws::String > &&value)
EksContainer & WithImagePullPolicy(Aws::String &&value)
EksContainer & WithArgs(const Aws::Vector< Aws::String > &value)
EksContainer & AddArgs(Aws::String &&value)
bool VolumeMountsHasBeenSet() const
EksContainer & WithName(const char *value)
AWS_BATCH_API EksContainer(Aws::Utils::Json::JsonView jsonValue)
void SetCommand(const Aws::Vector< Aws::String > &value)
void SetVolumeMounts(const Aws::Vector< EksContainerVolumeMount > &value)
void SetVolumeMounts(Aws::Vector< EksContainerVolumeMount > &&value)
void SetArgs(Aws::Vector< Aws::String > &&value)
void SetSecurityContext(const EksContainerSecurityContext &value)
EksContainer & WithImage(const char *value)
bool ArgsHasBeenSet() const
EksContainer & WithResources(const EksContainerResourceRequirements &value)
EksContainer & WithImagePullPolicy(const char *value)
void SetName(const Aws::String &value)
void SetSecurityContext(EksContainerSecurityContext &&value)
EksContainer & WithVolumeMounts(const Aws::Vector< EksContainerVolumeMount > &value)
const Aws::String & GetImage() const
const EksContainerResourceRequirements & GetResources() const
EksContainer & AddArgs(const char *value)
const Aws::Vector< Aws::String > & GetCommand() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API EksContainer()
EksContainer & WithEnv(const Aws::Vector< EksContainerEnvironmentVariable > &value)
void SetImagePullPolicy(const char *value)
EksContainer & AddArgs(const Aws::String &value)
bool ResourcesHasBeenSet() const
EksContainer & WithArgs(Aws::Vector< Aws::String > &&value)
EksContainer & WithImage(Aws::String &&value)
bool EnvHasBeenSet() const
void SetImage(const Aws::String &value)
EksContainer & AddEnv(EksContainerEnvironmentVariable &&value)
EksContainer & AddVolumeMounts(EksContainerVolumeMount &&value)
void SetName(const char *value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
EksContainer & WithResources(EksContainerResourceRequirements &&value)
void SetImage(Aws::String &&value)
void SetResources(const EksContainerResourceRequirements &value)
AWS_BATCH_API EksContainer & operator=(Aws::Utils::Json::JsonView jsonValue)
EksContainer & AddVolumeMounts(const EksContainerVolumeMount &value)
void SetImagePullPolicy(Aws::String &&value)
const Aws::Vector< EksContainerEnvironmentVariable > & GetEnv() const
EksContainer & AddEnv(const EksContainerEnvironmentVariable &value)
bool ImagePullPolicyHasBeenSet() const
const Aws::Vector< Aws::String > & GetArgs() const
bool ImageHasBeenSet() const
void SetEnv(Aws::Vector< EksContainerEnvironmentVariable > &&value)
void SetEnv(const Aws::Vector< EksContainerEnvironmentVariable > &value)
bool CommandHasBeenSet() const
EksContainer & AddCommand(const char *value)
const EksContainerSecurityContext & GetSecurityContext() const
EksContainer & WithCommand(const Aws::Vector< Aws::String > &value)
const Aws::Vector< EksContainerVolumeMount > & GetVolumeMounts() const
EksContainer & WithSecurityContext(EksContainerSecurityContext &&value)
EksContainer & WithSecurityContext(const EksContainerSecurityContext &value)
EksContainer & AddCommand(Aws::String &&value)
EksContainer & WithImage(const Aws::String &value)
void SetImagePullPolicy(const Aws::String &value)
EksContainer & AddCommand(const Aws::String &value)
EksContainer & WithEnv(Aws::Vector< EksContainerEnvironmentVariable > &&value)
void SetResources(EksContainerResourceRequirements &&value)
bool SecurityContextHasBeenSet() const
EksContainer & WithVolumeMounts(Aws::Vector< EksContainerVolumeMount > &&value)
const Aws::String & GetImagePullPolicy() const
EksContainer & WithCommand(Aws::Vector< Aws::String > &&value)
EksContainer & WithName(const Aws::String &value)
EksContainer & WithName(Aws::String &&value)
void SetArgs(const Aws::Vector< Aws::String > &value)
EksContainer & WithImagePullPolicy(const Aws::String &value)
void SetImage(const char *value)
bool NameHasBeenSet() 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