7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/CEState.h>
10#include <aws/batch/model/CEType.h>
11#include <aws/batch/model/ComputeResource.h>
12#include <aws/batch/model/EcsSettings.h>
13#include <aws/batch/model/EksConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
49 template <
typename ComputeEnvironmentNameT = Aws::String>
51 m_computeEnvironmentNameHasBeenSet =
true;
52 m_computeEnvironmentName = std::forward<ComputeEnvironmentNameT>(value);
54 template <
typename ComputeEnvironmentNameT = Aws::String>
71 m_typeHasBeenSet =
true;
107 m_stateHasBeenSet =
true;
128 m_unmanagedvCpusHasBeenSet =
true;
129 m_unmanagedvCpus = value;
147 template <
typename ComputeResourcesT = ComputeResource>
149 m_computeResourcesHasBeenSet =
true;
150 m_computeResources = std::forward<ComputeResourcesT>(value);
152 template <
typename ComputeResourcesT = ComputeResource>
189 template <
typename ServiceRoleT = Aws::String>
191 m_serviceRoleHasBeenSet =
true;
192 m_serviceRole = std::forward<ServiceRoleT>(value);
194 template <
typename ServiceRoleT = Aws::String>
217 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
219 m_tagsHasBeenSet =
true;
220 m_tags = std::forward<TagsT>(value);
222 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
224 SetTags(std::forward<TagsT>(value));
227 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
229 m_tagsHasBeenSet =
true;
230 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
244 template <
typename EksConfigurationT = EksConfiguration>
246 m_eksConfigurationHasBeenSet =
true;
247 m_eksConfiguration = std::forward<EksConfigurationT>(value);
249 template <
typename EksConfigurationT = EksConfiguration>
262 template <
typename ContextT = Aws::String>
264 m_contextHasBeenSet =
true;
265 m_context = std::forward<ContextT>(value);
267 template <
typename ContextT = Aws::String>
281 template <
typename EcsSettingsT = EcsSettings>
283 m_ecsSettingsHasBeenSet =
true;
284 m_ecsSettings = std::forward<EcsSettingsT>(value);
286 template <
typename EcsSettingsT = EcsSettings>
299 int m_unmanagedvCpus{0};
301 ComputeResource m_computeResources;
307 EksConfiguration m_eksConfiguration;
311 EcsSettings m_ecsSettings;
312 bool m_computeEnvironmentNameHasBeenSet =
false;
313 bool m_typeHasBeenSet =
false;
314 bool m_stateHasBeenSet =
false;
315 bool m_unmanagedvCpusHasBeenSet =
false;
316 bool m_computeResourcesHasBeenSet =
false;
317 bool m_serviceRoleHasBeenSet =
false;
318 bool m_tagsHasBeenSet =
false;
319 bool m_eksConfigurationHasBeenSet =
false;
320 bool m_contextHasBeenSet =
false;
321 bool m_ecsSettingsHasBeenSet =
false;
CreateComputeEnvironmentRequest & WithTags(TagsT &&value)
bool EcsSettingsHasBeenSet() const
CreateComputeEnvironmentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetType(CEType value)
void SetState(CEState value)
CreateComputeEnvironmentRequest & WithServiceRole(ServiceRoleT &&value)
void SetUnmanagedvCpus(int value)
const EcsSettings & GetEcsSettings() const
AWS_BATCH_API CreateComputeEnvironmentRequest()=default
void SetComputeResources(ComputeResourcesT &&value)
bool ContextHasBeenSet() const
CreateComputeEnvironmentRequest & WithUnmanagedvCpus(int value)
CreateComputeEnvironmentRequest & WithState(CEState value)
CreateComputeEnvironmentRequest & WithContext(ContextT &&value)
bool EksConfigurationHasBeenSet() const
CreateComputeEnvironmentRequest & WithType(CEType value)
CreateComputeEnvironmentRequest & WithEcsSettings(EcsSettingsT &&value)
const ComputeResource & GetComputeResources() const
int GetUnmanagedvCpus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool StateHasBeenSet() const
CreateComputeEnvironmentRequest & WithComputeEnvironmentName(ComputeEnvironmentNameT &&value)
bool TypeHasBeenSet() const
bool ServiceRoleHasBeenSet() const
CreateComputeEnvironmentRequest & WithComputeResources(ComputeResourcesT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
bool ComputeEnvironmentNameHasBeenSet() const
bool UnmanagedvCpusHasBeenSet() const
const Aws::String & GetServiceRole() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
void SetEksConfiguration(EksConfigurationT &&value)
void SetComputeEnvironmentName(ComputeEnvironmentNameT &&value)
const EksConfiguration & GetEksConfiguration() const
void SetServiceRole(ServiceRoleT &&value)
const Aws::String & GetContext() const
bool TagsHasBeenSet() const
const Aws::String & GetComputeEnvironmentName() const
CreateComputeEnvironmentRequest & WithEksConfiguration(EksConfigurationT &&value)
void SetContext(ContextT &&value)
void SetEcsSettings(EcsSettingsT &&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