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/core/utils/Document.h>
15namespace OpenSearchServerless
44 template<
typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
46 template<
typename IdT = Aws::String>
57 template<
typename IndexNameT = Aws::String>
58 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
59 template<
typename IndexNameT = Aws::String>
70 template<
typename IndexSchemaT = Aws::Utils::Document>
71 void SetIndexSchema(IndexSchemaT&& value) { m_indexSchemaHasBeenSet =
true; m_indexSchema = std::forward<IndexSchemaT>(value); }
72 template<
typename IndexSchemaT = Aws::Utils::Document>
78 bool m_idHasBeenSet =
false;
81 bool m_indexNameHasBeenSet =
false;
84 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