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

If more than MaxResults Resolver rules match the specified * criteria, you can submit another ListResolverRules 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 Resolver rules match the specified * criteria, you can submit another ListResolverRules 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 Resolver rules match the specified * criteria, you can submit another ListResolverRules 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 Resolver rules match the specified * criteria, you can submit another ListResolverRules 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 Resolver rules match the specified * criteria, you can submit another ListResolverRules request to get * the next group of results. In the next request, specify the value of * NextToken from the previous response.

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

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

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

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

*/ inline ListResolverRulesResult& 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 ListResolverRulesResult& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

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

*/ inline const Aws::Vector& GetResolverRules() const{ return m_resolverRules; } /** *

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

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

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

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

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

*/ inline ListResolverRulesResult& WithResolverRules(const Aws::Vector& value) { SetResolverRules(value); return *this;} /** *

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

*/ inline ListResolverRulesResult& WithResolverRules(Aws::Vector&& value) { SetResolverRules(std::move(value)); return *this;} /** *

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

*/ inline ListResolverRulesResult& AddResolverRules(const ResolverRule& value) { m_resolverRules.push_back(value); return *this; } /** *

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

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