7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/batch/model/CEType.h>
11#include <aws/batch/model/CEState.h>
12#include <aws/batch/model/CEStatus.h>
13#include <aws/batch/model/ComputeResource.h>
14#include <aws/batch/model/UpdatePolicy.h>
15#include <aws/batch/model/EksConfiguration.h>
16#include <aws/batch/model/OrchestrationType.h>
57 template<
typename ComputeEnvironmentNameT = Aws::String>
58 void SetComputeEnvironmentName(ComputeEnvironmentNameT&& value) { m_computeEnvironmentNameHasBeenSet =
true; m_computeEnvironmentName = std::forward<ComputeEnvironmentNameT>(value); }
59 template<
typename ComputeEnvironmentNameT = Aws::String>
69 template<
typename ComputeEnvironmentArnT = Aws::String>
70 void SetComputeEnvironmentArn(ComputeEnvironmentArnT&& value) { m_computeEnvironmentArnHasBeenSet =
true; m_computeEnvironmentArn = std::forward<ComputeEnvironmentArnT>(value); }
71 template<
typename ComputeEnvironmentArnT = Aws::String>
82 inline void SetUnmanagedvCpus(
int value) { m_unmanagedvCpusHasBeenSet =
true; m_unmanagedvCpus = value; }
93 template<
typename EcsClusterArnT = Aws::String>
94 void SetEcsClusterArn(EcsClusterArnT&& value) { m_ecsClusterArnHasBeenSet =
true; m_ecsClusterArn = std::forward<EcsClusterArnT>(value); }
95 template<
typename EcsClusterArnT = Aws::String>
105 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
107 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
111 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
124 inline void SetType(
CEType value) { m_typeHasBeenSet =
true; m_type = value; }
175 template<
typename StatusReasonT = Aws::String>
176 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
177 template<
typename StatusReasonT = Aws::String>
190 template<
typename ComputeResourcesT = ComputeResource>
191 void SetComputeResources(ComputeResourcesT&& value) { m_computeResourcesHasBeenSet =
true; m_computeResources = std::forward<ComputeResourcesT>(value); }
192 template<
typename ComputeResourcesT = ComputeResource>
206 template<
typename ServiceRoleT = Aws::String>
207 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
208 template<
typename ServiceRoleT = Aws::String>
221 template<
typename UpdatePolicyT = UpdatePolicy>
222 void SetUpdatePolicy(UpdatePolicyT&& value) { m_updatePolicyHasBeenSet =
true; m_updatePolicy = std::forward<UpdatePolicyT>(value); }
223 template<
typename UpdatePolicyT = UpdatePolicy>
235 template<
typename EksConfigurationT = EksConfiguration>
236 void SetEksConfiguration(EksConfigurationT&& value) { m_eksConfigurationHasBeenSet =
true; m_eksConfiguration = std::forward<EksConfigurationT>(value); }
237 template<
typename EksConfigurationT = EksConfiguration>
258 template<
typename Uu
idT = Aws::String>
259 void SetUuid(UuidT&& value) { m_uuidHasBeenSet =
true; m_uuid = std::forward<UuidT>(value); }
260 template<
typename Uu
idT = Aws::String>
270 template<
typename ContextT = Aws::String>
271 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
272 template<
typename ContextT = Aws::String>
278 bool m_computeEnvironmentNameHasBeenSet =
false;
281 bool m_computeEnvironmentArnHasBeenSet =
false;
283 int m_unmanagedvCpus{0};
284 bool m_unmanagedvCpusHasBeenSet =
false;
287 bool m_ecsClusterArnHasBeenSet =
false;
290 bool m_tagsHasBeenSet =
false;
293 bool m_typeHasBeenSet =
false;
296 bool m_stateHasBeenSet =
false;
299 bool m_statusHasBeenSet =
false;
302 bool m_statusReasonHasBeenSet =
false;
304 ComputeResource m_computeResources;
305 bool m_computeResourcesHasBeenSet =
false;
308 bool m_serviceRoleHasBeenSet =
false;
310 UpdatePolicy m_updatePolicy;
311 bool m_updatePolicyHasBeenSet =
false;
313 EksConfiguration m_eksConfiguration;
314 bool m_eksConfigurationHasBeenSet =
false;
317 bool m_containerOrchestrationTypeHasBeenSet =
false;
320 bool m_uuidHasBeenSet =
false;
323 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