/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace ElasticLoadBalancingv2 { namespace Model { class DescribeRulesResult { public: AWS_ELASTICLOADBALANCINGV2_API DescribeRulesResult(); AWS_ELASTICLOADBALANCINGV2_API DescribeRulesResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICLOADBALANCINGV2_API DescribeRulesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the rules.

*/ inline const Aws::Vector& GetRules() const{ return m_rules; } /** *

Information about the rules.

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

Information about the rules.

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

Information about the rules.

*/ inline DescribeRulesResult& WithRules(const Aws::Vector& value) { SetRules(value); return *this;} /** *

Information about the rules.

*/ inline DescribeRulesResult& WithRules(Aws::Vector&& value) { SetRules(std::move(value)); return *this;} /** *

Information about the rules.

*/ inline DescribeRulesResult& AddRules(const Rule& value) { m_rules.push_back(value); return *this; } /** *

Information about the rules.

*/ inline DescribeRulesResult& AddRules(Rule&& value) { m_rules.push_back(std::move(value)); return *this; } /** *

If there are additional results, this is the marker for the next set of * results. Otherwise, this is null.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

If there are additional results, this is the marker for the next set of * results. Otherwise, this is null.

*/ inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; } /** *

If there are additional results, this is the marker for the next set of * results. Otherwise, this is null.

*/ inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); } /** *

If there are additional results, this is the marker for the next set of * results. Otherwise, this is null.

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

If there are additional results, this is the marker for the next set of * results. Otherwise, this is null.

*/ inline DescribeRulesResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

If there are additional results, this is the marker for the next set of * results. Otherwise, this is null.

*/ inline DescribeRulesResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

If there are additional results, this is the marker for the next set of * results. Otherwise, this is null.

*/ inline DescribeRulesResult& WithNextMarker(const char* value) { SetNextMarker(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 DescribeRulesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeRulesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_rules; Aws::String m_nextMarker; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws