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>
91 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
115 bool m_commandHasBeenSet =
false;
118 bool m_environmentHasBeenSet =
false;
121 bool m_nameHasBeenSet =
false;
124 bool m_resourceRequirementsHasBeenSet =
false;
void SetCommand(const Aws::Vector< Aws::String > &value)
TaskContainerOverrides & AddCommand(const char *value)
TaskContainerOverrides & WithCommand(Aws::Vector< Aws::String > &&value)
TaskContainerOverrides & AddEnvironment(const KeyValuePair &value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
TaskContainerOverrides & AddResourceRequirements(const ResourceRequirement &value)
TaskContainerOverrides & AddCommand(Aws::String &&value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
TaskContainerOverrides & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
AWS_BATCH_API TaskContainerOverrides(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
TaskContainerOverrides & WithCommand(const Aws::Vector< Aws::String > &value)
AWS_BATCH_API TaskContainerOverrides & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
bool EnvironmentHasBeenSet() const
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
const Aws::Vector< Aws::String > & GetCommand() const
void SetCommand(Aws::Vector< Aws::String > &&value)
bool NameHasBeenSet() const
AWS_BATCH_API TaskContainerOverrides()
void SetName(const char *value)
TaskContainerOverrides & AddCommand(const Aws::String &value)
TaskContainerOverrides & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
bool ResourceRequirementsHasBeenSet() const
TaskContainerOverrides & WithName(const Aws::String &value)
TaskContainerOverrides & WithName(const char *value)
TaskContainerOverrides & AddEnvironment(KeyValuePair &&value)
TaskContainerOverrides & WithName(Aws::String &&value)
TaskContainerOverrides & AddResourceRequirements(ResourceRequirement &&value)
TaskContainerOverrides & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
bool CommandHasBeenSet() const
TaskContainerOverrides & WithResourceRequirements(const 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