/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudSearch { namespace Model { /** *

The result of a DescribeIndexFields request. Contains the index * fields configured for the domain specified in the request.

See * Also:

AWS * API Reference

*/ class DescribeIndexFieldsResult { public: AWS_CLOUDSEARCH_API DescribeIndexFieldsResult(); AWS_CLOUDSEARCH_API DescribeIndexFieldsResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDSEARCH_API DescribeIndexFieldsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The index fields configured for the domain.

*/ inline const Aws::Vector& GetIndexFields() const{ return m_indexFields; } /** *

The index fields configured for the domain.

*/ inline void SetIndexFields(const Aws::Vector& value) { m_indexFields = value; } /** *

The index fields configured for the domain.

*/ inline void SetIndexFields(Aws::Vector&& value) { m_indexFields = std::move(value); } /** *

The index fields configured for the domain.

*/ inline DescribeIndexFieldsResult& WithIndexFields(const Aws::Vector& value) { SetIndexFields(value); return *this;} /** *

The index fields configured for the domain.

*/ inline DescribeIndexFieldsResult& WithIndexFields(Aws::Vector&& value) { SetIndexFields(std::move(value)); return *this;} /** *

The index fields configured for the domain.

*/ inline DescribeIndexFieldsResult& AddIndexFields(const IndexFieldStatus& value) { m_indexFields.push_back(value); return *this; } /** *

The index fields configured for the domain.

*/ inline DescribeIndexFieldsResult& AddIndexFields(IndexFieldStatus&& value) { m_indexFields.push_back(std::move(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 DescribeIndexFieldsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeIndexFieldsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_indexFields; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudSearch } // namespace Aws