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/ServerlessGeneration.h>
12#include <aws/opensearchserverless/model/StandbyReplicas.h>
13#include <aws/opensearchserverless/model/Tag.h>
24namespace OpenSearchServerless {
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename ArnT = Aws::String>
65 m_arnHasBeenSet =
true;
66 m_arn = std::forward<ArnT>(value);
68 template <
typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
81 template <
typename NameT = Aws::String>
83 m_nameHasBeenSet =
true;
84 m_name = std::forward<NameT>(value);
86 template <
typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
100 m_standbyReplicasHasBeenSet =
true;
101 m_standbyReplicas = value;
115 template <
typename DescriptionT = Aws::String>
117 m_descriptionHasBeenSet =
true;
118 m_description = std::forward<DescriptionT>(value);
120 template <
typename DescriptionT = Aws::String>
133 template <
typename TagsT = Aws::Vector<Tag>>
135 m_tagsHasBeenSet =
true;
136 m_tags = std::forward<TagsT>(value);
138 template <
typename TagsT = Aws::Vector<Tag>>
140 SetTags(std::forward<TagsT>(value));
143 template <
typename TagsT = Tag>
145 m_tagsHasBeenSet =
true;
146 m_tags.emplace_back(std::forward<TagsT>(value));
158 m_createdDateHasBeenSet =
true;
159 m_createdDate = value;
174 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
176 m_capacityLimitsHasBeenSet =
true;
177 m_capacityLimits = std::forward<CapacityLimitsT>(value);
179 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
193 m_generationHasBeenSet =
true;
194 m_generation = value;
214 long long m_createdDate{0};
216 CollectionGroupCapacityLimits m_capacityLimits;
219 bool m_idHasBeenSet =
false;
220 bool m_arnHasBeenSet =
false;
221 bool m_nameHasBeenSet =
false;
222 bool m_standbyReplicasHasBeenSet =
false;
223 bool m_descriptionHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
225 bool m_createdDateHasBeenSet =
false;
226 bool m_capacityLimitsHasBeenSet =
false;
227 bool m_generationHasBeenSet =
false;
long long GetCreatedDate() const
const Aws::String & GetDescription() const
CreateCollectionGroupDetail & WithGeneration(ServerlessGeneration value)
ServerlessGeneration GetGeneration() const
void SetCapacityLimits(CapacityLimitsT &&value)
CreateCollectionGroupDetail & WithArn(ArnT &&value)
CreateCollectionGroupDetail & WithDescription(DescriptionT &&value)
AWS_OPENSEARCHSERVERLESS_API CreateCollectionGroupDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
bool ArnHasBeenSet() const
void SetGeneration(ServerlessGeneration value)
CreateCollectionGroupDetail & WithTags(TagsT &&value)
CreateCollectionGroupDetail & WithCreatedDate(long long value)
const Aws::String & GetId() const
AWS_OPENSEARCHSERVERLESS_API CreateCollectionGroupDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
CreateCollectionGroupDetail & WithId(IdT &&value)
void SetStandbyReplicas(StandbyReplicas value)
bool CreatedDateHasBeenSet() const
CreateCollectionGroupDetail & WithStandbyReplicas(StandbyReplicas value)
StandbyReplicas GetStandbyReplicas() const
bool StandbyReplicasHasBeenSet() const
void SetCreatedDate(long long value)
const CollectionGroupCapacityLimits & GetCapacityLimits() const
const Aws::Vector< Tag > & GetTags() const
CreateCollectionGroupDetail & WithName(NameT &&value)
bool CapacityLimitsHasBeenSet() const
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
bool GenerationHasBeenSet() const
CreateCollectionGroupDetail & WithCapacityLimits(CapacityLimitsT &&value)
AWS_OPENSEARCHSERVERLESS_API CreateCollectionGroupDetail()=default
CreateCollectionGroupDetail & AddTags(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