/** * 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 DeleteExpression request. Specifies the * expression being deleted.

See Also:

AWS * API Reference

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

The status of the expression being deleted.

*/ inline const ExpressionStatus& GetExpression() const{ return m_expression; } /** *

The status of the expression being deleted.

*/ inline void SetExpression(const ExpressionStatus& value) { m_expression = value; } /** *

The status of the expression being deleted.

*/ inline void SetExpression(ExpressionStatus&& value) { m_expression = std::move(value); } /** *

The status of the expression being deleted.

*/ inline DeleteExpressionResult& WithExpression(const ExpressionStatus& value) { SetExpression(value); return *this;} /** *

The status of the expression being deleted.

*/ inline DeleteExpressionResult& WithExpression(ExpressionStatus&& value) { SetExpression(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 DeleteExpressionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DeleteExpressionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: ExpressionStatus m_expression; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudSearch } // namespace Aws