/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53Resolver { namespace Model { class ListFirewallRulesResult { public: AWS_ROUTE53RESOLVER_API ListFirewallRulesResult(); AWS_ROUTE53RESOLVER_API ListFirewallRulesResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RESOLVER_API ListFirewallRulesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

If objects are still available for retrieval, Resolver returns this token in * the response. To retrieve the next batch of objects, provide this token in your * next request.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If objects are still available for retrieval, Resolver returns this token in * the response. To retrieve the next batch of objects, provide this token in your * next request.

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

If objects are still available for retrieval, Resolver returns this token in * the response. To retrieve the next batch of objects, provide this token in your * next request.

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

If objects are still available for retrieval, Resolver returns this token in * the response. To retrieve the next batch of objects, provide this token in your * next request.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If objects are still available for retrieval, Resolver returns this token in * the response. To retrieve the next batch of objects, provide this token in your * next request.

*/ inline ListFirewallRulesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If objects are still available for retrieval, Resolver returns this token in * the response. To retrieve the next batch of objects, provide this token in your * next request.

*/ inline ListFirewallRulesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If objects are still available for retrieval, Resolver returns this token in * the response. To retrieve the next batch of objects, provide this token in your * next request.

*/ inline ListFirewallRulesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

A list of the rules that you have defined.

This might be a partial * list of the firewall rules that you've defined. For information, see * MaxResults.

*/ inline const Aws::Vector& GetFirewallRules() const{ return m_firewallRules; } /** *

A list of the rules that you have defined.

This might be a partial * list of the firewall rules that you've defined. For information, see * MaxResults.

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

A list of the rules that you have defined.

This might be a partial * list of the firewall rules that you've defined. For information, see * MaxResults.

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

A list of the rules that you have defined.

This might be a partial * list of the firewall rules that you've defined. For information, see * MaxResults.

*/ inline ListFirewallRulesResult& WithFirewallRules(const Aws::Vector& value) { SetFirewallRules(value); return *this;} /** *

A list of the rules that you have defined.

This might be a partial * list of the firewall rules that you've defined. For information, see * MaxResults.

*/ inline ListFirewallRulesResult& WithFirewallRules(Aws::Vector&& value) { SetFirewallRules(std::move(value)); return *this;} /** *

A list of the rules that you have defined.

This might be a partial * list of the firewall rules that you've defined. For information, see * MaxResults.

*/ inline ListFirewallRulesResult& AddFirewallRules(const FirewallRule& value) { m_firewallRules.push_back(value); return *this; } /** *

A list of the rules that you have defined.

This might be a partial * list of the firewall rules that you've defined. For information, see * MaxResults.

*/ inline ListFirewallRulesResult& AddFirewallRules(FirewallRule&& value) { m_firewallRules.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListFirewallRulesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListFirewallRulesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListFirewallRulesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_firewallRules; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws