7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
11#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
12#include <aws/opensearchserverless/model/CollectionGroupCapacityLimits.h>
13#include <aws/opensearchserverless/model/StandbyReplicas.h>
14#include <aws/opensearchserverless/model/Tag.h>
19namespace OpenSearchServerless {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
63 m_standbyReplicasHasBeenSet =
true;
64 m_standbyReplicas = value;
78 template <
typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
97 template <
typename TagsT = Aws::Vector<Tag>>
99 m_tagsHasBeenSet =
true;
100 m_tags = std::forward<TagsT>(value);
102 template <
typename TagsT = Aws::Vector<Tag>>
104 SetTags(std::forward<TagsT>(value));
107 template <
typename TagsT = Tag>
109 m_tagsHasBeenSet =
true;
110 m_tags.emplace_back(std::forward<TagsT>(value));
123 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
125 m_capacityLimitsHasBeenSet =
true;
126 m_capacityLimits = std::forward<CapacityLimitsT>(value);
128 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
141 template <
typename ClientTokenT = Aws::String>
143 m_clientTokenHasBeenSet =
true;
144 m_clientToken = std::forward<ClientTokenT>(value);
146 template <
typename ClientTokenT = Aws::String>
161 CollectionGroupCapacityLimits m_capacityLimits;
164 bool m_nameHasBeenSet =
false;
165 bool m_standbyReplicasHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
167 bool m_tagsHasBeenSet =
false;
168 bool m_capacityLimitsHasBeenSet =
false;
169 bool m_clientTokenHasBeenSet =
true;
bool StandbyReplicasHasBeenSet() const
CreateCollectionGroupRequest & WithStandbyReplicas(StandbyReplicas value)
const CollectionGroupCapacityLimits & GetCapacityLimits() const
const Aws::String & GetDescription() const
void SetName(NameT &&value)
const Aws::Vector< Tag > & GetTags() const
StandbyReplicas GetStandbyReplicas() const
bool CapacityLimitsHasBeenSet() const
CreateCollectionGroupRequest & AddTags(TagsT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ClientTokenHasBeenSet() const
CreateCollectionGroupRequest & WithCapacityLimits(CapacityLimitsT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
CreateCollectionGroupRequest & WithTags(TagsT &&value)
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
void SetStandbyReplicas(StandbyReplicas value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
void SetClientToken(ClientTokenT &&value)
CreateCollectionGroupRequest & WithName(NameT &&value)
bool TagsHasBeenSet() const
void SetCapacityLimits(CapacityLimitsT &&value)
bool NameHasBeenSet() const
CreateCollectionGroupRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHSERVERLESS_API CreateCollectionGroupRequest()=default
CreateCollectionGroupRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector