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>
16#include <aws/datasync/model/TagListEntry.h>
56 template <
typename SubdirectoryT = Aws::String>
58 m_subdirectoryHasBeenSet =
true;
59 m_subdirectory = std::forward<SubdirectoryT>(value);
61 template <
typename SubdirectoryT = Aws::String>
76 template <
typename ServerHostnameT = Aws::String>
78 m_serverHostnameHasBeenSet =
true;
79 m_serverHostname = std::forward<ServerHostnameT>(value);
81 template <
typename ServerHostnameT = Aws::String>
100 template <
typename UserT = Aws::String>
102 m_userHasBeenSet =
true;
103 m_user = std::forward<UserT>(value);
105 template <
typename UserT = Aws::String>
107 SetUser(std::forward<UserT>(value));
122 template <
typename DomainT = Aws::String>
124 m_domainHasBeenSet =
true;
125 m_domain = std::forward<DomainT>(value);
127 template <
typename DomainT = Aws::String>
143 template <
typename PasswordT = Aws::String>
145 m_passwordHasBeenSet =
true;
146 m_password = std::forward<PasswordT>(value);
148 template <
typename PasswordT = Aws::String>
176 template <
typename CmkSecretConfigT = CmkSecretConfig>
178 m_cmkSecretConfigHasBeenSet =
true;
179 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
181 template <
typename CmkSecretConfigT = CmkSecretConfig>
202 template <
typename CustomSecretConfigT = CustomSecretConfig>
204 m_customSecretConfigHasBeenSet =
true;
205 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
207 template <
typename CustomSecretConfigT = CustomSecretConfig>
221 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
223 m_agentArnsHasBeenSet =
true;
224 m_agentArns = std::forward<AgentArnsT>(value);
226 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
231 template <
typename AgentArnsT = Aws::String>
233 m_agentArnsHasBeenSet =
true;
234 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
246 template <
typename MountOptionsT = SmbMountOptions>
248 m_mountOptionsHasBeenSet =
true;
249 m_mountOptions = std::forward<MountOptionsT>(value);
251 template <
typename MountOptionsT = SmbMountOptions>
266 template <
typename TagsT = Aws::Vector<TagListEntry>>
268 m_tagsHasBeenSet =
true;
269 m_tags = std::forward<TagsT>(value);
271 template <
typename TagsT = Aws::Vector<TagListEntry>>
273 SetTags(std::forward<TagsT>(value));
276 template <
typename TagsT = TagListEntry>
278 m_tagsHasBeenSet =
true;
279 m_tags.emplace_back(std::forward<TagsT>(value));
295 m_authenticationTypeHasBeenSet =
true;
296 m_authenticationType = value;
314 template <
typename DnsIpAddressesT = Aws::Vector<Aws::String>>
316 m_dnsIpAddressesHasBeenSet =
true;
317 m_dnsIpAddresses = std::forward<DnsIpAddressesT>(value);
319 template <
typename DnsIpAddressesT = Aws::Vector<Aws::String>>
324 template <
typename DnsIpAddressesT = Aws::String>
326 m_dnsIpAddressesHasBeenSet =
true;
327 m_dnsIpAddresses.emplace_back(std::forward<DnsIpAddressesT>(value));
344 template <
typename KerberosPrincipalT = Aws::String>
346 m_kerberosPrincipalHasBeenSet =
true;
347 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
349 template <
typename KerberosPrincipalT = Aws::String>
366 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
368 m_kerberosKeytabHasBeenSet =
true;
369 m_kerberosKeytab = std::forward<KerberosKeytabT>(value);
371 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
386 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
388 m_kerberosKrb5ConfHasBeenSet =
true;
389 m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value);
391 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
427 bool m_subdirectoryHasBeenSet =
false;
428 bool m_serverHostnameHasBeenSet =
false;
429 bool m_userHasBeenSet =
false;
430 bool m_domainHasBeenSet =
false;
431 bool m_passwordHasBeenSet =
false;
432 bool m_cmkSecretConfigHasBeenSet =
false;
433 bool m_customSecretConfigHasBeenSet =
false;
434 bool m_agentArnsHasBeenSet =
false;
435 bool m_mountOptionsHasBeenSet =
false;
436 bool m_tagsHasBeenSet =
false;
437 bool m_authenticationTypeHasBeenSet =
false;
438 bool m_dnsIpAddressesHasBeenSet =
false;
439 bool m_kerberosPrincipalHasBeenSet =
false;
440 bool m_kerberosKeytabHasBeenSet =
false;
441 bool m_kerberosKrb5ConfHasBeenSet =
false;
bool DomainHasBeenSet() const
void SetKerberosKeytab(KerberosKeytabT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATASYNC_API CreateLocationSmbRequest()=default
CreateLocationSmbRequest & WithDnsIpAddresses(DnsIpAddressesT &&value)
void SetAgentArns(AgentArnsT &&value)
bool TagsHasBeenSet() const
const CmkSecretConfig & GetCmkSecretConfig() const
SmbAuthenticationType GetAuthenticationType() const
const Aws::String & GetServerHostname() const
CreateLocationSmbRequest & WithUser(UserT &&value)
bool AuthenticationTypeHasBeenSet() const
bool ServerHostnameHasBeenSet() const
const Aws::String & GetDomain() const
bool SubdirectoryHasBeenSet() const
CreateLocationSmbRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
CreateLocationSmbRequest & WithServerHostname(ServerHostnameT &&value)
bool UserHasBeenSet() const
void SetDnsIpAddresses(DnsIpAddressesT &&value)
CreateLocationSmbRequest & AddAgentArns(AgentArnsT &&value)
void SetKerberosPrincipal(KerberosPrincipalT &&value)
const SmbMountOptions & GetMountOptions() const
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateLocationSmbRequest & AddTags(TagsT &&value)
CreateLocationSmbRequest & WithDomain(DomainT &&value)
CreateLocationSmbRequest & AddDnsIpAddresses(DnsIpAddressesT &&value)
CreateLocationSmbRequest & WithPassword(PasswordT &&value)
const Aws::Vector< Aws::String > & GetDnsIpAddresses() const
const Aws::String & GetKerberosPrincipal() const
CreateLocationSmbRequest & WithSubdirectory(SubdirectoryT &&value)
const Aws::Utils::ByteBuffer & GetKerberosKeytab() const
void SetCmkSecretConfig(CmkSecretConfigT &&value)
bool KerberosPrincipalHasBeenSet() const
const Aws::String & GetUser() const
CreateLocationSmbRequest & WithKerberosPrincipal(KerberosPrincipalT &&value)
CreateLocationSmbRequest & WithTags(TagsT &&value)
CreateLocationSmbRequest & WithAuthenticationType(SmbAuthenticationType value)
bool PasswordHasBeenSet() const
void SetKerberosKrb5Conf(KerberosKrb5ConfT &&value)
bool CmkSecretConfigHasBeenSet() const
bool DnsIpAddressesHasBeenSet() const
bool AgentArnsHasBeenSet() const
const Aws::Vector< TagListEntry > & GetTags() const
bool MountOptionsHasBeenSet() const
const Aws::String & GetSubdirectory() const
void SetAuthenticationType(SmbAuthenticationType value)
void SetSubdirectory(SubdirectoryT &&value)
void SetUser(UserT &&value)
bool KerberosKrb5ConfHasBeenSet() const
bool KerberosKeytabHasBeenSet() const
const Aws::Utils::ByteBuffer & GetKerberosKrb5Conf() const
AWS_DATASYNC_API Aws::String SerializePayload() const override
void SetServerHostname(ServerHostnameT &&value)
const Aws::String & GetPassword() const
void SetMountOptions(MountOptionsT &&value)
const CustomSecretConfig & GetCustomSecretConfig() const
CreateLocationSmbRequest & WithAgentArns(AgentArnsT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
CreateLocationSmbRequest & WithKerberosKeytab(KerberosKeytabT &&value)
void SetCustomSecretConfig(CustomSecretConfigT &&value)
void SetPassword(PasswordT &&value)
CreateLocationSmbRequest & WithCustomSecretConfig(CustomSecretConfigT &&value)
CreateLocationSmbRequest & WithMountOptions(MountOptionsT &&value)
void SetDomain(DomainT &&value)
bool CustomSecretConfigHasBeenSet() const
CreateLocationSmbRequest & WithKerberosKrb5Conf(KerberosKrb5ConfT &&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