AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateLocationFsxWindowsRequest.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DataSync
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DATASYNC_API UpdateLocationFsxWindowsRequest() = default;
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 "UpdateLocationFsxWindows"; }
31
32 AWS_DATASYNC_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
43 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
44 template<typename LocationArnT = Aws::String>
45 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
46 template<typename LocationArnT = Aws::String>
47 UpdateLocationFsxWindowsRequest& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
49
51
56 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
57 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
58 template<typename SubdirectoryT = Aws::String>
59 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
60 template<typename SubdirectoryT = Aws::String>
61 UpdateLocationFsxWindowsRequest& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
63
65
71 inline const Aws::String& GetDomain() const { return m_domain; }
72 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
73 template<typename DomainT = Aws::String>
74 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
75 template<typename DomainT = Aws::String>
76 UpdateLocationFsxWindowsRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
78
80
88 inline const Aws::String& GetUser() const { return m_user; }
89 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
90 template<typename UserT = Aws::String>
91 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
92 template<typename UserT = Aws::String>
93 UpdateLocationFsxWindowsRequest& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
95
97
102 inline const Aws::String& GetPassword() const { return m_password; }
103 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
104 template<typename PasswordT = Aws::String>
105 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet = true; m_password = std::forward<PasswordT>(value); }
106 template<typename PasswordT = Aws::String>
107 UpdateLocationFsxWindowsRequest& WithPassword(PasswordT&& value) { SetPassword(std::forward<PasswordT>(value)); return *this;}
109 private:
110
111 Aws::String m_locationArn;
112 bool m_locationArnHasBeenSet = false;
113
114 Aws::String m_subdirectory;
115 bool m_subdirectoryHasBeenSet = false;
116
117 Aws::String m_domain;
118 bool m_domainHasBeenSet = false;
119
120 Aws::String m_user;
121 bool m_userHasBeenSet = false;
122
123 Aws::String m_password;
124 bool m_passwordHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace DataSync
129} // namespace Aws
UpdateLocationFsxWindowsRequest & WithUser(UserT &&value)
UpdateLocationFsxWindowsRequest & WithPassword(PasswordT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateLocationFsxWindowsRequest & WithLocationArn(LocationArnT &&value)
UpdateLocationFsxWindowsRequest & WithSubdirectory(SubdirectoryT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationFsxWindowsRequest & WithDomain(DomainT &&value)
AWS_DATASYNC_API UpdateLocationFsxWindowsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String