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

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

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

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

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

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

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

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

*/ inline const Aws::Vector& GetResolverEndpoints() const{ return m_resolverEndpoints; } /** *

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

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

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

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

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

*/ inline ListResolverEndpointsResult& WithResolverEndpoints(const Aws::Vector& value) { SetResolverEndpoints(value); return *this;} /** *

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

*/ inline ListResolverEndpointsResult& WithResolverEndpoints(Aws::Vector&& value) { SetResolverEndpoints(std::move(value)); return *this;} /** *

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

*/ inline ListResolverEndpointsResult& AddResolverEndpoints(const ResolverEndpoint& value) { m_resolverEndpoints.push_back(value); return *this; } /** *

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

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