/** * 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 { namespace Route53Resolver { namespace Model { /** */ class ListFirewallRuleGroupAssociationsRequest : public Route53ResolverRequest { public: AWS_ROUTE53RESOLVER_API ListFirewallRuleGroupAssociationsRequest(); // 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 "ListFirewallRuleGroupAssociations"; } AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override; AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier of the firewall rule group that you want to retrieve * the associations for. Leave this blank to retrieve associations for any rule * group.

*/ inline const Aws::String& GetFirewallRuleGroupId() const{ return m_firewallRuleGroupId; } /** *

The unique identifier of the firewall rule group that you want to retrieve * the associations for. Leave this blank to retrieve associations for any rule * group.

*/ inline bool FirewallRuleGroupIdHasBeenSet() const { return m_firewallRuleGroupIdHasBeenSet; } /** *

The unique identifier of the firewall rule group that you want to retrieve * the associations for. Leave this blank to retrieve associations for any rule * group.

*/ inline void SetFirewallRuleGroupId(const Aws::String& value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId = value; } /** *

The unique identifier of the firewall rule group that you want to retrieve * the associations for. Leave this blank to retrieve associations for any rule * group.

*/ inline void SetFirewallRuleGroupId(Aws::String&& value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId = std::move(value); } /** *

The unique identifier of the firewall rule group that you want to retrieve * the associations for. Leave this blank to retrieve associations for any rule * group.

*/ inline void SetFirewallRuleGroupId(const char* value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId.assign(value); } /** *

The unique identifier of the firewall rule group that you want to retrieve * the associations for. Leave this blank to retrieve associations for any rule * group.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithFirewallRuleGroupId(const Aws::String& value) { SetFirewallRuleGroupId(value); return *this;} /** *

The unique identifier of the firewall rule group that you want to retrieve * the associations for. Leave this blank to retrieve associations for any rule * group.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithFirewallRuleGroupId(Aws::String&& value) { SetFirewallRuleGroupId(std::move(value)); return *this;} /** *

The unique identifier of the firewall rule group that you want to retrieve * the associations for. Leave this blank to retrieve associations for any rule * group.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithFirewallRuleGroupId(const char* value) { SetFirewallRuleGroupId(value); return *this;} /** *

The unique identifier of the VPC that you want to retrieve the associations * for. Leave this blank to retrieve associations for any VPC.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The unique identifier of the VPC that you want to retrieve the associations * for. Leave this blank to retrieve associations for any VPC.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The unique identifier of the VPC that you want to retrieve the associations * for. Leave this blank to retrieve associations for any VPC.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The unique identifier of the VPC that you want to retrieve the associations * for. Leave this blank to retrieve associations for any VPC.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The unique identifier of the VPC that you want to retrieve the associations * for. Leave this blank to retrieve associations for any VPC.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The unique identifier of the VPC that you want to retrieve the associations * for. Leave this blank to retrieve associations for any VPC.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The unique identifier of the VPC that you want to retrieve the associations * for. Leave this blank to retrieve associations for any VPC.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The unique identifier of the VPC that you want to retrieve the associations * for. Leave this blank to retrieve associations for any VPC.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *

The setting that determines the processing order of the rule group among the * rule groups that are associated with a single VPC. DNS Firewall filters VPC * traffic starting from the rule group with the lowest numeric priority setting. *

*/ inline int GetPriority() const{ return m_priority; } /** *

The setting that determines the processing order of the rule group among the * rule groups that are associated with a single VPC. DNS Firewall filters VPC * traffic starting from the rule group with the lowest numeric priority setting. *

*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *

The setting that determines the processing order of the rule group among the * rule groups that are associated with a single VPC. DNS Firewall filters VPC * traffic starting from the rule group with the lowest numeric priority setting. *

*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *

The setting that determines the processing order of the rule group among the * rule groups that are associated with a single VPC. DNS Firewall filters VPC * traffic starting from the rule group with the lowest numeric priority setting. *

*/ inline ListFirewallRuleGroupAssociationsRequest& WithPriority(int value) { SetPriority(value); return *this;} /** *

The association Status setting that you want DNS Firewall to * filter on for the list. If you don't specify this, then DNS Firewall returns all * associations, regardless of status.

*/ inline const FirewallRuleGroupAssociationStatus& GetStatus() const{ return m_status; } /** *

The association Status setting that you want DNS Firewall to * filter on for the list. If you don't specify this, then DNS Firewall returns all * associations, regardless of status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The association Status setting that you want DNS Firewall to * filter on for the list. If you don't specify this, then DNS Firewall returns all * associations, regardless of status.

*/ inline void SetStatus(const FirewallRuleGroupAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The association Status setting that you want DNS Firewall to * filter on for the list. If you don't specify this, then DNS Firewall returns all * associations, regardless of status.

*/ inline void SetStatus(FirewallRuleGroupAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The association Status setting that you want DNS Firewall to * filter on for the list. If you don't specify this, then DNS Firewall returns all * associations, regardless of status.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithStatus(const FirewallRuleGroupAssociationStatus& value) { SetStatus(value); return *this;} /** *

The association Status setting that you want DNS Firewall to * filter on for the list. If you don't specify this, then DNS Firewall returns all * associations, regardless of status.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithStatus(FirewallRuleGroupAssociationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The maximum number of objects that you want Resolver to return for this * request. If more objects are available, in the response, Resolver provides a * NextToken value that you can use in a subsequent call to get the * next batch of objects.

If you don't specify a value for * MaxResults, Resolver returns up to 100 objects.

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

The maximum number of objects that you want Resolver to return for this * request. If more objects are available, in the response, Resolver provides a * NextToken value that you can use in a subsequent call to get the * next batch of objects.

If you don't specify a value for * MaxResults, Resolver returns up to 100 objects.

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

The maximum number of objects that you want Resolver to return for this * request. If more objects are available, in the response, Resolver provides a * NextToken value that you can use in a subsequent call to get the * next batch of objects.

If you don't specify a value for * MaxResults, Resolver returns up to 100 objects.

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

The maximum number of objects that you want Resolver to return for this * request. If more objects are available, in the response, Resolver provides a * NextToken value that you can use in a subsequent call to get the * next batch of objects.

If you don't specify a value for * MaxResults, Resolver returns up to 100 objects.

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

For the first call to this list request, omit this value.

When you * request a list of objects, Resolver returns at most the number of objects * specified in MaxResults. If more objects are available for * retrieval, Resolver returns a NextToken value in the response. To * retrieve the next batch of objects, use the token that was returned for the * prior request in your next request.

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

For the first call to this list request, omit this value.

When you * request a list of objects, Resolver returns at most the number of objects * specified in MaxResults. If more objects are available for * retrieval, Resolver returns a NextToken value in the response. To * retrieve the next batch of objects, use the token that was returned for the * prior request in your next request.

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

For the first call to this list request, omit this value.

When you * request a list of objects, Resolver returns at most the number of objects * specified in MaxResults. If more objects are available for * retrieval, Resolver returns a NextToken value in the response. To * retrieve the next batch of objects, use the token that was returned for the * prior request in your next request.

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

For the first call to this list request, omit this value.

When you * request a list of objects, Resolver returns at most the number of objects * specified in MaxResults. If more objects are available for * retrieval, Resolver returns a NextToken value in the response. To * retrieve the next batch of objects, use the token that was returned for the * prior request in your next request.

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

For the first call to this list request, omit this value.

When you * request a list of objects, Resolver returns at most the number of objects * specified in MaxResults. If more objects are available for * retrieval, Resolver returns a NextToken value in the response. To * retrieve the next batch of objects, use the token that was returned for the * prior request in your next request.

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

For the first call to this list request, omit this value.

When you * request a list of objects, Resolver returns at most the number of objects * specified in MaxResults. If more objects are available for * retrieval, Resolver returns a NextToken value in the response. To * retrieve the next batch of objects, use the token that was returned for the * prior request in your next request.

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

For the first call to this list request, omit this value.

When you * request a list of objects, Resolver returns at most the number of objects * specified in MaxResults. If more objects are available for * retrieval, Resolver returns a NextToken value in the response. To * retrieve the next batch of objects, use the token that was returned for the * prior request in your next request.

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

For the first call to this list request, omit this value.

When you * request a list of objects, Resolver returns at most the number of objects * specified in MaxResults. If more objects are available for * retrieval, Resolver returns a NextToken value in the response. To * retrieve the next batch of objects, use the token that was returned for the * prior request in your next request.

*/ inline ListFirewallRuleGroupAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_firewallRuleGroupId; bool m_firewallRuleGroupIdHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; int m_priority; bool m_priorityHasBeenSet = false; FirewallRuleGroupAssociationStatus m_status; bool m_statusHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws