AWS SDK for C++

AWS SDK for C++ Version 1.11.781

Loading...
Searching...
No Matches
UpdateLocationFsxWindowsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
10#include <aws/datasync/model/CmkSecretConfig.h>
11#include <aws/datasync/model/CustomSecretConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataSync {
17namespace Model {
18
22 public:
23 AWS_DATASYNC_API UpdateLocationFsxWindowsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationFsxWindows"; }
30
31 AWS_DATASYNC_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
41 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
42 template <typename LocationArnT = Aws::String>
43 void SetLocationArn(LocationArnT&& value) {
44 m_locationArnHasBeenSet = true;
45 m_locationArn = std::forward<LocationArnT>(value);
46 }
47 template <typename LocationArnT = Aws::String>
49 SetLocationArn(std::forward<LocationArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
61 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
62 template <typename SubdirectoryT = Aws::String>
63 void SetSubdirectory(SubdirectoryT&& value) {
64 m_subdirectoryHasBeenSet = true;
65 m_subdirectory = std::forward<SubdirectoryT>(value);
66 }
67 template <typename SubdirectoryT = Aws::String>
69 SetSubdirectory(std::forward<SubdirectoryT>(value));
70 return *this;
71 }
73
75
81 inline const Aws::String& GetDomain() const { return m_domain; }
82 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
83 template <typename DomainT = Aws::String>
84 void SetDomain(DomainT&& value) {
85 m_domainHasBeenSet = true;
86 m_domain = std::forward<DomainT>(value);
87 }
88 template <typename DomainT = Aws::String>
90 SetDomain(std::forward<DomainT>(value));
91 return *this;
92 }
94
96
104 inline const Aws::String& GetUser() const { return m_user; }
105 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
106 template <typename UserT = Aws::String>
107 void SetUser(UserT&& value) {
108 m_userHasBeenSet = true;
109 m_user = std::forward<UserT>(value);
110 }
111 template <typename UserT = Aws::String>
113 SetUser(std::forward<UserT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::String& GetPassword() const { return m_password; }
125 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
126 template <typename PasswordT = Aws::String>
127 void SetPassword(PasswordT&& value) {
128 m_passwordHasBeenSet = true;
129 m_password = std::forward<PasswordT>(value);
130 }
131 template <typename PasswordT = Aws::String>
133 SetPassword(std::forward<PasswordT>(value));
134 return *this;
135 }
137
139
144 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
145 inline bool CmkSecretConfigHasBeenSet() const { return m_cmkSecretConfigHasBeenSet; }
146 template <typename CmkSecretConfigT = CmkSecretConfig>
147 void SetCmkSecretConfig(CmkSecretConfigT&& value) {
148 m_cmkSecretConfigHasBeenSet = true;
149 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
150 }
151 template <typename CmkSecretConfigT = CmkSecretConfig>
153 SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value));
154 return *this;
155 }
157
159
165 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
166 inline bool CustomSecretConfigHasBeenSet() const { return m_customSecretConfigHasBeenSet; }
167 template <typename CustomSecretConfigT = CustomSecretConfig>
168 void SetCustomSecretConfig(CustomSecretConfigT&& value) {
169 m_customSecretConfigHasBeenSet = true;
170 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
171 }
172 template <typename CustomSecretConfigT = CustomSecretConfig>
174 SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_locationArn;
180
181 Aws::String m_subdirectory;
182
183 Aws::String m_domain;
184
185 Aws::String m_user;
186
187 Aws::String m_password;
188
189 CmkSecretConfig m_cmkSecretConfig;
190
191 CustomSecretConfig m_customSecretConfig;
192 bool m_locationArnHasBeenSet = false;
193 bool m_subdirectoryHasBeenSet = false;
194 bool m_domainHasBeenSet = false;
195 bool m_userHasBeenSet = false;
196 bool m_passwordHasBeenSet = false;
197 bool m_cmkSecretConfigHasBeenSet = false;
198 bool m_customSecretConfigHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace DataSync
203} // namespace Aws
UpdateLocationFsxWindowsRequest & WithUser(UserT &&value)
UpdateLocationFsxWindowsRequest & WithPassword(PasswordT &&value)
UpdateLocationFsxWindowsRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateLocationFsxWindowsRequest & WithLocationArn(LocationArnT &&value)
UpdateLocationFsxWindowsRequest & WithCustomSecretConfig(CustomSecretConfigT &&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