AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateLocationSmbRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datasync/model/SmbMountOptions.h>
12#include <aws/datasync/model/SmbAuthenticationType.h>
13#include <aws/core/utils/Array.h>
14#include <utility>
15
16namespace Aws
17{
18namespace DataSync
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DATASYNC_API UpdateLocationSmbRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationSmb"; }
35
36 AWS_DATASYNC_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
46 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
47 template<typename LocationArnT = Aws::String>
48 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
49 template<typename LocationArnT = Aws::String>
50 UpdateLocationSmbRequest& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
52
54
64 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
65 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
66 template<typename SubdirectoryT = Aws::String>
67 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
68 template<typename SubdirectoryT = Aws::String>
69 UpdateLocationSmbRequest& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
71
73
78 inline const Aws::String& GetServerHostname() const { return m_serverHostname; }
79 inline bool ServerHostnameHasBeenSet() const { return m_serverHostnameHasBeenSet; }
80 template<typename ServerHostnameT = Aws::String>
81 void SetServerHostname(ServerHostnameT&& value) { m_serverHostnameHasBeenSet = true; m_serverHostname = std::forward<ServerHostnameT>(value); }
82 template<typename ServerHostnameT = Aws::String>
83 UpdateLocationSmbRequest& WithServerHostname(ServerHostnameT&& value) { SetServerHostname(std::forward<ServerHostnameT>(value)); return *this;}
85
87
96 inline const Aws::String& GetUser() const { return m_user; }
97 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
98 template<typename UserT = Aws::String>
99 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
100 template<typename UserT = Aws::String>
101 UpdateLocationSmbRequest& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
103
105
112 inline const Aws::String& GetDomain() const { return m_domain; }
113 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
114 template<typename DomainT = Aws::String>
115 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
116 template<typename DomainT = Aws::String>
117 UpdateLocationSmbRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
119
121
127 inline const Aws::String& GetPassword() const { return m_password; }
128 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
129 template<typename PasswordT = Aws::String>
130 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet = true; m_password = std::forward<PasswordT>(value); }
131 template<typename PasswordT = Aws::String>
132 UpdateLocationSmbRequest& WithPassword(PasswordT&& value) { SetPassword(std::forward<PasswordT>(value)); return *this;}
134
136
140 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
141 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
142 template<typename AgentArnsT = Aws::Vector<Aws::String>>
143 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::forward<AgentArnsT>(value); }
144 template<typename AgentArnsT = Aws::Vector<Aws::String>>
145 UpdateLocationSmbRequest& WithAgentArns(AgentArnsT&& value) { SetAgentArns(std::forward<AgentArnsT>(value)); return *this;}
146 template<typename AgentArnsT = Aws::String>
147 UpdateLocationSmbRequest& AddAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns.emplace_back(std::forward<AgentArnsT>(value)); return *this; }
149
151
152 inline const SmbMountOptions& GetMountOptions() const { return m_mountOptions; }
153 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
154 template<typename MountOptionsT = SmbMountOptions>
155 void SetMountOptions(MountOptionsT&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::forward<MountOptionsT>(value); }
156 template<typename MountOptionsT = SmbMountOptions>
157 UpdateLocationSmbRequest& WithMountOptions(MountOptionsT&& value) { SetMountOptions(std::forward<MountOptionsT>(value)); return *this;}
159
161
168 inline SmbAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
169 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
170 inline void SetAuthenticationType(SmbAuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
173
175
182 inline const Aws::Vector<Aws::String>& GetDnsIpAddresses() const { return m_dnsIpAddresses; }
183 inline bool DnsIpAddressesHasBeenSet() const { return m_dnsIpAddressesHasBeenSet; }
184 template<typename DnsIpAddressesT = Aws::Vector<Aws::String>>
185 void SetDnsIpAddresses(DnsIpAddressesT&& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses = std::forward<DnsIpAddressesT>(value); }
186 template<typename DnsIpAddressesT = Aws::Vector<Aws::String>>
187 UpdateLocationSmbRequest& WithDnsIpAddresses(DnsIpAddressesT&& value) { SetDnsIpAddresses(std::forward<DnsIpAddressesT>(value)); return *this;}
188 template<typename DnsIpAddressesT = Aws::String>
189 UpdateLocationSmbRequest& AddDnsIpAddresses(DnsIpAddressesT&& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses.emplace_back(std::forward<DnsIpAddressesT>(value)); return *this; }
191
193
202 inline const Aws::String& GetKerberosPrincipal() const { return m_kerberosPrincipal; }
203 inline bool KerberosPrincipalHasBeenSet() const { return m_kerberosPrincipalHasBeenSet; }
204 template<typename KerberosPrincipalT = Aws::String>
205 void SetKerberosPrincipal(KerberosPrincipalT&& value) { m_kerberosPrincipalHasBeenSet = true; m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value); }
206 template<typename KerberosPrincipalT = Aws::String>
207 UpdateLocationSmbRequest& WithKerberosPrincipal(KerberosPrincipalT&& value) { SetKerberosPrincipal(std::forward<KerberosPrincipalT>(value)); return *this;}
209
211
218 inline const Aws::Utils::ByteBuffer& GetKerberosKeytab() const { return m_kerberosKeytab; }
219 inline bool KerberosKeytabHasBeenSet() const { return m_kerberosKeytabHasBeenSet; }
220 template<typename KerberosKeytabT = Aws::Utils::ByteBuffer>
221 void SetKerberosKeytab(KerberosKeytabT&& value) { m_kerberosKeytabHasBeenSet = true; m_kerberosKeytab = std::forward<KerberosKeytabT>(value); }
222 template<typename KerberosKeytabT = Aws::Utils::ByteBuffer>
223 UpdateLocationSmbRequest& WithKerberosKeytab(KerberosKeytabT&& value) { SetKerberosKeytab(std::forward<KerberosKeytabT>(value)); return *this;}
225
227
232 inline const Aws::Utils::ByteBuffer& GetKerberosKrb5Conf() const { return m_kerberosKrb5Conf; }
233 inline bool KerberosKrb5ConfHasBeenSet() const { return m_kerberosKrb5ConfHasBeenSet; }
234 template<typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
235 void SetKerberosKrb5Conf(KerberosKrb5ConfT&& value) { m_kerberosKrb5ConfHasBeenSet = true; m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value); }
236 template<typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
237 UpdateLocationSmbRequest& WithKerberosKrb5Conf(KerberosKrb5ConfT&& value) { SetKerberosKrb5Conf(std::forward<KerberosKrb5ConfT>(value)); return *this;}
239 private:
240
241 Aws::String m_locationArn;
242 bool m_locationArnHasBeenSet = false;
243
244 Aws::String m_subdirectory;
245 bool m_subdirectoryHasBeenSet = false;
246
247 Aws::String m_serverHostname;
248 bool m_serverHostnameHasBeenSet = false;
249
250 Aws::String m_user;
251 bool m_userHasBeenSet = false;
252
253 Aws::String m_domain;
254 bool m_domainHasBeenSet = false;
255
256 Aws::String m_password;
257 bool m_passwordHasBeenSet = false;
258
259 Aws::Vector<Aws::String> m_agentArns;
260 bool m_agentArnsHasBeenSet = false;
261
262 SmbMountOptions m_mountOptions;
263 bool m_mountOptionsHasBeenSet = false;
264
266 bool m_authenticationTypeHasBeenSet = false;
267
268 Aws::Vector<Aws::String> m_dnsIpAddresses;
269 bool m_dnsIpAddressesHasBeenSet = false;
270
271 Aws::String m_kerberosPrincipal;
272 bool m_kerberosPrincipalHasBeenSet = false;
273
274 Aws::Utils::ByteBuffer m_kerberosKeytab{};
275 bool m_kerberosKeytabHasBeenSet = false;
276
277 Aws::Utils::ByteBuffer m_kerberosKrb5Conf{};
278 bool m_kerberosKrb5ConfHasBeenSet = false;
279 };
280
281} // namespace Model
282} // namespace DataSync
283} // namespace Aws
UpdateLocationSmbRequest & WithSubdirectory(SubdirectoryT &&value)
UpdateLocationSmbRequest & AddDnsIpAddresses(DnsIpAddressesT &&value)
const Aws::Vector< Aws::String > & GetDnsIpAddresses() const
const Aws::Utils::ByteBuffer & GetKerberosKrb5Conf() const
virtual const char * GetServiceRequestName() const override
UpdateLocationSmbRequest & WithDomain(DomainT &&value)
UpdateLocationSmbRequest & WithKerberosPrincipal(KerberosPrincipalT &&value)
UpdateLocationSmbRequest & WithDnsIpAddresses(DnsIpAddressesT &&value)
UpdateLocationSmbRequest & WithAuthenticationType(SmbAuthenticationType value)
UpdateLocationSmbRequest & WithKerberosKeytab(KerberosKeytabT &&value)
UpdateLocationSmbRequest & WithKerberosKrb5Conf(KerberosKrb5ConfT &&value)
UpdateLocationSmbRequest & WithMountOptions(MountOptionsT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationSmbRequest & WithUser(UserT &&value)
UpdateLocationSmbRequest & WithServerHostname(ServerHostnameT &&value)
UpdateLocationSmbRequest & WithPassword(PasswordT &&value)
AWS_DATASYNC_API UpdateLocationSmbRequest()=default
UpdateLocationSmbRequest & AddAgentArns(AgentArnsT &&value)
UpdateLocationSmbRequest & WithAgentArns(AgentArnsT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetAgentArns() const
UpdateLocationSmbRequest & WithLocationArn(LocationArnT &&value)
void SetAuthenticationType(SmbAuthenticationType value)
const Aws::Utils::ByteBuffer & GetKerberosKeytab() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector