/** * 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 ListFirewallRuleGroupsResult { public: AWS_ROUTE53RESOLVER_API ListFirewallRuleGroupsResult(); AWS_ROUTE53RESOLVER_API ListFirewallRuleGroupsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RESOLVER_API ListFirewallRuleGroupsResult& 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 ListFirewallRuleGroupsResult& 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 ListFirewallRuleGroupsResult& 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 ListFirewallRuleGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

A list of your firewall rule groups.

This might be a partial list of * the rule groups that you have defined. For information, see * MaxResults.

*/ inline const Aws::Vector& GetFirewallRuleGroups() const{ return m_firewallRuleGroups; } /** *

A list of your firewall rule groups.

This might be a partial list of * the rule groups that you have defined. For information, see * MaxResults.

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

A list of your firewall rule groups.

This might be a partial list of * the rule groups that you have defined. For information, see * MaxResults.

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

A list of your firewall rule groups.

This might be a partial list of * the rule groups that you have defined. For information, see * MaxResults.

*/ inline ListFirewallRuleGroupsResult& WithFirewallRuleGroups(const Aws::Vector& value) { SetFirewallRuleGroups(value); return *this;} /** *

A list of your firewall rule groups.

This might be a partial list of * the rule groups that you have defined. For information, see * MaxResults.

*/ inline ListFirewallRuleGroupsResult& WithFirewallRuleGroups(Aws::Vector&& value) { SetFirewallRuleGroups(std::move(value)); return *this;} /** *

A list of your firewall rule groups.

This might be a partial list of * the rule groups that you have defined. For information, see * MaxResults.

*/ inline ListFirewallRuleGroupsResult& AddFirewallRuleGroups(const FirewallRuleGroupMetadata& value) { m_firewallRuleGroups.push_back(value); return *this; } /** *

A list of your firewall rule groups.

This might be a partial list of * the rule groups that you have defined. For information, see * MaxResults.

*/ inline ListFirewallRuleGroupsResult& AddFirewallRuleGroups(FirewallRuleGroupMetadata&& value) { m_firewallRuleGroups.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 ListFirewallRuleGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListFirewallRuleGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListFirewallRuleGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_firewallRuleGroups; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws