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/StandbyReplicas.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/opensearchserverless/model/CollectionType.h>
13#include <aws/opensearchserverless/model/Tag.h>
15#include <aws/core/utils/UUID.h>
19namespace OpenSearchServerless
50 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
64 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
78 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
125 bool m_clientTokenHasBeenSet =
false;
128 bool m_descriptionHasBeenSet =
false;
131 bool m_nameHasBeenSet =
false;
134 bool m_standbyReplicasHasBeenSet =
false;
137 bool m_tagsHasBeenSet =
false;
140 bool m_typeHasBeenSet =
false;
void SetType(CollectionType &&value)
CreateCollectionRequest & WithType(CollectionType &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(Aws::Vector< Tag > &&value)
void SetStandbyReplicas(const StandbyReplicas &value)
bool StandbyReplicasHasBeenSet() const
void SetDescription(const char *value)
CreateCollectionRequest & WithDescription(const char *value)
void SetType(const CollectionType &value)
void SetClientToken(const Aws::String &value)
void SetName(const Aws::String &value)
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
void SetName(const char *value)
void SetClientToken(const char *value)
CreateCollectionRequest & WithType(const CollectionType &value)
const Aws::String & GetName() const
CreateCollectionRequest & WithName(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateCollectionRequest & AddTags(const Tag &value)
CreateCollectionRequest & WithTags(const Aws::Vector< Tag > &value)
const CollectionType & GetType() const
CreateCollectionRequest & WithClientToken(const Aws::String &value)
CreateCollectionRequest & WithStandbyReplicas(StandbyReplicas &&value)
CreateCollectionRequest & WithClientToken(const char *value)
CreateCollectionRequest & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool TypeHasBeenSet() const
CreateCollectionRequest & WithName(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetStandbyReplicas(StandbyReplicas &&value)
CreateCollectionRequest & WithDescription(const Aws::String &value)
void SetName(Aws::String &&value)
bool ClientTokenHasBeenSet() const
const StandbyReplicas & GetStandbyReplicas() const
CreateCollectionRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetDescription() const
CreateCollectionRequest & WithName(const char *value)
CreateCollectionRequest & WithClientToken(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
CreateCollectionRequest & AddTags(Tag &&value)
void SetClientToken(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API CreateCollectionRequest()
CreateCollectionRequest & WithStandbyReplicas(const StandbyReplicas &value)
const Aws::String & GetClientToken() const
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