/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of an IndexDocuments
request. Contains the status of
* the indexing operation, including the fields being indexed.See
* Also:
AWS
* API Reference
The names of the fields that are currently being indexed.
*/ inline const Aws::VectorThe names of the fields that are currently being indexed.
*/ inline void SetFieldNames(const Aws::VectorThe names of the fields that are currently being indexed.
*/ inline void SetFieldNames(Aws::VectorThe names of the fields that are currently being indexed.
*/ inline IndexDocumentsResult& WithFieldNames(const Aws::VectorThe names of the fields that are currently being indexed.
*/ inline IndexDocumentsResult& WithFieldNames(Aws::VectorThe names of the fields that are currently being indexed.
*/ inline IndexDocumentsResult& AddFieldNames(const Aws::String& value) { m_fieldNames.push_back(value); return *this; } /** *The names of the fields that are currently being indexed.
*/ inline IndexDocumentsResult& AddFieldNames(Aws::String&& value) { m_fieldNames.push_back(std::move(value)); return *this; } /** *The names of the fields that are currently being indexed.
*/ inline IndexDocumentsResult& AddFieldNames(const char* value) { m_fieldNames.push_back(value); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline IndexDocumentsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline IndexDocumentsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector