/** * 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 ListResolverRuleAssociationsRequest : public Route53ResolverRequest { public: AWS_ROUTE53RESOLVER_API ListResolverRuleAssociationsRequest(); // 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 "ListResolverRuleAssociations"; } AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override; AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The maximum number of rule associations that you want to return in the * response to a ListResolverRuleAssociations request. If you don't * specify a value for MaxResults, Resolver returns up to 100 rule * associations.

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

The maximum number of rule associations that you want to return in the * response to a ListResolverRuleAssociations request. If you don't * specify a value for MaxResults, Resolver returns up to 100 rule * associations.

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

The maximum number of rule associations that you want to return in the * response to a ListResolverRuleAssociations request. If you don't * specify a value for MaxResults, Resolver returns up to 100 rule * associations.

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

The maximum number of rule associations that you want to return in the * response to a ListResolverRuleAssociations request. If you don't * specify a value for MaxResults, Resolver returns up to 100 rule * associations.

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

For the first ListResolverRuleAssociation request, omit this * value.

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

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

For the first ListResolverRuleAssociation request, omit this * value.

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

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

For the first ListResolverRuleAssociation request, omit this * value.

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

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

For the first ListResolverRuleAssociation request, omit this * value.

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

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

For the first ListResolverRuleAssociation request, omit this * value.

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

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

For the first ListResolverRuleAssociation request, omit this * value.

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

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

For the first ListResolverRuleAssociation request, omit this * value.

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

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

For the first ListResolverRuleAssociation request, omit this * value.

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

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

An optional specification to return a subset of Resolver rules, such as * Resolver rules that are associated with the same VPC ID.

If you * submit a second or subsequent ListResolverRuleAssociations request * and specify the NextToken parameter, you must use the same values * for Filters, if any, as in the previous request.

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

An optional specification to return a subset of Resolver rules, such as * Resolver rules that are associated with the same VPC ID.

If you * submit a second or subsequent ListResolverRuleAssociations request * and specify the NextToken parameter, you must use the same values * for Filters, if any, as in the previous request.

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

An optional specification to return a subset of Resolver rules, such as * Resolver rules that are associated with the same VPC ID.

If you * submit a second or subsequent ListResolverRuleAssociations request * and specify the NextToken parameter, you must use the same values * for Filters, if any, as in the previous request.

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

An optional specification to return a subset of Resolver rules, such as * Resolver rules that are associated with the same VPC ID.

If you * submit a second or subsequent ListResolverRuleAssociations request * and specify the NextToken parameter, you must use the same values * for Filters, if any, as in the previous request.

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

An optional specification to return a subset of Resolver rules, such as * Resolver rules that are associated with the same VPC ID.

If you * submit a second or subsequent ListResolverRuleAssociations request * and specify the NextToken parameter, you must use the same values * for Filters, if any, as in the previous request.

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

An optional specification to return a subset of Resolver rules, such as * Resolver rules that are associated with the same VPC ID.

If you * submit a second or subsequent ListResolverRuleAssociations request * and specify the NextToken parameter, you must use the same values * for Filters, if any, as in the previous request.

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

An optional specification to return a subset of Resolver rules, such as * Resolver rules that are associated with the same VPC ID.

If you * submit a second or subsequent ListResolverRuleAssociations request * and specify the NextToken parameter, you must use the same values * for Filters, if any, as in the previous request.

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

An optional specification to return a subset of Resolver rules, such as * Resolver rules that are associated with the same VPC ID.

If you * submit a second or subsequent ListResolverRuleAssociations request * and specify the NextToken parameter, you must use the same values * for Filters, if any, as in the previous request.

*/ inline ListResolverRuleAssociationsRequest& 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