7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
10#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
15namespace OpenSearchServerless {
40 template <
typename IdT = Aws::String>
42 m_idHasBeenSet =
true;
43 m_id = std::forward<IdT>(value);
45 template <
typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
59 template <
typename IndexNameT = Aws::String>
61 m_indexNameHasBeenSet =
true;
62 m_indexName = std::forward<IndexNameT>(value);
64 template <
typename IndexNameT = Aws::String>
78 template <
typename IndexSchemaT = Aws::Utils::Document>
80 m_indexSchemaHasBeenSet =
true;
81 m_indexSchema = std::forward<IndexSchemaT>(value);
83 template <
typename IndexSchemaT = Aws::Utils::Document>
95 bool m_idHasBeenSet =
false;
96 bool m_indexNameHasBeenSet =
false;
97 bool m_indexSchemaHasBeenSet =
false;
bool IndexSchemaHasBeenSet() const
CreateIndexRequest & WithIndexSchema(IndexSchemaT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool IdHasBeenSet() const
CreateIndexRequest & WithId(IdT &&value)
const Aws::String & GetId() const
AWS_OPENSEARCHSERVERLESS_API CreateIndexRequest()=default
bool IndexNameHasBeenSet() const
void SetIndexName(IndexNameT &&value)
Aws::Utils::DocumentView GetIndexSchema() const
const Aws::String & GetIndexName() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateIndexRequest & WithIndexName(IndexNameT &&value)
void SetIndexSchema(IndexSchemaT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String