AWS SDK for C++  1.9.72
AWS SDK for C++
CreateWebACLMigrationStackRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/waf/WAF_EXPORTS.h>
8 #include <aws/waf/WAFRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAF
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateWebACLMigrationStack"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetWebACLId() const{ return m_webACLId; }
41 
45  inline bool WebACLIdHasBeenSet() const { return m_webACLIdHasBeenSet; }
46 
50  inline void SetWebACLId(const Aws::String& value) { m_webACLIdHasBeenSet = true; m_webACLId = value; }
51 
55  inline void SetWebACLId(Aws::String&& value) { m_webACLIdHasBeenSet = true; m_webACLId = std::move(value); }
56 
60  inline void SetWebACLId(const char* value) { m_webACLIdHasBeenSet = true; m_webACLId.assign(value); }
61 
65  inline CreateWebACLMigrationStackRequest& WithWebACLId(const Aws::String& value) { SetWebACLId(value); return *this;}
66 
70  inline CreateWebACLMigrationStackRequest& WithWebACLId(Aws::String&& value) { SetWebACLId(std::move(value)); return *this;}
71 
75  inline CreateWebACLMigrationStackRequest& WithWebACLId(const char* value) { SetWebACLId(value); return *this;}
76 
77 
89  inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
90 
102  inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
103 
115  inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
116 
128  inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
129 
141  inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
142 
154  inline CreateWebACLMigrationStackRequest& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
155 
167  inline CreateWebACLMigrationStackRequest& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
168 
180  inline CreateWebACLMigrationStackRequest& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
181 
182 
189  inline bool GetIgnoreUnsupportedType() const{ return m_ignoreUnsupportedType; }
190 
197  inline bool IgnoreUnsupportedTypeHasBeenSet() const { return m_ignoreUnsupportedTypeHasBeenSet; }
198 
205  inline void SetIgnoreUnsupportedType(bool value) { m_ignoreUnsupportedTypeHasBeenSet = true; m_ignoreUnsupportedType = value; }
206 
213  inline CreateWebACLMigrationStackRequest& WithIgnoreUnsupportedType(bool value) { SetIgnoreUnsupportedType(value); return *this;}
214 
215  private:
216 
217  Aws::String m_webACLId;
218  bool m_webACLIdHasBeenSet;
219 
220  Aws::String m_s3BucketName;
221  bool m_s3BucketNameHasBeenSet;
222 
223  bool m_ignoreUnsupportedType;
224  bool m_ignoreUnsupportedTypeHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace WAF
229 } // namespace Aws
Aws::WAF::Model::CreateWebACLMigrationStackRequest::WithS3BucketName
CreateWebACLMigrationStackRequest & WithS3BucketName(Aws::String &&value)
Definition: CreateWebACLMigrationStackRequest.h:167
Aws::WAF::Model::CreateWebACLMigrationStackRequest::SetWebACLId
void SetWebACLId(const Aws::String &value)
Definition: CreateWebACLMigrationStackRequest.h:50
Aws::WAF::Model::CreateWebACLMigrationStackRequest::WithWebACLId
CreateWebACLMigrationStackRequest & WithWebACLId(const char *value)
Definition: CreateWebACLMigrationStackRequest.h:75
Aws::WAF::Model::CreateWebACLMigrationStackRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAF::Model::CreateWebACLMigrationStackRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateWebACLMigrationStackRequest.h:30
Aws::WAF::Model::CreateWebACLMigrationStackRequest::IgnoreUnsupportedTypeHasBeenSet
bool IgnoreUnsupportedTypeHasBeenSet() const
Definition: CreateWebACLMigrationStackRequest.h:197
Aws::WAF::Model::CreateWebACLMigrationStackRequest::SetWebACLId
void SetWebACLId(Aws::String &&value)
Definition: CreateWebACLMigrationStackRequest.h:55
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::CreateWebACLMigrationStackRequest::WithS3BucketName
CreateWebACLMigrationStackRequest & WithS3BucketName(const Aws::String &value)
Definition: CreateWebACLMigrationStackRequest.h:154
Aws::WAF::Model::CreateWebACLMigrationStackRequest::WithIgnoreUnsupportedType
CreateWebACLMigrationStackRequest & WithIgnoreUnsupportedType(bool value)
Definition: CreateWebACLMigrationStackRequest.h:213
Aws::WAF::Model::CreateWebACLMigrationStackRequest::WithWebACLId
CreateWebACLMigrationStackRequest & WithWebACLId(Aws::String &&value)
Definition: CreateWebACLMigrationStackRequest.h:70
Aws::WAF::Model::CreateWebACLMigrationStackRequest::GetS3BucketName
const Aws::String & GetS3BucketName() const
Definition: CreateWebACLMigrationStackRequest.h:89
Aws::WAF::Model::CreateWebACLMigrationStackRequest::SetWebACLId
void SetWebACLId(const char *value)
Definition: CreateWebACLMigrationStackRequest.h:60
Aws::WAF::Model::CreateWebACLMigrationStackRequest::WebACLIdHasBeenSet
bool WebACLIdHasBeenSet() const
Definition: CreateWebACLMigrationStackRequest.h:45
Aws::WAF::Model::CreateWebACLMigrationStackRequest
Definition: CreateWebACLMigrationStackRequest.h:22
Aws::WAF::Model::CreateWebACLMigrationStackRequest::GetWebACLId
const Aws::String & GetWebACLId() const
Definition: CreateWebACLMigrationStackRequest.h:40
Aws::WAF::Model::CreateWebACLMigrationStackRequest::WithWebACLId
CreateWebACLMigrationStackRequest & WithWebACLId(const Aws::String &value)
Definition: CreateWebACLMigrationStackRequest.h:65
Aws::WAF::Model::CreateWebACLMigrationStackRequest::SetS3BucketName
void SetS3BucketName(const Aws::String &value)
Definition: CreateWebACLMigrationStackRequest.h:115
Aws::WAF::Model::CreateWebACLMigrationStackRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::WAF::Model::CreateWebACLMigrationStackRequest::SetIgnoreUnsupportedType
void SetIgnoreUnsupportedType(bool value)
Definition: CreateWebACLMigrationStackRequest.h:205
Aws::WAF::Model::CreateWebACLMigrationStackRequest::SetS3BucketName
void SetS3BucketName(Aws::String &&value)
Definition: CreateWebACLMigrationStackRequest.h:128
WAF_EXPORTS.h
WAFRequest.h
Aws::WAF::Model::CreateWebACLMigrationStackRequest::WithS3BucketName
CreateWebACLMigrationStackRequest & WithS3BucketName(const char *value)
Definition: CreateWebACLMigrationStackRequest.h:180
Aws
Definition: AccessManagementClient.h:15
Aws::WAF::Model::CreateWebACLMigrationStackRequest::CreateWebACLMigrationStackRequest
CreateWebACLMigrationStackRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAF::Model::CreateWebACLMigrationStackRequest::SetS3BucketName
void SetS3BucketName(const char *value)
Definition: CreateWebACLMigrationStackRequest.h:141
Aws::WAF::Model::CreateWebACLMigrationStackRequest::S3BucketNameHasBeenSet
bool S3BucketNameHasBeenSet() const
Definition: CreateWebACLMigrationStackRequest.h:102
Aws::WAF::WAFRequest
Definition: WAFRequest.h:17
Aws::WAF::Model::CreateWebACLMigrationStackRequest::GetIgnoreUnsupportedType
bool GetIgnoreUnsupportedType() const
Definition: CreateWebACLMigrationStackRequest.h:189