/** * 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 ListResolverRuleAssociationsResult { public: AWS_ROUTE53RESOLVER_API ListResolverRuleAssociationsResult(); AWS_ROUTE53RESOLVER_API ListResolverRuleAssociationsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RESOLVER_API ListResolverRuleAssociationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

If more than MaxResults rule associations match the specified * criteria, you can submit another ListResolverRuleAssociation * request to get the next group of results. In the next request, specify the value * of NextToken from the previous response.

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

If more than MaxResults rule associations match the specified * criteria, you can submit another ListResolverRuleAssociation * request to get the next group of results. In the next request, specify the value * of NextToken from the previous response.

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

If more than MaxResults rule associations match the specified * criteria, you can submit another ListResolverRuleAssociation * request to get the next group of results. In the next request, specify the value * of NextToken from the previous response.

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

If more than MaxResults rule associations match the specified * criteria, you can submit another ListResolverRuleAssociation * request to get the next group of results. In the next request, specify the value * of NextToken from the previous response.

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

If more than MaxResults rule associations match the specified * criteria, you can submit another ListResolverRuleAssociation * request to get the next group of results. In the next request, specify the value * of NextToken from the previous response.

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

If more than MaxResults rule associations match the specified * criteria, you can submit another ListResolverRuleAssociation * request to get the next group of results. In the next request, specify the value * of NextToken from the previous response.

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

If more than MaxResults rule associations match the specified * criteria, you can submit another ListResolverRuleAssociation * request to get the next group of results. In the next request, specify the value * of NextToken from the previous response.

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

The value that you specified for MaxResults in the request.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The value that you specified for MaxResults in the request.

*/ inline void SetMaxResults(int value) { m_maxResults = value; } /** *

The value that you specified for MaxResults in the request.

*/ inline ListResolverRuleAssociationsResult& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The associations that were created between Resolver rules and VPCs using the * current Amazon Web Services account, and that match the specified filters, if * any.

*/ inline const Aws::Vector& GetResolverRuleAssociations() const{ return m_resolverRuleAssociations; } /** *

The associations that were created between Resolver rules and VPCs using the * current Amazon Web Services account, and that match the specified filters, if * any.

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

The associations that were created between Resolver rules and VPCs using the * current Amazon Web Services account, and that match the specified filters, if * any.

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

The associations that were created between Resolver rules and VPCs using the * current Amazon Web Services account, and that match the specified filters, if * any.

*/ inline ListResolverRuleAssociationsResult& WithResolverRuleAssociations(const Aws::Vector& value) { SetResolverRuleAssociations(value); return *this;} /** *

The associations that were created between Resolver rules and VPCs using the * current Amazon Web Services account, and that match the specified filters, if * any.

*/ inline ListResolverRuleAssociationsResult& WithResolverRuleAssociations(Aws::Vector&& value) { SetResolverRuleAssociations(std::move(value)); return *this;} /** *

The associations that were created between Resolver rules and VPCs using the * current Amazon Web Services account, and that match the specified filters, if * any.

*/ inline ListResolverRuleAssociationsResult& AddResolverRuleAssociations(const ResolverRuleAssociation& value) { m_resolverRuleAssociations.push_back(value); return *this; } /** *

The associations that were created between Resolver rules and VPCs using the * current Amazon Web Services account, and that match the specified filters, if * any.

*/ inline ListResolverRuleAssociationsResult& AddResolverRuleAssociations(ResolverRuleAssociation&& value) { m_resolverRuleAssociations.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 ListResolverRuleAssociationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListResolverRuleAssociationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListResolverRuleAssociationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; int m_maxResults; Aws::Vector m_resolverRuleAssociations; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws