7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pipes/model/BatchEnvironmentVariable.h>
11#include <aws/pipes/model/BatchResourceRequirement.h>
50 template<
typename CommandT = Aws::Vector<Aws::String>>
51 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
52 template<
typename CommandT = Aws::Vector<Aws::String>>
54 template<
typename CommandT = Aws::String>
69 template<
typename EnvironmentT = Aws::Vector<BatchEnvironmentVariable>>
70 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
71 template<
typename EnvironmentT = Aws::Vector<BatchEnvironmentVariable>>
73 template<
typename EnvironmentT = BatchEnvironmentVariable>
85 template<
typename InstanceTypeT = Aws::String>
86 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
87 template<
typename InstanceTypeT = Aws::String>
99 template<
typename ResourceRequirementsT = Aws::Vector<BatchResourceRequirement>>
100 void SetResourceRequirements(ResourceRequirementsT&& value) { m_resourceRequirementsHasBeenSet =
true; m_resourceRequirements = std::forward<ResourceRequirementsT>(value); }
101 template<
typename ResourceRequirementsT = Aws::Vector<BatchResourceRequirement>>
103 template<
typename ResourceRequirementsT = BatchResourceRequirement>
109 bool m_commandHasBeenSet =
false;
112 bool m_environmentHasBeenSet =
false;
115 bool m_instanceTypeHasBeenSet =
false;
118 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