AWS SDK for C++  1.9.153
AWS SDK for C++
UpdateLocationSmbRequest.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 "UpdateLocationSmb"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
43 
47  inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
48 
52  inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
53 
57  inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
58 
62  inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
63 
67  inline UpdateLocationSmbRequest& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
68 
72  inline UpdateLocationSmbRequest& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
73 
77  inline UpdateLocationSmbRequest& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
78 
79 
97  inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
98 
116  inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
117 
135  inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
136 
154  inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
155 
173  inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
174 
192  inline UpdateLocationSmbRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
193 
211  inline UpdateLocationSmbRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
212 
230  inline UpdateLocationSmbRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
231 
232 
237  inline const Aws::String& GetUser() const{ return m_user; }
238 
243  inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
244 
249  inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
250 
255  inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
256 
261  inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
262 
267  inline UpdateLocationSmbRequest& WithUser(const Aws::String& value) { SetUser(value); return *this;}
268 
273  inline UpdateLocationSmbRequest& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
274 
279  inline UpdateLocationSmbRequest& WithUser(const char* value) { SetUser(value); return *this;}
280 
281 
285  inline const Aws::String& GetDomain() const{ return m_domain; }
286 
290  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
291 
295  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
296 
300  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
301 
305  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
306 
310  inline UpdateLocationSmbRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
311 
315  inline UpdateLocationSmbRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
316 
320  inline UpdateLocationSmbRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
321 
322 
327  inline const Aws::String& GetPassword() const{ return m_password; }
328 
333  inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
334 
339  inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
340 
345  inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
346 
351  inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
352 
357  inline UpdateLocationSmbRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
358 
363  inline UpdateLocationSmbRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
364 
369  inline UpdateLocationSmbRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
370 
371 
376  inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
377 
382  inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
383 
388  inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArnsHasBeenSet = true; m_agentArns = value; }
389 
394  inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::move(value); }
395 
400  inline UpdateLocationSmbRequest& WithAgentArns(const Aws::Vector<Aws::String>& value) { SetAgentArns(value); return *this;}
401 
406  inline UpdateLocationSmbRequest& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
407 
412  inline UpdateLocationSmbRequest& AddAgentArns(const Aws::String& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
413 
418  inline UpdateLocationSmbRequest& AddAgentArns(Aws::String&& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(std::move(value)); return *this; }
419 
424  inline UpdateLocationSmbRequest& AddAgentArns(const char* value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
425 
426 
427 
428  inline const SmbMountOptions& GetMountOptions() const{ return m_mountOptions; }
429 
430 
431  inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
432 
433 
434  inline void SetMountOptions(const SmbMountOptions& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
435 
436 
437  inline void SetMountOptions(SmbMountOptions&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
438 
439 
440  inline UpdateLocationSmbRequest& WithMountOptions(const SmbMountOptions& value) { SetMountOptions(value); return *this;}
441 
442 
443  inline UpdateLocationSmbRequest& WithMountOptions(SmbMountOptions&& value) { SetMountOptions(std::move(value)); return *this;}
444 
445  private:
446 
447  Aws::String m_locationArn;
448  bool m_locationArnHasBeenSet;
449 
450  Aws::String m_subdirectory;
451  bool m_subdirectoryHasBeenSet;
452 
453  Aws::String m_user;
454  bool m_userHasBeenSet;
455 
456  Aws::String m_domain;
457  bool m_domainHasBeenSet;
458 
459  Aws::String m_password;
460  bool m_passwordHasBeenSet;
461 
462  Aws::Vector<Aws::String> m_agentArns;
463  bool m_agentArnsHasBeenSet;
464 
465  SmbMountOptions m_mountOptions;
466  bool m_mountOptionsHasBeenSet;
467  };
468 
469 } // namespace Model
470 } // namespace DataSync
471 } // namespace Aws
Aws::DataSync::Model::UpdateLocationSmbRequest::SetUser
void SetUser(const char *value)
Definition: UpdateLocationSmbRequest.h:261
Aws::DataSync::Model::UpdateLocationSmbRequest::AddAgentArns
UpdateLocationSmbRequest & AddAgentArns(const char *value)
Definition: UpdateLocationSmbRequest.h:424
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::UpdateLocationSmbRequest::AddAgentArns
UpdateLocationSmbRequest & AddAgentArns(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:418
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataSync::Model::UpdateLocationSmbRequest::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: UpdateLocationSmbRequest.h:42
Aws::DataSync::Model::UpdateLocationSmbRequest::WithPassword
UpdateLocationSmbRequest & WithPassword(const char *value)
Definition: UpdateLocationSmbRequest.h:369
Aws::DataSync::Model::UpdateLocationSmbRequest::SetLocationArn
void SetLocationArn(const char *value)
Definition: UpdateLocationSmbRequest.h:62
Aws::DataSync::Model::UpdateLocationSmbRequest::WithLocationArn
UpdateLocationSmbRequest & WithLocationArn(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:72
Aws::DataSync::Model::UpdateLocationSmbRequest::WithMountOptions
UpdateLocationSmbRequest & WithMountOptions(SmbMountOptions &&value)
Definition: UpdateLocationSmbRequest.h:443
SmbMountOptions.h
Aws::DataSync::Model::UpdateLocationSmbRequest::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:57
Aws::DataSync::Model::UpdateLocationSmbRequest::WithDomain
UpdateLocationSmbRequest & WithDomain(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:310
Aws::DataSync::Model::UpdateLocationSmbRequest::SetUser
void SetUser(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:255
Aws::DataSync::Model::UpdateLocationSmbRequest::UpdateLocationSmbRequest
UpdateLocationSmbRequest()
Aws::DataSync::Model::UpdateLocationSmbRequest::WithAgentArns
UpdateLocationSmbRequest & WithAgentArns(Aws::Vector< Aws::String > &&value)
Definition: UpdateLocationSmbRequest.h:406
DataSyncRequest.h
Aws::DataSync::Model::UpdateLocationSmbRequest::GetUser
const Aws::String & GetUser() const
Definition: UpdateLocationSmbRequest.h:237
Aws::DataSync::Model::UpdateLocationSmbRequest::GetMountOptions
const SmbMountOptions & GetMountOptions() const
Definition: UpdateLocationSmbRequest.h:428
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataSync::Model::UpdateLocationSmbRequest::SetSubdirectory
void SetSubdirectory(const char *value)
Definition: UpdateLocationSmbRequest.h:173
Aws::DataSync::Model::UpdateLocationSmbRequest::SetPassword
void SetPassword(const char *value)
Definition: UpdateLocationSmbRequest.h:351
Aws::DataSync::Model::UpdateLocationSmbRequest::WithLocationArn
UpdateLocationSmbRequest & WithLocationArn(const char *value)
Definition: UpdateLocationSmbRequest.h:77
AWSVector.h
Aws::DataSync::Model::UpdateLocationSmbRequest::WithDomain
UpdateLocationSmbRequest & WithDomain(const char *value)
Definition: UpdateLocationSmbRequest.h:320
Aws::DataSync::Model::UpdateLocationSmbRequest::SetAgentArns
void SetAgentArns(Aws::Vector< Aws::String > &&value)
Definition: UpdateLocationSmbRequest.h:394
Aws::DataSync::Model::UpdateLocationSmbRequest::SetPassword
void SetPassword(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:339
Aws::DataSync::Model::UpdateLocationSmbRequest::SetMountOptions
void SetMountOptions(const SmbMountOptions &value)
Definition: UpdateLocationSmbRequest.h:434
Aws::DataSync::Model::UpdateLocationSmbRequest::WithPassword
UpdateLocationSmbRequest & WithPassword(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:357
Aws::DataSync::Model::UpdateLocationSmbRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateLocationSmbRequest.h:32
Aws::DataSync::Model::UpdateLocationSmbRequest::WithMountOptions
UpdateLocationSmbRequest & WithMountOptions(const SmbMountOptions &value)
Definition: UpdateLocationSmbRequest.h:440
Aws::DataSync::Model::UpdateLocationSmbRequest::WithAgentArns
UpdateLocationSmbRequest & WithAgentArns(const Aws::Vector< Aws::String > &value)
Definition: UpdateLocationSmbRequest.h:400
Aws::DataSync::Model::UpdateLocationSmbRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:295
Aws::DataSync::Model::UpdateLocationSmbRequest::WithUser
UpdateLocationSmbRequest & WithUser(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:273
Aws::DataSync::Model::UpdateLocationSmbRequest::GetSubdirectory
const Aws::String & GetSubdirectory() const
Definition: UpdateLocationSmbRequest.h:97
Aws::DataSync::Model::UpdateLocationSmbRequest::LocationArnHasBeenSet
bool LocationArnHasBeenSet() const
Definition: UpdateLocationSmbRequest.h:47
Aws::DataSync::Model::SmbMountOptions
Definition: SmbMountOptions.h:33
Aws::DataSync::Model::UpdateLocationSmbRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: UpdateLocationSmbRequest.h:290
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::UpdateLocationSmbRequest::SetPassword
void SetPassword(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:345
Aws::DataSync::Model::UpdateLocationSmbRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:300
Aws::DataSync::Model::UpdateLocationSmbRequest::WithUser
UpdateLocationSmbRequest & WithUser(const char *value)
Definition: UpdateLocationSmbRequest.h:279
Aws::DataSync::Model::UpdateLocationSmbRequest::SubdirectoryHasBeenSet
bool SubdirectoryHasBeenSet() const
Definition: UpdateLocationSmbRequest.h:116
Aws::DataSync::Model::UpdateLocationSmbRequest::WithLocationArn
UpdateLocationSmbRequest & WithLocationArn(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:67
Aws::DataSync::Model::UpdateLocationSmbRequest
Definition: UpdateLocationSmbRequest.h:24
Aws::DataSync::Model::UpdateLocationSmbRequest::WithSubdirectory
UpdateLocationSmbRequest & WithSubdirectory(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:192
Aws::DataSync::Model::UpdateLocationSmbRequest::GetDomain
const Aws::String & GetDomain() const
Definition: UpdateLocationSmbRequest.h:285
Aws::DataSync::DataSyncRequest
Definition: DataSyncRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::UpdateLocationSmbRequest::SetSubdirectory
void SetSubdirectory(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:135
Aws::DataSync::Model::UpdateLocationSmbRequest::AddAgentArns
UpdateLocationSmbRequest & AddAgentArns(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:412
Aws::DataSync::Model::UpdateLocationSmbRequest::WithDomain
UpdateLocationSmbRequest & WithDomain(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:315
Aws::DataSync::Model::UpdateLocationSmbRequest::UserHasBeenSet
bool UserHasBeenSet() const
Definition: UpdateLocationSmbRequest.h:243
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::UpdateLocationSmbRequest::SetAgentArns
void SetAgentArns(const Aws::Vector< Aws::String > &value)
Definition: UpdateLocationSmbRequest.h:388
Aws::DataSync::Model::UpdateLocationSmbRequest::GetPassword
const Aws::String & GetPassword() const
Definition: UpdateLocationSmbRequest.h:327
Aws::DataSync::Model::UpdateLocationSmbRequest::WithSubdirectory
UpdateLocationSmbRequest & WithSubdirectory(const char *value)
Definition: UpdateLocationSmbRequest.h:230
Aws::DataSync::Model::UpdateLocationSmbRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataSync::Model::UpdateLocationSmbRequest::SetUser
void SetUser(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:249
Aws::DataSync::Model::UpdateLocationSmbRequest::WithUser
UpdateLocationSmbRequest & WithUser(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:267
Aws::DataSync::Model::UpdateLocationSmbRequest::MountOptionsHasBeenSet
bool MountOptionsHasBeenSet() const
Definition: UpdateLocationSmbRequest.h:431
Aws::DataSync::Model::UpdateLocationSmbRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataSync::Model::UpdateLocationSmbRequest::AgentArnsHasBeenSet
bool AgentArnsHasBeenSet() const
Definition: UpdateLocationSmbRequest.h:382
Aws::DataSync::Model::UpdateLocationSmbRequest::SetMountOptions
void SetMountOptions(SmbMountOptions &&value)
Definition: UpdateLocationSmbRequest.h:437
Aws::DataSync::Model::UpdateLocationSmbRequest::SetSubdirectory
void SetSubdirectory(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:154
Aws::DataSync::Model::UpdateLocationSmbRequest::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: UpdateLocationSmbRequest.h:52
Aws::DataSync::Model::UpdateLocationSmbRequest::SetDomain
void SetDomain(const char *value)
Definition: UpdateLocationSmbRequest.h:305
Aws::DataSync::Model::UpdateLocationSmbRequest::WithSubdirectory
UpdateLocationSmbRequest & WithSubdirectory(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:211
Aws::DataSync::Model::UpdateLocationSmbRequest::GetAgentArns
const Aws::Vector< Aws::String > & GetAgentArns() const
Definition: UpdateLocationSmbRequest.h:376
Aws::DataSync::Model::UpdateLocationSmbRequest::WithPassword
UpdateLocationSmbRequest & WithPassword(Aws::String &&value)
Definition: UpdateLocationSmbRequest.h:363
Aws::DataSync::Model::UpdateLocationSmbRequest::PasswordHasBeenSet
bool PasswordHasBeenSet() const
Definition: UpdateLocationSmbRequest.h:333