7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
10#include <aws/opensearchserverless/model/CollectionGroupCapacityLimits.h>
11#include <aws/opensearchserverless/model/CurrentCapacity.h>
12#include <aws/opensearchserverless/model/ServerlessGeneration.h>
13#include <aws/opensearchserverless/model/StandbyReplicas.h>
14#include <aws/opensearchserverless/model/Tag.h>
25namespace OpenSearchServerless {
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename ArnT = Aws::String>
66 m_arnHasBeenSet =
true;
67 m_arn = std::forward<ArnT>(value);
69 template <
typename ArnT = Aws::String>
71 SetArn(std::forward<ArnT>(value));
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
101 m_standbyReplicasHasBeenSet =
true;
102 m_standbyReplicas = value;
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
134 template <
typename TagsT = Aws::Vector<Tag>>
136 m_tagsHasBeenSet =
true;
137 m_tags = std::forward<TagsT>(value);
139 template <
typename TagsT = Aws::Vector<Tag>>
141 SetTags(std::forward<TagsT>(value));
144 template <
typename TagsT = Tag>
146 m_tagsHasBeenSet =
true;
147 m_tags.emplace_back(std::forward<TagsT>(value));
159 m_createdDateHasBeenSet =
true;
160 m_createdDate = value;
175 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
177 m_capacityLimitsHasBeenSet =
true;
178 m_capacityLimits = std::forward<CapacityLimitsT>(value);
180 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
193 template <
typename CurrentCapacityT = CurrentCapacity>
195 m_currentCapacityHasBeenSet =
true;
196 m_currentCapacity = std::forward<CurrentCapacityT>(value);
198 template <
typename CurrentCapacityT = CurrentCapacity>
212 m_numberOfCollectionsHasBeenSet =
true;
213 m_numberOfCollections = value;
228 m_generationHasBeenSet =
true;
229 m_generation = value;
249 long long m_createdDate{0};
251 CollectionGroupCapacityLimits m_capacityLimits;
253 CurrentCapacity m_currentCapacity;
255 int m_numberOfCollections{0};
258 bool m_idHasBeenSet =
false;
259 bool m_arnHasBeenSet =
false;
260 bool m_nameHasBeenSet =
false;
261 bool m_standbyReplicasHasBeenSet =
false;
262 bool m_descriptionHasBeenSet =
false;
263 bool m_tagsHasBeenSet =
false;
264 bool m_createdDateHasBeenSet =
false;
265 bool m_capacityLimitsHasBeenSet =
false;
266 bool m_currentCapacityHasBeenSet =
false;
267 bool m_numberOfCollectionsHasBeenSet =
false;
268 bool m_generationHasBeenSet =
false;
bool CurrentCapacityHasBeenSet() const
CollectionGroupDetail & WithCapacityLimits(CapacityLimitsT &&value)
void SetCreatedDate(long long value)
bool ArnHasBeenSet() const
void SetNumberOfCollections(int value)
bool TagsHasBeenSet() const
void SetStandbyReplicas(StandbyReplicas value)
const Aws::String & GetDescription() const
bool CreatedDateHasBeenSet() const
void SetTags(TagsT &&value)
CollectionGroupDetail & WithStandbyReplicas(StandbyReplicas value)
CollectionGroupDetail & WithId(IdT &&value)
const Aws::String & GetId() const
AWS_OPENSEARCHSERVERLESS_API CollectionGroupDetail(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
const CurrentCapacity & GetCurrentCapacity() const
CollectionGroupDetail & WithCurrentCapacity(CurrentCapacityT &&value)
bool StandbyReplicasHasBeenSet() const
ServerlessGeneration GetGeneration() const
void SetArn(ArnT &&value)
CollectionGroupDetail & WithGeneration(ServerlessGeneration value)
CollectionGroupDetail & AddTags(TagsT &&value)
void SetGeneration(ServerlessGeneration value)
AWS_OPENSEARCHSERVERLESS_API CollectionGroupDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCapacityLimits(CapacityLimitsT &&value)
bool NumberOfCollectionsHasBeenSet() const
bool IdHasBeenSet() const
CollectionGroupDetail & WithName(NameT &&value)
CollectionGroupDetail & WithNumberOfCollections(int value)
const Aws::String & GetArn() const
bool NameHasBeenSet() const
bool GenerationHasBeenSet() const
const Aws::String & GetName() const
CollectionGroupDetail & WithCreatedDate(long long value)
void SetName(NameT &&value)
AWS_OPENSEARCHSERVERLESS_API CollectionGroupDetail()=default
const Aws::Vector< Tag > & GetTags() const
bool DescriptionHasBeenSet() const
StandbyReplicas GetStandbyReplicas() const
void SetCurrentCapacity(CurrentCapacityT &&value)
bool CapacityLimitsHasBeenSet() const
CollectionGroupDetail & WithArn(ArnT &&value)
const CollectionGroupCapacityLimits & GetCapacityLimits() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
CollectionGroupDetail & WithDescription(DescriptionT &&value)
int GetNumberOfCollections() const
long long GetCreatedDate() const
CollectionGroupDetail & WithTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue