/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Route53Resolver { namespace Model { /** */ class ListResolverDnssecConfigsRequest : public Route53ResolverRequest { public: AWS_ROUTE53RESOLVER_API ListResolverDnssecConfigsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListResolverDnssecConfigs"; } AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override; AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Optional: An integer that specifies the maximum number of DNSSEC * configuration results that you want Amazon Route 53 to return. If you don't * specify a value for MaxResults, Route 53 returns up to 100 * configuration per page.

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

Optional: An integer that specifies the maximum number of DNSSEC * configuration results that you want Amazon Route 53 to return. If you don't * specify a value for MaxResults, Route 53 returns up to 100 * configuration per page.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Optional: An integer that specifies the maximum number of DNSSEC * configuration results that you want Amazon Route 53 to return. If you don't * specify a value for MaxResults, Route 53 returns up to 100 * configuration per page.

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

Optional: An integer that specifies the maximum number of DNSSEC * configuration results that you want Amazon Route 53 to return. If you don't * specify a value for MaxResults, Route 53 returns up to 100 * configuration per page.

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

(Optional) If the current Amazon Web Services account has more than * MaxResults DNSSEC configurations, use NextToken to get * the second and subsequent pages of results.

For the first * ListResolverDnssecConfigs request, omit this value.

For the * second and subsequent requests, get the value of NextToken from the * previous response and specify that value for NextToken in the * request.

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

(Optional) If the current Amazon Web Services account has more than * MaxResults DNSSEC configurations, use NextToken to get * the second and subsequent pages of results.

For the first * ListResolverDnssecConfigs request, omit this value.

For the * second and subsequent requests, get the value of NextToken from the * previous response and specify that value for NextToken in the * request.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

(Optional) If the current Amazon Web Services account has more than * MaxResults DNSSEC configurations, use NextToken to get * the second and subsequent pages of results.

For the first * ListResolverDnssecConfigs request, omit this value.

For the * second and subsequent requests, get the value of NextToken from the * previous response and specify that value for NextToken in the * request.

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

(Optional) If the current Amazon Web Services account has more than * MaxResults DNSSEC configurations, use NextToken to get * the second and subsequent pages of results.

For the first * ListResolverDnssecConfigs request, omit this value.

For the * second and subsequent requests, get the value of NextToken from the * previous response and specify that value for NextToken in the * request.

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

(Optional) If the current Amazon Web Services account has more than * MaxResults DNSSEC configurations, use NextToken to get * the second and subsequent pages of results.

For the first * ListResolverDnssecConfigs request, omit this value.

For the * second and subsequent requests, get the value of NextToken from the * previous response and specify that value for NextToken in the * request.

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

(Optional) If the current Amazon Web Services account has more than * MaxResults DNSSEC configurations, use NextToken to get * the second and subsequent pages of results.

For the first * ListResolverDnssecConfigs request, omit this value.

For the * second and subsequent requests, get the value of NextToken from the * previous response and specify that value for NextToken in the * request.

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

(Optional) If the current Amazon Web Services account has more than * MaxResults DNSSEC configurations, use NextToken to get * the second and subsequent pages of results.

For the first * ListResolverDnssecConfigs request, omit this value.

For the * second and subsequent requests, get the value of NextToken from the * previous response and specify that value for NextToken in the * request.

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

(Optional) If the current Amazon Web Services account has more than * MaxResults DNSSEC configurations, use NextToken to get * the second and subsequent pages of results.

For the first * ListResolverDnssecConfigs request, omit this value.

For the * second and subsequent requests, get the value of NextToken from the * previous response and specify that value for NextToken in the * request.

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

An optional specification to return a subset of objects.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

An optional specification to return a subset of objects.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

An optional specification to return a subset of objects.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

An optional specification to return a subset of objects.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

An optional specification to return a subset of objects.

*/ inline ListResolverDnssecConfigsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

An optional specification to return a subset of objects.

*/ inline ListResolverDnssecConfigsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

An optional specification to return a subset of objects.

*/ inline ListResolverDnssecConfigsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

An optional specification to return a subset of objects.

*/ inline ListResolverDnssecConfigsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::Vector m_filters; bool m_filtersHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws