7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/KeyValuePair.h>
11#include <aws/batch/model/ResourceRequirement.h>
73 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
116 bool m_commandHasBeenSet =
false;
119 bool m_instanceTypeHasBeenSet =
false;
122 bool m_environmentHasBeenSet =
false;
125 bool m_resourceRequirementsHasBeenSet =
false;
ContainerOverrides & AddCommand(Aws::String &&value)
ContainerOverrides & WithInstanceType(const Aws::String &value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
ContainerOverrides & AddCommand(const char *value)
ContainerOverrides & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
bool EnvironmentHasBeenSet() const
AWS_BATCH_API ContainerOverrides & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceType() const
void SetInstanceType(Aws::String &&value)
ContainerOverrides & WithInstanceType(Aws::String &&value)
AWS_BATCH_API ContainerOverrides(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API ContainerOverrides()
ContainerOverrides & AddResourceRequirements(const ResourceRequirement &value)
void SetInstanceType(const char *value)
ContainerOverrides & AddCommand(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCommand() const
ContainerOverrides & WithCommand(const Aws::Vector< Aws::String > &value)
bool CommandHasBeenSet() const
void SetCommand(Aws::Vector< Aws::String > &&value)
ContainerOverrides & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
ContainerOverrides & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
ContainerOverrides & WithCommand(Aws::Vector< Aws::String > &&value)
bool ResourceRequirementsHasBeenSet() const
ContainerOverrides & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
ContainerOverrides & AddEnvironment(const KeyValuePair &value)
void SetCommand(const Aws::Vector< Aws::String > &value)
ContainerOverrides & AddEnvironment(KeyValuePair &&value)
ContainerOverrides & AddResourceRequirements(ResourceRequirement &&value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
ContainerOverrides & WithInstanceType(const char *value)
void SetInstanceType(const Aws::String &value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
bool InstanceTypeHasBeenSet() const
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue