/** * 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 WAFV2 { namespace Model { /** */ class ListWebACLsRequest : public WAFV2Request { public: AWS_WAFV2_API ListWebACLsRequest(); // 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 "ListWebACLs"; } AWS_WAFV2_API Aws::String SerializePayload() const override; AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Specifies whether this is for an Amazon CloudFront distribution or for a * regional application. A regional application can be an Application Load Balancer * (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito * user pool, an App Runner service, or an Amazon Web Services Verified Access * instance.

To work with CloudFront, you must also specify the Region US * East (N. Virginia) as follows:

  • CLI - Specify the Region when * you use the CloudFront scope: --scope=CLOUDFRONT * --region=us-east-1.

  • API and SDKs - For all calls, use * the Region endpoint us-east-1.

*/ inline const Scope& GetScope() const{ return m_scope; } /** *

Specifies whether this is for an Amazon CloudFront distribution or for a * regional application. A regional application can be an Application Load Balancer * (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito * user pool, an App Runner service, or an Amazon Web Services Verified Access * instance.

To work with CloudFront, you must also specify the Region US * East (N. Virginia) as follows:

  • CLI - Specify the Region when * you use the CloudFront scope: --scope=CLOUDFRONT * --region=us-east-1.

  • API and SDKs - For all calls, use * the Region endpoint us-east-1.

*/ inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; } /** *

Specifies whether this is for an Amazon CloudFront distribution or for a * regional application. A regional application can be an Application Load Balancer * (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito * user pool, an App Runner service, or an Amazon Web Services Verified Access * instance.

To work with CloudFront, you must also specify the Region US * East (N. Virginia) as follows:

  • CLI - Specify the Region when * you use the CloudFront scope: --scope=CLOUDFRONT * --region=us-east-1.

  • API and SDKs - For all calls, use * the Region endpoint us-east-1.

*/ inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; } /** *

Specifies whether this is for an Amazon CloudFront distribution or for a * regional application. A regional application can be an Application Load Balancer * (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito * user pool, an App Runner service, or an Amazon Web Services Verified Access * instance.

To work with CloudFront, you must also specify the Region US * East (N. Virginia) as follows:

  • CLI - Specify the Region when * you use the CloudFront scope: --scope=CLOUDFRONT * --region=us-east-1.

  • API and SDKs - For all calls, use * the Region endpoint us-east-1.

*/ inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); } /** *

Specifies whether this is for an Amazon CloudFront distribution or for a * regional application. A regional application can be an Application Load Balancer * (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito * user pool, an App Runner service, or an Amazon Web Services Verified Access * instance.

To work with CloudFront, you must also specify the Region US * East (N. Virginia) as follows:

  • CLI - Specify the Region when * you use the CloudFront scope: --scope=CLOUDFRONT * --region=us-east-1.

  • API and SDKs - For all calls, use * the Region endpoint us-east-1.

*/ inline ListWebACLsRequest& WithScope(const Scope& value) { SetScope(value); return *this;} /** *

Specifies whether this is for an Amazon CloudFront distribution or for a * regional application. A regional application can be an Application Load Balancer * (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito * user pool, an App Runner service, or an Amazon Web Services Verified Access * instance.

To work with CloudFront, you must also specify the Region US * East (N. Virginia) as follows:

  • CLI - Specify the Region when * you use the CloudFront scope: --scope=CLOUDFRONT * --region=us-east-1.

  • API and SDKs - For all calls, use * the Region endpoint us-east-1.

*/ inline ListWebACLsRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;} /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; } /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; } /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); } /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); } /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline ListWebACLsRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline ListWebACLsRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline ListWebACLsRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} /** *

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

*/ inline int GetLimit() const{ return m_limit; } /** *

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

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

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

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

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

*/ inline ListWebACLsRequest& WithLimit(int value) { SetLimit(value); return *this;} private: Scope m_scope; bool m_scopeHasBeenSet = false; Aws::String m_nextMarker; bool m_nextMarkerHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws