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>
56 template<
typename IndexNameT = Aws::String>
57 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
58 template<
typename IndexNameT = Aws::String>
69 template<
typename IndexSchemaT = Aws::Utils::Document>
70 void SetIndexSchema(IndexSchemaT&& value) { m_indexSchemaHasBeenSet =
true; m_indexSchema = std::forward<IndexSchemaT>(value); }
71 template<
typename IndexSchemaT = Aws::Utils::Document>
77 bool m_idHasBeenSet =
false;
80 bool m_indexNameHasBeenSet =
false;
83 bool m_indexSchemaHasBeenSet =
false;
const Aws::String & GetId() const
UpdateIndexRequest & WithIndexSchema(IndexSchemaT &&value)
const Aws::String & GetIndexName() const
void SetIndexName(IndexNameT &&value)
Aws::Utils::DocumentView GetIndexSchema() const
UpdateIndexRequest & WithId(IdT &&value)
bool IndexSchemaHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
void SetIndexSchema(IndexSchemaT &&value)
UpdateIndexRequest & WithIndexName(IndexNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHSERVERLESS_API UpdateIndexRequest()=default
bool IndexNameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool IdHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String