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/StandbyReplicas.h>
12#include <aws/opensearchserverless/model/Tag.h>
23namespace OpenSearchServerless {
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename ArnT = Aws::String>
64 m_arnHasBeenSet =
true;
65 m_arn = std::forward<ArnT>(value);
67 template <
typename ArnT = Aws::String>
69 SetArn(std::forward<ArnT>(value));
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
99 m_standbyReplicasHasBeenSet =
true;
100 m_standbyReplicas = value;
114 template <
typename DescriptionT = Aws::String>
116 m_descriptionHasBeenSet =
true;
117 m_description = std::forward<DescriptionT>(value);
119 template <
typename DescriptionT = Aws::String>
132 template <
typename TagsT = Aws::Vector<Tag>>
134 m_tagsHasBeenSet =
true;
135 m_tags = std::forward<TagsT>(value);
137 template <
typename TagsT = Aws::Vector<Tag>>
139 SetTags(std::forward<TagsT>(value));
142 template <
typename TagsT = Tag>
144 m_tagsHasBeenSet =
true;
145 m_tags.emplace_back(std::forward<TagsT>(value));
157 m_createdDateHasBeenSet =
true;
158 m_createdDate = value;
173 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
175 m_capacityLimitsHasBeenSet =
true;
176 m_capacityLimits = std::forward<CapacityLimitsT>(value);
178 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
192 m_numberOfCollectionsHasBeenSet =
true;
193 m_numberOfCollections = value;
213 long long m_createdDate{0};
215 CollectionGroupCapacityLimits m_capacityLimits;
217 int m_numberOfCollections{0};
218 bool m_idHasBeenSet =
false;
219 bool m_arnHasBeenSet =
false;
220 bool m_nameHasBeenSet =
false;
221 bool m_standbyReplicasHasBeenSet =
false;
222 bool m_descriptionHasBeenSet =
false;
223 bool m_tagsHasBeenSet =
false;
224 bool m_createdDateHasBeenSet =
false;
225 bool m_capacityLimitsHasBeenSet =
false;
226 bool m_numberOfCollectionsHasBeenSet =
false;
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)
bool StandbyReplicasHasBeenSet() const
void SetArn(ArnT &&value)
CollectionGroupDetail & AddTags(TagsT &&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
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
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