7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/CapacityLimit.h>
9#include <aws/batch/model/ServiceEnvironmentState.h>
10#include <aws/batch/model/ServiceEnvironmentStatus.h>
11#include <aws/batch/model/ServiceEnvironmentType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename ServiceEnvironmentNameT = Aws::String>
49 m_serviceEnvironmentNameHasBeenSet =
true;
50 m_serviceEnvironmentName = std::forward<ServiceEnvironmentNameT>(value);
52 template <
typename ServiceEnvironmentNameT = Aws::String>
65 template <
typename ServiceEnvironmentArnT = Aws::String>
67 m_serviceEnvironmentArnHasBeenSet =
true;
68 m_serviceEnvironmentArn = std::forward<ServiceEnvironmentArnT>(value);
70 template <
typename ServiceEnvironmentArnT = Aws::String>
85 m_serviceEnvironmentTypeHasBeenSet =
true;
86 m_serviceEnvironmentType = value;
102 m_stateHasBeenSet =
true;
118 m_statusHasBeenSet =
true;
134 template <
typename CapacityLimitsT = Aws::Vector<CapacityLimit>>
136 m_capacityLimitsHasBeenSet =
true;
137 m_capacityLimits = std::forward<CapacityLimitsT>(value);
139 template <
typename CapacityLimitsT = Aws::Vector<CapacityLimit>>
144 template <
typename CapacityLimitsT = CapacityLimit>
146 m_capacityLimitsHasBeenSet =
true;
147 m_capacityLimits.emplace_back(std::forward<CapacityLimitsT>(value));
161 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 m_tagsHasBeenSet =
true;
164 m_tags = std::forward<TagsT>(value);
166 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 SetTags(std::forward<TagsT>(value));
171 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
173 m_tagsHasBeenSet =
true;
174 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
192 bool m_serviceEnvironmentNameHasBeenSet =
false;
193 bool m_serviceEnvironmentArnHasBeenSet =
false;
194 bool m_serviceEnvironmentTypeHasBeenSet =
false;
195 bool m_stateHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
197 bool m_capacityLimitsHasBeenSet =
false;
198 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