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>
197 long long m_createdDate{0};
199 CollectionGroupCapacityLimits m_capacityLimits;
200 bool m_idHasBeenSet =
false;
201 bool m_arnHasBeenSet =
false;
202 bool m_nameHasBeenSet =
false;
203 bool m_standbyReplicasHasBeenSet =
false;
204 bool m_descriptionHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
206 bool m_createdDateHasBeenSet =
false;
207 bool m_capacityLimitsHasBeenSet =
false;
long long GetCreatedDate() const
const Aws::String & GetDescription() 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
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)
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