/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a DeleteIndexField
request.See
* Also:
AWS
* API Reference
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