/** * 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 DescribeExpressions request. Contains the * expressions configured for the domain specified in the request.

See * Also:

AWS * API Reference

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

The expressions configured for the domain.

*/ inline const Aws::Vector& GetExpressions() const{ return m_expressions; } /** *

The expressions configured for the domain.

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

The expressions configured for the domain.

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

The expressions configured for the domain.

*/ inline DescribeExpressionsResult& WithExpressions(const Aws::Vector& value) { SetExpressions(value); return *this;} /** *

The expressions configured for the domain.

*/ inline DescribeExpressionsResult& WithExpressions(Aws::Vector&& value) { SetExpressions(std::move(value)); return *this;} /** *

The expressions configured for the domain.

*/ inline DescribeExpressionsResult& AddExpressions(const ExpressionStatus& value) { m_expressions.push_back(value); return *this; } /** *

The expressions configured for the domain.

*/ inline DescribeExpressionsResult& AddExpressions(ExpressionStatus&& value) { m_expressions.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 DescribeExpressionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeExpressionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_expressions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudSearch } // namespace Aws