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/EksConfiguration.h>
13#include <aws/batch/model/OrchestrationType.h>
14#include <aws/batch/model/UpdatePolicy.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
51 template <
typename ComputeEnvironmentNameT = Aws::String>
53 m_computeEnvironmentNameHasBeenSet =
true;
54 m_computeEnvironmentName = std::forward<ComputeEnvironmentNameT>(value);
56 template <
typename ComputeEnvironmentNameT = Aws::String>
69 template <
typename ComputeEnvironmentArnT = Aws::String>
71 m_computeEnvironmentArnHasBeenSet =
true;
72 m_computeEnvironmentArn = std::forward<ComputeEnvironmentArnT>(value);
74 template <
typename ComputeEnvironmentArnT = Aws::String>
89 m_unmanagedvCpusHasBeenSet =
true;
90 m_unmanagedvCpus = value;
105 template <
typename EcsClusterArnT = Aws::String>
107 m_ecsClusterArnHasBeenSet =
true;
108 m_ecsClusterArn = std::forward<EcsClusterArnT>(value);
110 template <
typename EcsClusterArnT = Aws::String>
123 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 m_tagsHasBeenSet =
true;
126 m_tags = std::forward<TagsT>(value);
128 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 SetTags(std::forward<TagsT>(value));
133 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
135 m_tagsHasBeenSet =
true;
136 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
151 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>
372 int m_unmanagedvCpus{0};
386 ComputeResource m_computeResources;
390 UpdatePolicy m_updatePolicy;
392 EksConfiguration m_eksConfiguration;
399 bool m_computeEnvironmentNameHasBeenSet =
false;
400 bool m_computeEnvironmentArnHasBeenSet =
false;
401 bool m_unmanagedvCpusHasBeenSet =
false;
402 bool m_ecsClusterArnHasBeenSet =
false;
403 bool m_tagsHasBeenSet =
false;
404 bool m_typeHasBeenSet =
false;
405 bool m_stateHasBeenSet =
false;
406 bool m_statusHasBeenSet =
false;
407 bool m_statusReasonHasBeenSet =
false;
408 bool m_computeResourcesHasBeenSet =
false;
409 bool m_serviceRoleHasBeenSet =
false;
410 bool m_updatePolicyHasBeenSet =
false;
411 bool m_eksConfigurationHasBeenSet =
false;
412 bool m_containerOrchestrationTypeHasBeenSet =
false;
413 bool m_uuidHasBeenSet =
false;
414 bool m_contextHasBeenSet =
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)
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
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 & 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
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