/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 DeleteIndexField request.

See * Also:

AWS * API Reference

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

The status of the index field being deleted.

*/ inline const IndexFieldStatus& GetIndexField() const{ return m_indexField; } /** *

The status of the index field being deleted.

*/ inline void SetIndexField(const IndexFieldStatus& value) { m_indexField = value; } /** *

The status of the index field being deleted.

*/ inline void SetIndexField(IndexFieldStatus&& value) { m_indexField = std::move(value); } /** *

The status of the index field being deleted.

*/ inline DeleteIndexFieldResult& WithIndexField(const IndexFieldStatus& value) { SetIndexField(value); return *this;} /** *

The status of the index field being deleted.

*/ inline DeleteIndexFieldResult& WithIndexField(IndexFieldStatus&& value) { SetIndexField(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 DeleteIndexFieldResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DeleteIndexFieldResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: IndexFieldStatus m_indexField; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudSearch } // namespace Aws