/** * 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 ListResourcesForWebACLRequest : public WAFV2Request { public: AWS_WAFV2_API ListResourcesForWebACLRequest(); // 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 "ListResourcesForWebACL"; } AWS_WAFV2_API Aws::String SerializePayload() const override; AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline const Aws::String& GetWebACLArn() const{ return m_webACLArn; } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline bool WebACLArnHasBeenSet() const { return m_webACLArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline void SetWebACLArn(const Aws::String& value) { m_webACLArnHasBeenSet = true; m_webACLArn = value; } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline void SetWebACLArn(Aws::String&& value) { m_webACLArnHasBeenSet = true; m_webACLArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline void SetWebACLArn(const char* value) { m_webACLArnHasBeenSet = true; m_webACLArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline ListResourcesForWebACLRequest& WithWebACLArn(const Aws::String& value) { SetWebACLArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline ListResourcesForWebACLRequest& WithWebACLArn(Aws::String&& value) { SetWebACLArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline ListResourcesForWebACLRequest& WithWebACLArn(const char* value) { SetWebACLArn(value); return *this;} /** *

Used for web ACLs that are scoped for regional applications. 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.

If * you don't provide a resource type, the call uses the resource type * APPLICATION_LOAD_BALANCER.

Default: * APPLICATION_LOAD_BALANCER

*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *

Used for web ACLs that are scoped for regional applications. 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.

If * you don't provide a resource type, the call uses the resource type * APPLICATION_LOAD_BALANCER.

Default: * APPLICATION_LOAD_BALANCER

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

Used for web ACLs that are scoped for regional applications. 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.

If * you don't provide a resource type, the call uses the resource type * APPLICATION_LOAD_BALANCER.

Default: * APPLICATION_LOAD_BALANCER

*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

Used for web ACLs that are scoped for regional applications. 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.

If * you don't provide a resource type, the call uses the resource type * APPLICATION_LOAD_BALANCER.

Default: * APPLICATION_LOAD_BALANCER

*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

Used for web ACLs that are scoped for regional applications. 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.

If * you don't provide a resource type, the call uses the resource type * APPLICATION_LOAD_BALANCER.

Default: * APPLICATION_LOAD_BALANCER

*/ inline ListResourcesForWebACLRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *

Used for web ACLs that are scoped for regional applications. 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.

If * you don't provide a resource type, the call uses the resource type * APPLICATION_LOAD_BALANCER.

Default: * APPLICATION_LOAD_BALANCER

*/ inline ListResourcesForWebACLRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} private: Aws::String m_webACLArn; bool m_webACLArnHasBeenSet = false; ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws