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

If a response includes the last of the Resolver configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another * ListResolverConfigs request. Get the value of * NextToken that Amazon Route 53 returned in the previous response * and include it in NextToken in the next request.

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

If a response includes the last of the Resolver configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another * ListResolverConfigs request. Get the value of * NextToken that Amazon Route 53 returned in the previous response * and include it in NextToken in the next request.

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

If a response includes the last of the Resolver configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another * ListResolverConfigs request. Get the value of * NextToken that Amazon Route 53 returned in the previous response * and include it in NextToken in the next request.

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

If a response includes the last of the Resolver configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another * ListResolverConfigs request. Get the value of * NextToken that Amazon Route 53 returned in the previous response * and include it in NextToken in the next request.

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

If a response includes the last of the Resolver configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another * ListResolverConfigs request. Get the value of * NextToken that Amazon Route 53 returned in the previous response * and include it in NextToken in the next request.

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

If a response includes the last of the Resolver configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another * ListResolverConfigs request. Get the value of * NextToken that Amazon Route 53 returned in the previous response * and include it in NextToken in the next request.

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

If a response includes the last of the Resolver configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another * ListResolverConfigs request. Get the value of * NextToken that Amazon Route 53 returned in the previous response * and include it in NextToken in the next request.

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

An array that contains one ResolverConfigs element for each * Resolver configuration that is associated with the current Amazon Web Services * account.

*/ inline const Aws::Vector& GetResolverConfigs() const{ return m_resolverConfigs; } /** *

An array that contains one ResolverConfigs element for each * Resolver configuration that is associated with the current Amazon Web Services * account.

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

An array that contains one ResolverConfigs element for each * Resolver configuration that is associated with the current Amazon Web Services * account.

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

An array that contains one ResolverConfigs element for each * Resolver configuration that is associated with the current Amazon Web Services * account.

*/ inline ListResolverConfigsResult& WithResolverConfigs(const Aws::Vector& value) { SetResolverConfigs(value); return *this;} /** *

An array that contains one ResolverConfigs element for each * Resolver configuration that is associated with the current Amazon Web Services * account.

*/ inline ListResolverConfigsResult& WithResolverConfigs(Aws::Vector&& value) { SetResolverConfigs(std::move(value)); return *this;} /** *

An array that contains one ResolverConfigs element for each * Resolver configuration that is associated with the current Amazon Web Services * account.

*/ inline ListResolverConfigsResult& AddResolverConfigs(const ResolverConfig& value) { m_resolverConfigs.push_back(value); return *this; } /** *

An array that contains one ResolverConfigs element for each * Resolver configuration that is associated with the current Amazon Web Services * account.

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