AWS SDK for C++  1.9.105
AWS SDK for C++
ListResourcesForWebACLRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WAFV2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListResourcesForWebACL"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetWebACLArn() const{ return m_webACLArn; }
42 
46  inline bool WebACLArnHasBeenSet() const { return m_webACLArnHasBeenSet; }
47 
51  inline void SetWebACLArn(const Aws::String& value) { m_webACLArnHasBeenSet = true; m_webACLArn = value; }
52 
56  inline void SetWebACLArn(Aws::String&& value) { m_webACLArnHasBeenSet = true; m_webACLArn = std::move(value); }
57 
61  inline void SetWebACLArn(const char* value) { m_webACLArnHasBeenSet = true; m_webACLArn.assign(value); }
62 
66  inline ListResourcesForWebACLRequest& WithWebACLArn(const Aws::String& value) { SetWebACLArn(value); return *this;}
67 
71  inline ListResourcesForWebACLRequest& WithWebACLArn(Aws::String&& value) { SetWebACLArn(std::move(value)); return *this;}
72 
76  inline ListResourcesForWebACLRequest& WithWebACLArn(const char* value) { SetWebACLArn(value); return *this;}
77 
78 
84  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
85 
91  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
92 
98  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
99 
105  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
106 
112  inline ListResourcesForWebACLRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
113 
119  inline ListResourcesForWebACLRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
120 
121  private:
122 
123  Aws::String m_webACLArn;
124  bool m_webACLArnHasBeenSet;
125 
126  ResourceType m_resourceType;
127  bool m_resourceTypeHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace WAFV2
132 } // namespace Aws
Aws::WAFV2::Model::ListResourcesForWebACLRequest::SetWebACLArn
void SetWebACLArn(Aws::String &&value)
Definition: ListResourcesForWebACLRequest.h:56
WAFV2Request.h
Aws::WAFV2::Model::ListResourcesForWebACLRequest::GetWebACLArn
const Aws::String & GetWebACLArn() const
Definition: ListResourcesForWebACLRequest.h:41
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ResourceType.h
Aws::WAFV2::Model::ListResourcesForWebACLRequest::WithWebACLArn
ListResourcesForWebACLRequest & WithWebACLArn(Aws::String &&value)
Definition: ListResourcesForWebACLRequest.h:71
Aws::WAFV2::Model::ListResourcesForWebACLRequest::ListResourcesForWebACLRequest
ListResourcesForWebACLRequest()
Aws::WAFV2::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
Aws::WAFV2::Model::ListResourcesForWebACLRequest::GetResourceType
const ResourceType & GetResourceType() const
Definition: ListResourcesForWebACLRequest.h:84
Aws::WAFV2::Model::ListResourcesForWebACLRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::ListResourcesForWebACLRequest::SetWebACLArn
void SetWebACLArn(const char *value)
Definition: ListResourcesForWebACLRequest.h:61
Aws::WAFV2::Model::ListResourcesForWebACLRequest::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: ListResourcesForWebACLRequest.h:105
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListResourcesForWebACLRequest::SetWebACLArn
void SetWebACLArn(const Aws::String &value)
Definition: ListResourcesForWebACLRequest.h:51
Aws::WAFV2::Model::ListResourcesForWebACLRequest::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: ListResourcesForWebACLRequest.h:98
Aws::WAFV2::Model::ListResourcesForWebACLRequest::WithWebACLArn
ListResourcesForWebACLRequest & WithWebACLArn(const char *value)
Definition: ListResourcesForWebACLRequest.h:76
Aws::WAFV2::WAFV2Request
Definition: WAFV2Request.h:17
AWSString.h
Aws::WAFV2::Model::ListResourcesForWebACLRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: ListResourcesForWebACLRequest.h:91
Aws::WAFV2::Model::ListResourcesForWebACLRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListResourcesForWebACLRequest.h:31
Aws::WAFV2::Model::ListResourcesForWebACLRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::ListResourcesForWebACLRequest::WithResourceType
ListResourcesForWebACLRequest & WithResourceType(const ResourceType &value)
Definition: ListResourcesForWebACLRequest.h:112
Aws::WAFV2::Model::ListResourcesForWebACLRequest::WebACLArnHasBeenSet
bool WebACLArnHasBeenSet() const
Definition: ListResourcesForWebACLRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ListResourcesForWebACLRequest
Definition: ListResourcesForWebACLRequest.h:23
Aws::WAFV2::Model::ListResourcesForWebACLRequest::WithResourceType
ListResourcesForWebACLRequest & WithResourceType(ResourceType &&value)
Definition: ListResourcesForWebACLRequest.h:119
Aws::WAFV2::Model::ListResourcesForWebACLRequest::WithWebACLArn
ListResourcesForWebACLRequest & WithWebACLArn(const Aws::String &value)
Definition: ListResourcesForWebACLRequest.h:66