7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/BatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/CEType.h>
11#include <aws/batch/model/CEState.h>
12#include <aws/batch/model/ComputeResource.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/batch/model/EksConfiguration.h>
54 inline void SetComputeEnvironmentName(
const char* value) { m_computeEnvironmentNameHasBeenSet =
true; m_computeEnvironmentName.assign(value); }
69 inline void SetType(
const CEType& value) { m_typeHasBeenSet =
true; m_type = value; }
70 inline void SetType(
CEType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
100 inline void SetState(
const CEState& value) { m_stateHasBeenSet =
true; m_state = value; }
101 inline void SetState(
CEState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
117 inline void SetUnmanagedvCpus(
int value) { m_unmanagedvCpusHasBeenSet =
true; m_unmanagedvCpus = value; }
166 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
222 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
230 bool m_computeEnvironmentNameHasBeenSet =
false;
233 bool m_typeHasBeenSet =
false;
236 bool m_stateHasBeenSet =
false;
238 int m_unmanagedvCpus;
239 bool m_unmanagedvCpusHasBeenSet =
false;
242 bool m_computeResourcesHasBeenSet =
false;
245 bool m_serviceRoleHasBeenSet =
false;
248 bool m_tagsHasBeenSet =
false;
251 bool m_eksConfigurationHasBeenSet =
false;
254 bool m_contextHasBeenSet =
false;
void SetType(const CEType &value)
void SetComputeResources(ComputeResource &&value)
CreateComputeEnvironmentRequest & WithContext(const Aws::String &value)
CreateComputeEnvironmentRequest & WithComputeResources(ComputeResource &&value)
CreateComputeEnvironmentRequest & WithEksConfiguration(EksConfiguration &&value)
void SetComputeEnvironmentName(const Aws::String &value)
CreateComputeEnvironmentRequest & WithServiceRole(const char *value)
void SetServiceRole(Aws::String &&value)
CreateComputeEnvironmentRequest & WithServiceRole(Aws::String &&value)
CreateComputeEnvironmentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateComputeEnvironmentRequest & AddTags(const Aws::String &key, Aws::String &&value)
const CEType & GetType() const
void SetUnmanagedvCpus(int value)
void SetContext(const char *value)
void SetEksConfiguration(EksConfiguration &&value)
AWS_BATCH_API CreateComputeEnvironmentRequest()
bool ContextHasBeenSet() const
CreateComputeEnvironmentRequest & WithUnmanagedvCpus(int value)
CreateComputeEnvironmentRequest & AddTags(Aws::String &&key, const char *value)
CreateComputeEnvironmentRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetComputeEnvironmentName(Aws::String &&value)
void SetComputeEnvironmentName(const char *value)
CreateComputeEnvironmentRequest & WithComputeEnvironmentName(Aws::String &&value)
CreateComputeEnvironmentRequest & WithComputeEnvironmentName(const char *value)
bool EksConfigurationHasBeenSet() const
CreateComputeEnvironmentRequest & AddTags(const char *key, const char *value)
void SetEksConfiguration(const EksConfiguration &value)
CreateComputeEnvironmentRequest & AddTags(Aws::String &&key, const Aws::String &value)
const ComputeResource & GetComputeResources() const
CreateComputeEnvironmentRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateComputeEnvironmentRequest & WithServiceRole(const Aws::String &value)
void SetContext(Aws::String &&value)
CreateComputeEnvironmentRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetType(CEType &&value)
int GetUnmanagedvCpus() const
const CEState & GetState() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateComputeEnvironmentRequest & WithState(CEState &&value)
bool StateHasBeenSet() const
void SetContext(const Aws::String &value)
bool TypeHasBeenSet() const
CreateComputeEnvironmentRequest & WithComputeResources(const ComputeResource &value)
CreateComputeEnvironmentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool ServiceRoleHasBeenSet() const
AWS_BATCH_API Aws::String SerializePayload() const override
CreateComputeEnvironmentRequest & WithState(const CEState &value)
bool ComputeEnvironmentNameHasBeenSet() const
bool UnmanagedvCpusHasBeenSet() const
const Aws::String & GetServiceRole() const
CreateComputeEnvironmentRequest & WithContext(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateComputeEnvironmentRequest & WithEksConfiguration(const EksConfiguration &value)
const EksConfiguration & GetEksConfiguration() const
void SetComputeResources(const ComputeResource &value)
void SetServiceRole(const Aws::String &value)
const Aws::String & GetContext() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateComputeEnvironmentRequest & WithType(const CEType &value)
void SetServiceRole(const char *value)
void SetState(CEState &&value)
CreateComputeEnvironmentRequest & WithContext(const char *value)
void SetState(const CEState &value)
bool TagsHasBeenSet() const
const Aws::String & GetComputeEnvironmentName() const
CreateComputeEnvironmentRequest & WithComputeEnvironmentName(const Aws::String &value)
CreateComputeEnvironmentRequest & WithType(CEType &&value)
bool ComputeResourcesHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String