7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/CollectionType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/opensearchserverless/model/StandbyReplicas.h>
13#include <aws/opensearchserverless/model/Tag.h>
15#include <aws/core/utils/UUID.h>
19namespace OpenSearchServerless
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
83 template<
typename TagsT = Aws::Vector<Tag>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
85 template<
typename TagsT = Aws::Vector<Tag>>
87 template<
typename TagsT = Tag>
107 template<
typename ClientTokenT = Aws::String>
108 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
109 template<
typename ClientTokenT = Aws::String>
115 bool m_nameHasBeenSet =
false;
118 bool m_typeHasBeenSet =
false;
121 bool m_descriptionHasBeenSet =
false;
124 bool m_tagsHasBeenSet =
false;
127 bool m_standbyReplicasHasBeenSet =
false;
130 bool m_clientTokenHasBeenSet =
true;
void SetTags(TagsT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool StandbyReplicasHasBeenSet() const
void SetStandbyReplicas(StandbyReplicas value)
CreateCollectionRequest & WithClientToken(ClientTokenT &&value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetType(CollectionType value)
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
CollectionType GetType() const
CreateCollectionRequest & WithName(NameT &&value)
void SetClientToken(ClientTokenT &&value)
CreateCollectionRequest & WithStandbyReplicas(StandbyReplicas value)
CreateCollectionRequest & WithType(CollectionType value)
bool TypeHasBeenSet() const
bool DescriptionHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetDescription() const
CreateCollectionRequest & WithDescription(DescriptionT &&value)
CreateCollectionRequest & AddTags(TagsT &&value)
CreateCollectionRequest & WithTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
StandbyReplicas GetStandbyReplicas() const
AWS_OPENSEARCHSERVERLESS_API CreateCollectionRequest()=default
const Aws::String & GetClientToken() const
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