7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pipes/Pipes_EXPORTS.h>
10#include <aws/pipes/model/BatchEnvironmentVariable.h>
11#include <aws/pipes/model/BatchResourceRequirement.h>
44 template <
typename CommandT = Aws::Vector<Aws::String>>
46 m_commandHasBeenSet =
true;
47 m_command = std::forward<CommandT>(value);
49 template <
typename CommandT = Aws::Vector<Aws::String>>
54 template <
typename CommandT = Aws::String>
56 m_commandHasBeenSet =
true;
57 m_command.emplace_back(std::forward<CommandT>(value));
73 template <
typename EnvironmentT = Aws::Vector<BatchEnvironmentVariable>>
75 m_environmentHasBeenSet =
true;
76 m_environment = std::forward<EnvironmentT>(value);
78 template <
typename EnvironmentT = Aws::Vector<BatchEnvironmentVariable>>
83 template <
typename EnvironmentT = BatchEnvironmentVariable>
85 m_environmentHasBeenSet =
true;
86 m_environment.emplace_back(std::forward<EnvironmentT>(value));
99 template <
typename InstanceTypeT = Aws::String>
101 m_instanceTypeHasBeenSet =
true;
102 m_instanceType = std::forward<InstanceTypeT>(value);
104 template <
typename InstanceTypeT = Aws::String>
119 template <
typename ResourceRequirementsT = Aws::Vector<BatchResourceRequirement>>
121 m_resourceRequirementsHasBeenSet =
true;
122 m_resourceRequirements = std::forward<ResourceRequirementsT>(value);
124 template <
typename ResourceRequirementsT = Aws::Vector<BatchResourceRequirement>>
129 template <
typename ResourceRequirementsT = BatchResourceRequirement>
131 m_resourceRequirementsHasBeenSet =
true;
132 m_resourceRequirements.emplace_back(std::forward<ResourceRequirementsT>(value));
144 bool m_commandHasBeenSet =
false;
145 bool m_environmentHasBeenSet =
false;
146 bool m_instanceTypeHasBeenSet =
false;
147 bool m_resourceRequirementsHasBeenSet =
false;
void SetResourceRequirements(ResourceRequirementsT &&value)
AWS_PIPES_API BatchContainerOverrides(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< BatchEnvironmentVariable > & GetEnvironment() const
BatchContainerOverrides & WithCommand(CommandT &&value)
BatchContainerOverrides & AddCommand(CommandT &&value)
AWS_PIPES_API BatchContainerOverrides()=default
bool ResourceRequirementsHasBeenSet() const
bool CommandHasBeenSet() const
AWS_PIPES_API BatchContainerOverrides & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchContainerOverrides & WithResourceRequirements(ResourceRequirementsT &&value)
const Aws::String & GetInstanceType() const
BatchContainerOverrides & WithInstanceType(InstanceTypeT &&value)
BatchContainerOverrides & AddResourceRequirements(ResourceRequirementsT &&value)
void SetInstanceType(InstanceTypeT &&value)
BatchContainerOverrides & WithEnvironment(EnvironmentT &&value)
const Aws::Vector< Aws::String > & GetCommand() const
bool InstanceTypeHasBeenSet() const
const Aws::Vector< BatchResourceRequirement > & GetResourceRequirements() const
void SetEnvironment(EnvironmentT &&value)
BatchContainerOverrides & AddEnvironment(EnvironmentT &&value)
void SetCommand(CommandT &&value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnvironmentHasBeenSet() 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