7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/KeyValuePair.h>
9#include <aws/batch/model/ResourceRequirement.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename CommandT = Aws::Vector<Aws::String>>
50 m_commandHasBeenSet =
true;
51 m_command = std::forward<CommandT>(value);
53 template <
typename CommandT = Aws::Vector<Aws::String>>
58 template <
typename CommandT = Aws::String>
60 m_commandHasBeenSet =
true;
61 m_command.emplace_back(std::forward<CommandT>(value));
74 template <
typename InstanceTypeT = Aws::String>
76 m_instanceTypeHasBeenSet =
true;
77 m_instanceType = std::forward<InstanceTypeT>(value);
79 template <
typename InstanceTypeT = Aws::String>
97 template <
typename EnvironmentT = Aws::Vector<KeyValuePair>>
99 m_environmentHasBeenSet =
true;
100 m_environment = std::forward<EnvironmentT>(value);
102 template <
typename EnvironmentT = Aws::Vector<KeyValuePair>>
107 template <
typename EnvironmentT = KeyValuePair>
109 m_environmentHasBeenSet =
true;
110 m_environment.emplace_back(std::forward<EnvironmentT>(value));
123 template <
typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
125 m_resourceRequirementsHasBeenSet =
true;
126 m_resourceRequirements = std::forward<ResourceRequirementsT>(value);
128 template <
typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
133 template <
typename ResourceRequirementsT = ResourceRequirement>
135 m_resourceRequirementsHasBeenSet =
true;
136 m_resourceRequirements.emplace_back(std::forward<ResourceRequirementsT>(value));
148 bool m_commandHasBeenSet =
false;
149 bool m_instanceTypeHasBeenSet =
false;
150 bool m_environmentHasBeenSet =
false;
151 bool m_resourceRequirementsHasBeenSet =
false;
AWS_BATCH_API ContainerOverrides()=default
ContainerOverrides & WithCommand(CommandT &&value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
void SetResourceRequirements(ResourceRequirementsT &&value)
bool EnvironmentHasBeenSet() const
AWS_BATCH_API ContainerOverrides & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceType() const
AWS_BATCH_API ContainerOverrides(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetCommand() const
bool CommandHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
void SetInstanceType(InstanceTypeT &&value)
ContainerOverrides & AddResourceRequirements(ResourceRequirementsT &&value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
bool ResourceRequirementsHasBeenSet() const
ContainerOverrides & WithEnvironment(EnvironmentT &&value)
ContainerOverrides & AddCommand(CommandT &&value)
ContainerOverrides & AddEnvironment(EnvironmentT &&value)
ContainerOverrides & WithInstanceType(InstanceTypeT &&value)
ContainerOverrides & WithResourceRequirements(ResourceRequirementsT &&value)
void SetCommand(CommandT &&value)
bool InstanceTypeHasBeenSet() 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