AWS SDK for C++  1.9.153
AWS SDK for C++
CreateLocationFsxWindowsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DataSync
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateLocationFsxWindows"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
45  inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
46 
53  inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
54 
61  inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
62 
69  inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
70 
77  inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
78 
85  inline CreateLocationFsxWindowsRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
86 
93  inline CreateLocationFsxWindowsRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
94 
101  inline CreateLocationFsxWindowsRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
102 
103 
108  inline const Aws::String& GetFsxFilesystemArn() const{ return m_fsxFilesystemArn; }
109 
114  inline bool FsxFilesystemArnHasBeenSet() const { return m_fsxFilesystemArnHasBeenSet; }
115 
120  inline void SetFsxFilesystemArn(const Aws::String& value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn = value; }
121 
126  inline void SetFsxFilesystemArn(Aws::String&& value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn = std::move(value); }
127 
132  inline void SetFsxFilesystemArn(const char* value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn.assign(value); }
133 
138  inline CreateLocationFsxWindowsRequest& WithFsxFilesystemArn(const Aws::String& value) { SetFsxFilesystemArn(value); return *this;}
139 
144  inline CreateLocationFsxWindowsRequest& WithFsxFilesystemArn(Aws::String&& value) { SetFsxFilesystemArn(std::move(value)); return *this;}
145 
150  inline CreateLocationFsxWindowsRequest& WithFsxFilesystemArn(const char* value) { SetFsxFilesystemArn(value); return *this;}
151 
152 
157  inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const{ return m_securityGroupArns; }
158 
163  inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; }
164 
169  inline void SetSecurityGroupArns(const Aws::Vector<Aws::String>& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = value; }
170 
175  inline void SetSecurityGroupArns(Aws::Vector<Aws::String>&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::move(value); }
176 
181  inline CreateLocationFsxWindowsRequest& WithSecurityGroupArns(const Aws::Vector<Aws::String>& value) { SetSecurityGroupArns(value); return *this;}
182 
187  inline CreateLocationFsxWindowsRequest& WithSecurityGroupArns(Aws::Vector<Aws::String>&& value) { SetSecurityGroupArns(std::move(value)); return *this;}
188 
193  inline CreateLocationFsxWindowsRequest& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; }
194 
199  inline CreateLocationFsxWindowsRequest& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(std::move(value)); return *this; }
200 
205  inline CreateLocationFsxWindowsRequest& AddSecurityGroupArns(const char* value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; }
206 
207 
214  inline const Aws::Vector<TagListEntry>& GetTags() const{ return m_tags; }
215 
222  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
223 
230  inline void SetTags(const Aws::Vector<TagListEntry>& value) { m_tagsHasBeenSet = true; m_tags = value; }
231 
238  inline void SetTags(Aws::Vector<TagListEntry>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
239 
246  inline CreateLocationFsxWindowsRequest& WithTags(const Aws::Vector<TagListEntry>& value) { SetTags(value); return *this;}
247 
254  inline CreateLocationFsxWindowsRequest& WithTags(Aws::Vector<TagListEntry>&& value) { SetTags(std::move(value)); return *this;}
255 
262  inline CreateLocationFsxWindowsRequest& AddTags(const TagListEntry& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
263 
270  inline CreateLocationFsxWindowsRequest& AddTags(TagListEntry&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
271 
272 
279  inline const Aws::String& GetUser() const{ return m_user; }
280 
287  inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
288 
295  inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
296 
303  inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
304 
311  inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
312 
319  inline CreateLocationFsxWindowsRequest& WithUser(const Aws::String& value) { SetUser(value); return *this;}
320 
327  inline CreateLocationFsxWindowsRequest& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
328 
335  inline CreateLocationFsxWindowsRequest& WithUser(const char* value) { SetUser(value); return *this;}
336 
337 
342  inline const Aws::String& GetDomain() const{ return m_domain; }
343 
348  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
349 
354  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
355 
360  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
361 
366  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
367 
372  inline CreateLocationFsxWindowsRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
373 
378  inline CreateLocationFsxWindowsRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
379 
384  inline CreateLocationFsxWindowsRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
385 
386 
391  inline const Aws::String& GetPassword() const{ return m_password; }
392 
397  inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
398 
403  inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
404 
409  inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
410 
415  inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
416 
421  inline CreateLocationFsxWindowsRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
422 
427  inline CreateLocationFsxWindowsRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
428 
433  inline CreateLocationFsxWindowsRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
434 
435  private:
436 
437  Aws::String m_subdirectory;
438  bool m_subdirectoryHasBeenSet;
439 
440  Aws::String m_fsxFilesystemArn;
441  bool m_fsxFilesystemArnHasBeenSet;
442 
443  Aws::Vector<Aws::String> m_securityGroupArns;
444  bool m_securityGroupArnsHasBeenSet;
445 
447  bool m_tagsHasBeenSet;
448 
449  Aws::String m_user;
450  bool m_userHasBeenSet;
451 
452  Aws::String m_domain;
453  bool m_domainHasBeenSet;
454 
455  Aws::String m_password;
456  bool m_passwordHasBeenSet;
457  };
458 
459 } // namespace Model
460 } // namespace DataSync
461 } // namespace Aws
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetFsxFilesystemArn
void SetFsxFilesystemArn(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:120
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::AddSecurityGroupArns
CreateLocationFsxWindowsRequest & AddSecurityGroupArns(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:205
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataSync::Model::TagListEntry
Definition: TagListEntry.h:36
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetSecurityGroupArns
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
Definition: CreateLocationFsxWindowsRequest.h:157
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::AddTags
CreateLocationFsxWindowsRequest & AddTags(TagListEntry &&value)
Definition: CreateLocationFsxWindowsRequest.h:270
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetSecurityGroupArns
void SetSecurityGroupArns(Aws::Vector< Aws::String > &&value)
Definition: CreateLocationFsxWindowsRequest.h:175
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:354
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetPassword
void SetPassword(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:409
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithDomain
CreateLocationFsxWindowsRequest & WithDomain(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:384
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithSubdirectory
CreateLocationFsxWindowsRequest & WithSubdirectory(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:101
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetSubdirectory
const Aws::String & GetSubdirectory() const
Definition: CreateLocationFsxWindowsRequest.h:45
DataSyncRequest.h
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithPassword
CreateLocationFsxWindowsRequest & WithPassword(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:421
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetTags
void SetTags(Aws::Vector< TagListEntry > &&value)
Definition: CreateLocationFsxWindowsRequest.h:238
AWSVector.h
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetPassword
const Aws::String & GetPassword() const
Definition: CreateLocationFsxWindowsRequest.h:391
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetTags
void SetTags(const Aws::Vector< TagListEntry > &value)
Definition: CreateLocationFsxWindowsRequest.h:230
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithUser
CreateLocationFsxWindowsRequest & WithUser(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:319
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetTags
const Aws::Vector< TagListEntry > & GetTags() const
Definition: CreateLocationFsxWindowsRequest.h:214
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithPassword
CreateLocationFsxWindowsRequest & WithPassword(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:427
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithUser
CreateLocationFsxWindowsRequest & WithUser(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:327
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithDomain
CreateLocationFsxWindowsRequest & WithDomain(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:372
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetUser
void SetUser(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:311
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::CreateLocationFsxWindowsRequest
CreateLocationFsxWindowsRequest()
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithSecurityGroupArns
CreateLocationFsxWindowsRequest & WithSecurityGroupArns(const Aws::Vector< Aws::String > &value)
Definition: CreateLocationFsxWindowsRequest.h:181
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::AddSecurityGroupArns
CreateLocationFsxWindowsRequest & AddSecurityGroupArns(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:199
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::AddSecurityGroupArns
CreateLocationFsxWindowsRequest & AddSecurityGroupArns(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:193
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetFsxFilesystemArn
void SetFsxFilesystemArn(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:132
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithSecurityGroupArns
CreateLocationFsxWindowsRequest & WithSecurityGroupArns(Aws::Vector< Aws::String > &&value)
Definition: CreateLocationFsxWindowsRequest.h:187
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithFsxFilesystemArn
CreateLocationFsxWindowsRequest & WithFsxFilesystemArn(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:144
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetSubdirectory
void SetSubdirectory(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:77
TagListEntry.h
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::PasswordHasBeenSet
bool PasswordHasBeenSet() const
Definition: CreateLocationFsxWindowsRequest.h:397
Aws::DataSync::Model::CreateLocationFsxWindowsRequest
Definition: CreateLocationFsxWindowsRequest.h:24
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetFsxFilesystemArn
const Aws::String & GetFsxFilesystemArn() const
Definition: CreateLocationFsxWindowsRequest.h:108
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetPassword
void SetPassword(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:403
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithSubdirectory
CreateLocationFsxWindowsRequest & WithSubdirectory(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:93
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithSubdirectory
CreateLocationFsxWindowsRequest & WithSubdirectory(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:85
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithDomain
CreateLocationFsxWindowsRequest & WithDomain(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:378
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SubdirectoryHasBeenSet
bool SubdirectoryHasBeenSet() const
Definition: CreateLocationFsxWindowsRequest.h:53
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:360
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::AddTags
CreateLocationFsxWindowsRequest & AddTags(const TagListEntry &value)
Definition: CreateLocationFsxWindowsRequest.h:262
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateLocationFsxWindowsRequest.h:222
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetSecurityGroupArns
void SetSecurityGroupArns(const Aws::Vector< Aws::String > &value)
Definition: CreateLocationFsxWindowsRequest.h:169
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetSubdirectory
void SetSubdirectory(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:69
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetDomain
void SetDomain(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:366
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetPassword
void SetPassword(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:415
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetUser
void SetUser(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:295
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithTags
CreateLocationFsxWindowsRequest & WithTags(const Aws::Vector< TagListEntry > &value)
Definition: CreateLocationFsxWindowsRequest.h:246
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithPassword
CreateLocationFsxWindowsRequest & WithPassword(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:433
Aws::DataSync::DataSyncRequest
Definition: DataSyncRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::FsxFilesystemArnHasBeenSet
bool FsxFilesystemArnHasBeenSet() const
Definition: CreateLocationFsxWindowsRequest.h:114
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithUser
CreateLocationFsxWindowsRequest & WithUser(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:335
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SecurityGroupArnsHasBeenSet
bool SecurityGroupArnsHasBeenSet() const
Definition: CreateLocationFsxWindowsRequest.h:163
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetSubdirectory
void SetSubdirectory(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:61
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetUser
void SetUser(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:303
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetDomain
const Aws::String & GetDomain() const
Definition: CreateLocationFsxWindowsRequest.h:342
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetUser
const Aws::String & GetUser() const
Definition: CreateLocationFsxWindowsRequest.h:279
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::SetFsxFilesystemArn
void SetFsxFilesystemArn(Aws::String &&value)
Definition: CreateLocationFsxWindowsRequest.h:126
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: CreateLocationFsxWindowsRequest.h:348
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::UserHasBeenSet
bool UserHasBeenSet() const
Definition: CreateLocationFsxWindowsRequest.h:287
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithFsxFilesystemArn
CreateLocationFsxWindowsRequest & WithFsxFilesystemArn(const Aws::String &value)
Definition: CreateLocationFsxWindowsRequest.h:138
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithTags
CreateLocationFsxWindowsRequest & WithTags(Aws::Vector< TagListEntry > &&value)
Definition: CreateLocationFsxWindowsRequest.h:254
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateLocationFsxWindowsRequest.h:32
Aws::DataSync::Model::CreateLocationFsxWindowsRequest::WithFsxFilesystemArn
CreateLocationFsxWindowsRequest & WithFsxFilesystemArn(const char *value)
Definition: CreateLocationFsxWindowsRequest.h:150