7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/DataSyncRequest.h>
11#include <aws/datasync/DataSync_EXPORTS.h>
12#include <aws/datasync/model/CmkSecretConfig.h>
13#include <aws/datasync/model/CustomSecretConfig.h>
14#include <aws/datasync/model/SmbAuthenticationType.h>
15#include <aws/datasync/model/SmbMountOptions.h>
45 template <
typename LocationArnT = Aws::String>
47 m_locationArnHasBeenSet =
true;
48 m_locationArn = std::forward<LocationArnT>(value);
50 template <
typename LocationArnT = Aws::String>
70 template <
typename SubdirectoryT = Aws::String>
72 m_subdirectoryHasBeenSet =
true;
73 m_subdirectory = std::forward<SubdirectoryT>(value);
75 template <
typename SubdirectoryT = Aws::String>
90 template <
typename ServerHostnameT = Aws::String>
92 m_serverHostnameHasBeenSet =
true;
93 m_serverHostname = std::forward<ServerHostnameT>(value);
95 template <
typename ServerHostnameT = Aws::String>
114 template <
typename UserT = Aws::String>
116 m_userHasBeenSet =
true;
117 m_user = std::forward<UserT>(value);
119 template <
typename UserT = Aws::String>
121 SetUser(std::forward<UserT>(value));
136 template <
typename DomainT = Aws::String>
138 m_domainHasBeenSet =
true;
139 m_domain = std::forward<DomainT>(value);
141 template <
typename DomainT = Aws::String>
157 template <
typename PasswordT = Aws::String>
159 m_passwordHasBeenSet =
true;
160 m_password = std::forward<PasswordT>(value);
162 template <
typename PasswordT = Aws::String>
178 template <
typename CmkSecretConfigT = CmkSecretConfig>
180 m_cmkSecretConfigHasBeenSet =
true;
181 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
183 template <
typename CmkSecretConfigT = CmkSecretConfig>
199 template <
typename CustomSecretConfigT = CustomSecretConfig>
201 m_customSecretConfigHasBeenSet =
true;
202 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
204 template <
typename CustomSecretConfigT = CustomSecretConfig>
218 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
220 m_agentArnsHasBeenSet =
true;
221 m_agentArns = std::forward<AgentArnsT>(value);
223 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
228 template <
typename AgentArnsT = Aws::String>
230 m_agentArnsHasBeenSet =
true;
231 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
240 template <
typename MountOptionsT = SmbMountOptions>
242 m_mountOptionsHasBeenSet =
true;
243 m_mountOptions = std::forward<MountOptionsT>(value);
245 template <
typename MountOptionsT = SmbMountOptions>
263 m_authenticationTypeHasBeenSet =
true;
264 m_authenticationType = value;
282 template <
typename DnsIpAddressesT = Aws::Vector<Aws::String>>
284 m_dnsIpAddressesHasBeenSet =
true;
285 m_dnsIpAddresses = std::forward<DnsIpAddressesT>(value);
287 template <
typename DnsIpAddressesT = Aws::Vector<Aws::String>>
292 template <
typename DnsIpAddressesT = Aws::String>
294 m_dnsIpAddressesHasBeenSet =
true;
295 m_dnsIpAddresses.emplace_back(std::forward<DnsIpAddressesT>(value));
312 template <
typename KerberosPrincipalT = Aws::String>
314 m_kerberosPrincipalHasBeenSet =
true;
315 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
317 template <
typename KerberosPrincipalT = Aws::String>
334 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
336 m_kerberosKeytabHasBeenSet =
true;
337 m_kerberosKeytab = std::forward<KerberosKeytabT>(value);
339 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
354 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
356 m_kerberosKrb5ConfHasBeenSet =
true;
357 m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value);
359 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
395 bool m_locationArnHasBeenSet =
false;
396 bool m_subdirectoryHasBeenSet =
false;
397 bool m_serverHostnameHasBeenSet =
false;
398 bool m_userHasBeenSet =
false;
399 bool m_domainHasBeenSet =
false;
400 bool m_passwordHasBeenSet =
false;
401 bool m_cmkSecretConfigHasBeenSet =
false;
402 bool m_customSecretConfigHasBeenSet =
false;
403 bool m_agentArnsHasBeenSet =
false;
404 bool m_mountOptionsHasBeenSet =
false;
405 bool m_authenticationTypeHasBeenSet =
false;
406 bool m_dnsIpAddressesHasBeenSet =
false;
407 bool m_kerberosPrincipalHasBeenSet =
false;
408 bool m_kerberosKeytabHasBeenSet =
false;
409 bool m_kerberosKrb5ConfHasBeenSet =
false;
void SetCmkSecretConfig(CmkSecretConfigT &&value)
void SetDomain(DomainT &&value)
UpdateLocationSmbRequest & WithSubdirectory(SubdirectoryT &&value)
bool MountOptionsHasBeenSet() const
const Aws::String & GetKerberosPrincipal() const
UpdateLocationSmbRequest & AddDnsIpAddresses(DnsIpAddressesT &&value)
bool CmkSecretConfigHasBeenSet() const
const Aws::Vector< Aws::String > & GetDnsIpAddresses() const
const Aws::Utils::ByteBuffer & GetKerberosKrb5Conf() const
bool ServerHostnameHasBeenSet() const
void SetKerberosKrb5Conf(KerberosKrb5ConfT &&value)
const CmkSecretConfig & GetCmkSecretConfig() const
bool UserHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateLocationSmbRequest & WithDomain(DomainT &&value)
UpdateLocationSmbRequest & WithKerberosPrincipal(KerberosPrincipalT &&value)
bool AuthenticationTypeHasBeenSet() const
UpdateLocationSmbRequest & WithDnsIpAddresses(DnsIpAddressesT &&value)
UpdateLocationSmbRequest & WithAuthenticationType(SmbAuthenticationType value)
void SetLocationArn(LocationArnT &&value)
UpdateLocationSmbRequest & WithKerberosKeytab(KerberosKeytabT &&value)
void SetSubdirectory(SubdirectoryT &&value)
bool CustomSecretConfigHasBeenSet() const
void SetKerberosPrincipal(KerberosPrincipalT &&value)
bool LocationArnHasBeenSet() const
bool KerberosKrb5ConfHasBeenSet() const
const Aws::String & GetSubdirectory() const
bool AgentArnsHasBeenSet() const
void SetKerberosKeytab(KerberosKeytabT &&value)
UpdateLocationSmbRequest & WithKerberosKrb5Conf(KerberosKrb5ConfT &&value)
UpdateLocationSmbRequest & WithMountOptions(MountOptionsT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationSmbRequest & WithUser(UserT &&value)
const CustomSecretConfig & GetCustomSecretConfig() const
UpdateLocationSmbRequest & WithServerHostname(ServerHostnameT &&value)
const SmbMountOptions & GetMountOptions() const
const Aws::String & GetDomain() const
const Aws::String & GetServerHostname() const
bool SubdirectoryHasBeenSet() const
UpdateLocationSmbRequest & WithPassword(PasswordT &&value)
bool KerberosPrincipalHasBeenSet() const
void SetPassword(PasswordT &&value)
void SetDnsIpAddresses(DnsIpAddressesT &&value)
AWS_DATASYNC_API UpdateLocationSmbRequest()=default
UpdateLocationSmbRequest & AddAgentArns(AgentArnsT &&value)
UpdateLocationSmbRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
const Aws::String & GetUser() const
UpdateLocationSmbRequest & WithAgentArns(AgentArnsT &&value)
const Aws::String & GetPassword() const
void SetAgentArns(AgentArnsT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
void SetUser(UserT &&value)
bool DnsIpAddressesHasBeenSet() const
bool DomainHasBeenSet() const
const Aws::Vector< Aws::String > & GetAgentArns() const
bool PasswordHasBeenSet() const
UpdateLocationSmbRequest & WithLocationArn(LocationArnT &&value)
bool KerberosKeytabHasBeenSet() const
void SetMountOptions(MountOptionsT &&value)
void SetServerHostname(ServerHostnameT &&value)
void SetCustomSecretConfig(CustomSecretConfigT &&value)
const Aws::String & GetLocationArn() const
void SetAuthenticationType(SmbAuthenticationType value)
SmbAuthenticationType GetAuthenticationType() const
const Aws::Utils::ByteBuffer & GetKerberosKeytab() const
UpdateLocationSmbRequest & WithCustomSecretConfig(CustomSecretConfigT &&value)
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