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>
59 inline void SetComputeEnvironmentName(
const char* value) { m_computeEnvironmentNameHasBeenSet =
true; m_computeEnvironmentName.assign(value); }
73 inline void SetComputeEnvironmentArn(
const char* value) { m_computeEnvironmentArnHasBeenSet =
true; m_computeEnvironmentArn.assign(value); }
86 inline void SetUnmanagedvCpus(
int value) { m_unmanagedvCpusHasBeenSet =
true; m_unmanagedvCpus = value; }
99 inline void SetEcsClusterArn(
const char* value) { m_ecsClusterArnHasBeenSet =
true; m_ecsClusterArn.assign(value); }
133 inline void SetType(
const CEType& value) { m_typeHasBeenSet =
true; m_type = value; }
134 inline void SetType(
CEType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
164 inline void SetState(
const CEState& value) { m_stateHasBeenSet =
true; m_state = value; }
165 inline void SetState(
CEState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
178 inline void SetStatus(
CEStatus&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
192 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
225 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
281 inline void SetUuid(
const char* value) { m_uuidHasBeenSet =
true; m_uuid.assign(value); }
295 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
303 bool m_computeEnvironmentNameHasBeenSet =
false;
306 bool m_computeEnvironmentArnHasBeenSet =
false;
308 int m_unmanagedvCpus;
309 bool m_unmanagedvCpusHasBeenSet =
false;
312 bool m_ecsClusterArnHasBeenSet =
false;
315 bool m_tagsHasBeenSet =
false;
318 bool m_typeHasBeenSet =
false;
321 bool m_stateHasBeenSet =
false;
324 bool m_statusHasBeenSet =
false;
327 bool m_statusReasonHasBeenSet =
false;
330 bool m_computeResourcesHasBeenSet =
false;
333 bool m_serviceRoleHasBeenSet =
false;
336 bool m_updatePolicyHasBeenSet =
false;
339 bool m_eksConfigurationHasBeenSet =
false;
342 bool m_containerOrchestrationTypeHasBeenSet =
false;
345 bool m_uuidHasBeenSet =
false;
348 bool m_contextHasBeenSet =
false;
ComputeEnvironmentDetail & WithEcsClusterArn(const Aws::String &value)
bool ContainerOrchestrationTypeHasBeenSet() const
void SetComputeEnvironmentArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool UnmanagedvCpusHasBeenSet() const
ComputeEnvironmentDetail & WithType(CEType &&value)
void SetStatus(const CEStatus &value)
bool EcsClusterArnHasBeenSet() const
void SetContainerOrchestrationType(const OrchestrationType &value)
ComputeEnvironmentDetail & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ComputeEnvironmentDetail & WithComputeEnvironmentArn(Aws::String &&value)
void SetContainerOrchestrationType(OrchestrationType &&value)
ComputeEnvironmentDetail & WithComputeEnvironmentArn(const char *value)
void SetServiceRole(const char *value)
void SetType(CEType &&value)
void SetComputeEnvironmentArn(const Aws::String &value)
ComputeEnvironmentDetail & AddTags(const char *key, const char *value)
const EksConfiguration & GetEksConfiguration() const
AWS_BATCH_API ComputeEnvironmentDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceRole() const
ComputeEnvironmentDetail & AddTags(const char *key, Aws::String &&value)
ComputeEnvironmentDetail & WithUuid(const char *value)
void SetComputeResources(const ComputeResource &value)
void SetStatusReason(const char *value)
ComputeEnvironmentDetail & WithComputeEnvironmentName(const char *value)
bool EksConfigurationHasBeenSet() const
const Aws::String & GetEcsClusterArn() const
bool ServiceRoleHasBeenSet() const
bool ContextHasBeenSet() const
const Aws::String & GetUuid() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ComputeEnvironmentDetail & WithServiceRole(const Aws::String &value)
ComputeEnvironmentDetail & WithUpdatePolicy(UpdatePolicy &&value)
ComputeEnvironmentDetail & WithComputeResources(const ComputeResource &value)
ComputeEnvironmentDetail & WithComputeEnvironmentName(Aws::String &&value)
ComputeEnvironmentDetail & WithUuid(const Aws::String &value)
void SetUpdatePolicy(const UpdatePolicy &value)
void SetServiceRole(Aws::String &&value)
bool ComputeEnvironmentArnHasBeenSet() const
const UpdatePolicy & GetUpdatePolicy() const
const Aws::String & GetContext() const
void SetComputeEnvironmentArn(Aws::String &&value)
ComputeEnvironmentDetail & WithContext(const Aws::String &value)
ComputeEnvironmentDetail & AddTags(Aws::String &&key, Aws::String &&value)
void SetServiceRole(const Aws::String &value)
ComputeEnvironmentDetail & WithEksConfiguration(const EksConfiguration &value)
bool StateHasBeenSet() const
const Aws::String & GetComputeEnvironmentArn() const
ComputeEnvironmentDetail & WithStatus(CEStatus &&value)
void SetEksConfiguration(EksConfiguration &&value)
const CEType & GetType() const
ComputeEnvironmentDetail & WithComputeResources(ComputeResource &&value)
const Aws::String & GetComputeEnvironmentName() const
ComputeEnvironmentDetail & WithContext(Aws::String &&value)
bool ComputeEnvironmentNameHasBeenSet() const
ComputeEnvironmentDetail & WithContainerOrchestrationType(const OrchestrationType &value)
void SetContext(Aws::String &&value)
void SetState(const CEState &value)
AWS_BATCH_API ComputeEnvironmentDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ComputeEnvironmentDetail & WithEcsClusterArn(Aws::String &&value)
ComputeEnvironmentDetail & WithUuid(Aws::String &&value)
ComputeEnvironmentDetail & WithType(const CEType &value)
void SetUuid(const char *value)
ComputeEnvironmentDetail & AddTags(Aws::String &&key, const Aws::String &value)
bool UuidHasBeenSet() const
ComputeEnvironmentDetail & WithState(const CEState &value)
void SetEcsClusterArn(Aws::String &&value)
void SetType(const CEType &value)
bool UpdatePolicyHasBeenSet() const
ComputeEnvironmentDetail & AddTags(const Aws::String &key, Aws::String &&value)
ComputeEnvironmentDetail & AddTags(Aws::String &&key, const char *value)
ComputeEnvironmentDetail & WithContext(const char *value)
bool TypeHasBeenSet() const
ComputeEnvironmentDetail & WithEksConfiguration(EksConfiguration &&value)
void SetStatusReason(const Aws::String &value)
ComputeEnvironmentDetail & WithUnmanagedvCpus(int value)
void SetEcsClusterArn(const char *value)
void SetComputeEnvironmentName(const char *value)
const CEState & GetState() const
ComputeEnvironmentDetail & WithServiceRole(const char *value)
int GetUnmanagedvCpus() const
void SetContext(const char *value)
void SetUnmanagedvCpus(int value)
ComputeEnvironmentDetail & WithState(CEState &&value)
void SetEksConfiguration(const EksConfiguration &value)
ComputeEnvironmentDetail & WithEcsClusterArn(const char *value)
bool TagsHasBeenSet() const
void SetContext(const Aws::String &value)
AWS_BATCH_API ComputeEnvironmentDetail()
const ComputeResource & GetComputeResources() const
ComputeEnvironmentDetail & AddTags(const Aws::String &key, const Aws::String &value)
bool StatusHasBeenSet() const
ComputeEnvironmentDetail & WithUpdatePolicy(const UpdatePolicy &value)
void SetUpdatePolicy(UpdatePolicy &&value)
void SetComputeEnvironmentName(Aws::String &&value)
bool StatusReasonHasBeenSet() const
ComputeEnvironmentDetail & WithServiceRole(Aws::String &&value)
void SetStatus(CEStatus &&value)
ComputeEnvironmentDetail & WithStatusReason(Aws::String &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComputeEnvironmentName(const Aws::String &value)
ComputeEnvironmentDetail & WithStatusReason(const Aws::String &value)
ComputeEnvironmentDetail & WithComputeEnvironmentArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetUuid(const Aws::String &value)
ComputeEnvironmentDetail & WithStatusReason(const char *value)
const Aws::String & GetStatusReason() const
const CEStatus & GetStatus() const
void SetUuid(Aws::String &&value)
ComputeEnvironmentDetail & WithComputeEnvironmentName(const Aws::String &value)
void SetStatusReason(Aws::String &&value)
bool ComputeResourcesHasBeenSet() const
ComputeEnvironmentDetail & WithStatus(const CEStatus &value)
void SetState(CEState &&value)
void SetEcsClusterArn(const Aws::String &value)
void SetComputeResources(ComputeResource &&value)
ComputeEnvironmentDetail & WithContainerOrchestrationType(OrchestrationType &&value)
ComputeEnvironmentDetail & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const OrchestrationType & GetContainerOrchestrationType() 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
Aws::Utils::Json::JsonValue JsonValue