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>
179 template <
typename CmkSecretConfigT = CmkSecretConfig>
181 m_cmkSecretConfigHasBeenSet =
true;
182 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
184 template <
typename CmkSecretConfigT = CmkSecretConfig>
208 template <
typename CustomSecretConfigT = CustomSecretConfig>
210 m_customSecretConfigHasBeenSet =
true;
211 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
213 template <
typename CustomSecretConfigT = CustomSecretConfig>
227 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
229 m_agentArnsHasBeenSet =
true;
230 m_agentArns = std::forward<AgentArnsT>(value);
232 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
237 template <
typename AgentArnsT = Aws::String>
239 m_agentArnsHasBeenSet =
true;
240 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
252 template <
typename MountOptionsT = SmbMountOptions>
254 m_mountOptionsHasBeenSet =
true;
255 m_mountOptions = std::forward<MountOptionsT>(value);
257 template <
typename MountOptionsT = SmbMountOptions>
272 template <
typename TagsT = Aws::Vector<TagListEntry>>
274 m_tagsHasBeenSet =
true;
275 m_tags = std::forward<TagsT>(value);
277 template <
typename TagsT = Aws::Vector<TagListEntry>>
279 SetTags(std::forward<TagsT>(value));
282 template <
typename TagsT = TagListEntry>
284 m_tagsHasBeenSet =
true;
285 m_tags.emplace_back(std::forward<TagsT>(value));
301 m_authenticationTypeHasBeenSet =
true;
302 m_authenticationType = value;
320 template <
typename DnsIpAddressesT = Aws::Vector<Aws::String>>
322 m_dnsIpAddressesHasBeenSet =
true;
323 m_dnsIpAddresses = std::forward<DnsIpAddressesT>(value);
325 template <
typename DnsIpAddressesT = Aws::Vector<Aws::String>>
330 template <
typename DnsIpAddressesT = Aws::String>
332 m_dnsIpAddressesHasBeenSet =
true;
333 m_dnsIpAddresses.emplace_back(std::forward<DnsIpAddressesT>(value));
350 template <
typename KerberosPrincipalT = Aws::String>
352 m_kerberosPrincipalHasBeenSet =
true;
353 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
355 template <
typename KerberosPrincipalT = Aws::String>
372 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
374 m_kerberosKeytabHasBeenSet =
true;
375 m_kerberosKeytab = std::forward<KerberosKeytabT>(value);
377 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
392 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
394 m_kerberosKrb5ConfHasBeenSet =
true;
395 m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value);
397 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
433 bool m_subdirectoryHasBeenSet =
false;
434 bool m_serverHostnameHasBeenSet =
false;
435 bool m_userHasBeenSet =
false;
436 bool m_domainHasBeenSet =
false;
437 bool m_passwordHasBeenSet =
false;
438 bool m_cmkSecretConfigHasBeenSet =
false;
439 bool m_customSecretConfigHasBeenSet =
false;
440 bool m_agentArnsHasBeenSet =
false;
441 bool m_mountOptionsHasBeenSet =
false;
442 bool m_tagsHasBeenSet =
false;
443 bool m_authenticationTypeHasBeenSet =
false;
444 bool m_dnsIpAddressesHasBeenSet =
false;
445 bool m_kerberosPrincipalHasBeenSet =
false;
446 bool m_kerberosKeytabHasBeenSet =
false;
447 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