7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/model/ServiceEnvironmentType.h>
10#include <aws/batch/model/ServiceEnvironmentState.h>
11#include <aws/batch/model/ServiceEnvironmentStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/batch/model/CapacityLimit.h>
53 template<
typename ServiceEnvironmentNameT = Aws::String>
54 void SetServiceEnvironmentName(ServiceEnvironmentNameT&& value) { m_serviceEnvironmentNameHasBeenSet =
true; m_serviceEnvironmentName = std::forward<ServiceEnvironmentNameT>(value); }
55 template<
typename ServiceEnvironmentNameT = Aws::String>
65 template<
typename ServiceEnvironmentArnT = Aws::String>
66 void SetServiceEnvironmentArn(ServiceEnvironmentArnT&& value) { m_serviceEnvironmentArnHasBeenSet =
true; m_serviceEnvironmentArn = std::forward<ServiceEnvironmentArnT>(value); }
67 template<
typename ServiceEnvironmentArnT = Aws::String>
110 template<
typename CapacityLimitsT = Aws::Vector<CapacityLimit>>
111 void SetCapacityLimits(CapacityLimitsT&& value) { m_capacityLimitsHasBeenSet =
true; m_capacityLimits = std::forward<CapacityLimitsT>(value); }
112 template<
typename CapacityLimitsT = Aws::Vector<CapacityLimit>>
114 template<
typename CapacityLimitsT = CapacityLimit>
127 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
129 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
133 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
139 bool m_serviceEnvironmentNameHasBeenSet =
false;
142 bool m_serviceEnvironmentArnHasBeenSet =
false;
145 bool m_serviceEnvironmentTypeHasBeenSet =
false;
148 bool m_stateHasBeenSet =
false;
151 bool m_statusHasBeenSet =
false;
154 bool m_capacityLimitsHasBeenSet =
false;
157 bool m_tagsHasBeenSet =
false;
void SetServiceEnvironmentName(ServiceEnvironmentNameT &&value)
bool CapacityLimitsHasBeenSet() const
void SetState(ServiceEnvironmentState value)
void SetCapacityLimits(CapacityLimitsT &&value)
bool ServiceEnvironmentNameHasBeenSet() const
AWS_BATCH_API ServiceEnvironmentDetail()=default
ServiceEnvironmentType GetServiceEnvironmentType() const
ServiceEnvironmentStatus GetStatus() const
bool StateHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ServiceEnvironmentDetail & WithServiceEnvironmentArn(ServiceEnvironmentArnT &&value)
AWS_BATCH_API ServiceEnvironmentDetail(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ServiceEnvironmentStatus value)
void SetServiceEnvironmentArn(ServiceEnvironmentArnT &&value)
const Aws::Vector< CapacityLimit > & GetCapacityLimits() const
AWS_BATCH_API ServiceEnvironmentDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
const Aws::String & GetServiceEnvironmentName() const
void SetTags(TagsT &&value)
bool ServiceEnvironmentTypeHasBeenSet() const
const Aws::String & GetServiceEnvironmentArn() const
ServiceEnvironmentDetail & WithServiceEnvironmentType(ServiceEnvironmentType value)
ServiceEnvironmentDetail & AddCapacityLimits(CapacityLimitsT &&value)
ServiceEnvironmentDetail & WithStatus(ServiceEnvironmentStatus value)
bool ServiceEnvironmentArnHasBeenSet() const
void SetServiceEnvironmentType(ServiceEnvironmentType value)
ServiceEnvironmentDetail & WithTags(TagsT &&value)
ServiceEnvironmentDetail & WithCapacityLimits(CapacityLimitsT &&value)
ServiceEnvironmentState GetState() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceEnvironmentDetail & AddTags(TagsKeyT &&key, TagsValueT &&value)
ServiceEnvironmentDetail & WithState(ServiceEnvironmentState value)
ServiceEnvironmentDetail & WithServiceEnvironmentName(ServiceEnvironmentNameT &&value)
bool TagsHasBeenSet() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue