/** * 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 WAFRegional { namespace Model { /** */ class ListResourcesForWebACLRequest : public WAFRegionalRequest { public: AWS_WAFREGIONAL_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_WAFREGIONAL_API Aws::String SerializePayload() const override; AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier (ID) of the web ACL for which to list the associated * resources.

*/ inline const Aws::String& GetWebACLId() const{ return m_webACLId; } /** *

The unique identifier (ID) of the web ACL for which to list the associated * resources.

*/ inline bool WebACLIdHasBeenSet() const { return m_webACLIdHasBeenSet; } /** *

The unique identifier (ID) of the web ACL for which to list the associated * resources.

*/ inline void SetWebACLId(const Aws::String& value) { m_webACLIdHasBeenSet = true; m_webACLId = value; } /** *

The unique identifier (ID) of the web ACL for which to list the associated * resources.

*/ inline void SetWebACLId(Aws::String&& value) { m_webACLIdHasBeenSet = true; m_webACLId = std::move(value); } /** *

The unique identifier (ID) of the web ACL for which to list the associated * resources.

*/ inline void SetWebACLId(const char* value) { m_webACLIdHasBeenSet = true; m_webACLId.assign(value); } /** *

The unique identifier (ID) of the web ACL for which to list the associated * resources.

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

The unique identifier (ID) of the web ACL for which to list the associated * resources.

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

The unique identifier (ID) of the web ACL for which to list the associated * resources.

*/ inline ListResourcesForWebACLRequest& WithWebACLId(const char* value) { SetWebACLId(value); return *this;} /** *

The type of resource to list, either an application load balancer or Amazon * API Gateway.

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

The type of resource to list, either an application load balancer or Amazon * API Gateway.

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

The type of resource to list, either an application load balancer or Amazon * API Gateway.

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

The type of resource to list, either an application load balancer or Amazon * API Gateway.

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

The type of resource to list, either an application load balancer or Amazon * API Gateway.

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

The type of resource to list, either an application load balancer or Amazon * API Gateway.

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