7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/CEState.h>
9#include <aws/batch/model/CEStatus.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/batch/model/OrchestrationType.h>
15#include <aws/batch/model/UpdatePolicy.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
52 template <
typename ComputeEnvironmentNameT = Aws::String>
54 m_computeEnvironmentNameHasBeenSet =
true;
55 m_computeEnvironmentName = std::forward<ComputeEnvironmentNameT>(value);
57 template <
typename ComputeEnvironmentNameT = Aws::String>
70 template <
typename ComputeEnvironmentArnT = Aws::String>
72 m_computeEnvironmentArnHasBeenSet =
true;
73 m_computeEnvironmentArn = std::forward<ComputeEnvironmentArnT>(value);
75 template <
typename ComputeEnvironmentArnT = Aws::String>
90 m_unmanagedvCpusHasBeenSet =
true;
91 m_unmanagedvCpus = value;
106 template <
typename EcsClusterArnT = Aws::String>
108 m_ecsClusterArnHasBeenSet =
true;
109 m_ecsClusterArn = std::forward<EcsClusterArnT>(value);
111 template <
typename EcsClusterArnT = Aws::String>
124 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 m_tagsHasBeenSet =
true;
127 m_tags = std::forward<TagsT>(value);
129 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 SetTags(std::forward<TagsT>(value));
134 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
136 m_tagsHasBeenSet =
true;
137 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
152 m_typeHasBeenSet =
true;
186 m_stateHasBeenSet =
true;
203 m_statusHasBeenSet =
true;
219 template <
typename StatusReasonT = Aws::String>
221 m_statusReasonHasBeenSet =
true;
222 m_statusReason = std::forward<StatusReasonT>(value);
224 template <
typename StatusReasonT = Aws::String>
240 template <
typename ComputeResourcesT = ComputeResource>
242 m_computeResourcesHasBeenSet =
true;
243 m_computeResources = std::forward<ComputeResourcesT>(value);
245 template <
typename ComputeResourcesT = ComputeResource>
262 template <
typename ServiceRoleT = Aws::String>
264 m_serviceRoleHasBeenSet =
true;
265 m_serviceRole = std::forward<ServiceRoleT>(value);
267 template <
typename ServiceRoleT = Aws::String>
283 template <
typename UpdatePolicyT = UpdatePolicy>
285 m_updatePolicyHasBeenSet =
true;
286 m_updatePolicy = std::forward<UpdatePolicyT>(value);
288 template <
typename UpdatePolicyT = UpdatePolicy>
303 template <
typename EksConfigurationT = EksConfiguration>
305 m_eksConfigurationHasBeenSet =
true;
306 m_eksConfiguration = std::forward<EksConfigurationT>(value);
308 template <
typename EksConfigurationT = EksConfiguration>
323 m_containerOrchestrationTypeHasBeenSet =
true;
324 m_containerOrchestrationType = value;
338 template <
typename Uu
idT = Aws::String>
340 m_uuidHasBeenSet =
true;
341 m_uuid = std::forward<UuidT>(value);
343 template <
typename Uu
idT = Aws::String>
345 SetUuid(std::forward<UuidT>(value));
356 template <
typename ContextT = Aws::String>
358 m_contextHasBeenSet =
true;
359 m_context = std::forward<ContextT>(value);
361 template <
typename ContextT = Aws::String>
375 template <
typename EcsSettingsT = EcsSettings>
377 m_ecsSettingsHasBeenSet =
true;
378 m_ecsSettings = std::forward<EcsSettingsT>(value);
380 template <
typename EcsSettingsT = EcsSettings>
391 int m_unmanagedvCpus{0};
405 ComputeResource m_computeResources;
409 UpdatePolicy m_updatePolicy;
411 EksConfiguration m_eksConfiguration;
419 EcsSettings m_ecsSettings;
420 bool m_computeEnvironmentNameHasBeenSet =
false;
421 bool m_computeEnvironmentArnHasBeenSet =
false;
422 bool m_unmanagedvCpusHasBeenSet =
false;
423 bool m_ecsClusterArnHasBeenSet =
false;
424 bool m_tagsHasBeenSet =
false;
425 bool m_typeHasBeenSet =
false;
426 bool m_stateHasBeenSet =
false;
427 bool m_statusHasBeenSet =
false;
428 bool m_statusReasonHasBeenSet =
false;
429 bool m_computeResourcesHasBeenSet =
false;
430 bool m_serviceRoleHasBeenSet =
false;
431 bool m_updatePolicyHasBeenSet =
false;
432 bool m_eksConfigurationHasBeenSet =
false;
433 bool m_containerOrchestrationTypeHasBeenSet =
false;
434 bool m_uuidHasBeenSet =
false;
435 bool m_contextHasBeenSet =
false;
436 bool m_ecsSettingsHasBeenSet =
false;
bool ContainerOrchestrationTypeHasBeenSet() const
CEStatus GetStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ComputeEnvironmentDetail & WithContext(ContextT &&value)
bool UnmanagedvCpusHasBeenSet() const
bool EcsClusterArnHasBeenSet() const
ComputeEnvironmentDetail & WithState(CEState value)
void SetType(CEType value)
const EcsSettings & GetEcsSettings() const
void SetUpdatePolicy(UpdatePolicyT &&value)
void SetComputeResources(ComputeResourcesT &&value)
void SetEcsClusterArn(EcsClusterArnT &&value)
const EksConfiguration & GetEksConfiguration() const
AWS_BATCH_API ComputeEnvironmentDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceRole() const
ComputeEnvironmentDetail & WithContainerOrchestrationType(OrchestrationType value)
AWS_BATCH_API ComputeEnvironmentDetail()=default
void SetEcsSettings(EcsSettingsT &&value)
bool EksConfigurationHasBeenSet() const
const Aws::String & GetEcsClusterArn() const
bool ServiceRoleHasBeenSet() const
bool ContextHasBeenSet() const
const Aws::String & GetUuid() const
void SetStatusReason(StatusReasonT &&value)
ComputeEnvironmentDetail & WithComputeEnvironmentArn(ComputeEnvironmentArnT &&value)
ComputeEnvironmentDetail & AddTags(TagsKeyT &&key, TagsValueT &&value)
ComputeEnvironmentDetail & WithEcsSettings(EcsSettingsT &&value)
ComputeEnvironmentDetail & WithServiceRole(ServiceRoleT &&value)
bool ComputeEnvironmentArnHasBeenSet() const
const UpdatePolicy & GetUpdatePolicy() const
const Aws::String & GetContext() const
bool StateHasBeenSet() const
const Aws::String & GetComputeEnvironmentArn() const
ComputeEnvironmentDetail & WithStatusReason(StatusReasonT &&value)
const Aws::String & GetComputeEnvironmentName() const
ComputeEnvironmentDetail & WithType(CEType value)
bool ComputeEnvironmentNameHasBeenSet() const
bool EcsSettingsHasBeenSet() const
AWS_BATCH_API ComputeEnvironmentDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComputeEnvironmentName(ComputeEnvironmentNameT &&value)
bool UuidHasBeenSet() const
void SetServiceRole(ServiceRoleT &&value)
ComputeEnvironmentDetail & WithUuid(UuidT &&value)
OrchestrationType GetContainerOrchestrationType() const
bool UpdatePolicyHasBeenSet() const
void SetComputeEnvironmentArn(ComputeEnvironmentArnT &&value)
bool TypeHasBeenSet() const
void SetState(CEState value)
ComputeEnvironmentDetail & WithTags(TagsT &&value)
ComputeEnvironmentDetail & WithUnmanagedvCpus(int value)
void SetContext(ContextT &&value)
void SetContainerOrchestrationType(OrchestrationType value)
int GetUnmanagedvCpus() const
void SetUnmanagedvCpus(int value)
void SetEksConfiguration(EksConfigurationT &&value)
ComputeEnvironmentDetail & WithComputeResources(ComputeResourcesT &&value)
bool TagsHasBeenSet() const
const ComputeResource & GetComputeResources() const
void SetStatus(CEStatus value)
bool StatusHasBeenSet() const
void SetTags(TagsT &&value)
bool StatusReasonHasBeenSet() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeEnvironmentDetail & WithEksConfiguration(EksConfigurationT &&value)
const Aws::String & GetStatusReason() const
ComputeEnvironmentDetail & WithComputeEnvironmentName(ComputeEnvironmentNameT &&value)
bool ComputeResourcesHasBeenSet() const
void SetUuid(UuidT &&value)
ComputeEnvironmentDetail & WithStatus(CEStatus value)
ComputeEnvironmentDetail & WithUpdatePolicy(UpdatePolicyT &&value)
ComputeEnvironmentDetail & WithEcsClusterArn(EcsClusterArnT &&value)
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
Aws::Utils::Json::JsonValue JsonValue