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/HdfsAuthenticationType.h>
15#include <aws/datasync/model/HdfsNameNode.h>
16#include <aws/datasync/model/QopConfiguration.h>
17#include <aws/datasync/model/TagListEntry.h>
49 template <
typename SubdirectoryT = Aws::String>
51 m_subdirectoryHasBeenSet =
true;
52 m_subdirectory = std::forward<SubdirectoryT>(value);
54 template <
typename SubdirectoryT = Aws::String>
70 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
72 m_nameNodesHasBeenSet =
true;
73 m_nameNodes = std::forward<NameNodesT>(value);
75 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
80 template <
typename NameNodesT = HdfsNameNode>
82 m_nameNodesHasBeenSet =
true;
83 m_nameNodes.emplace_back(std::forward<NameNodesT>(value));
96 m_blockSizeHasBeenSet =
true;
113 m_replicationFactorHasBeenSet =
true;
114 m_replicationFactor = value;
128 template <
typename KmsKeyProv
iderUriT = Aws::String>
130 m_kmsKeyProviderUriHasBeenSet =
true;
131 m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value);
133 template <
typename KmsKeyProv
iderUriT = Aws::String>
152 template <
typename QopConfigurationT = QopConfiguration>
154 m_qopConfigurationHasBeenSet =
true;
155 m_qopConfiguration = std::forward<QopConfigurationT>(value);
157 template <
typename QopConfigurationT = QopConfiguration>
171 m_authenticationTypeHasBeenSet =
true;
172 m_authenticationType = value;
188 template <
typename SimpleUserT = Aws::String>
190 m_simpleUserHasBeenSet =
true;
191 m_simpleUser = std::forward<SimpleUserT>(value);
193 template <
typename SimpleUserT = Aws::String>
208 template <
typename KerberosPrincipalT = Aws::String>
210 m_kerberosPrincipalHasBeenSet =
true;
211 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
213 template <
typename KerberosPrincipalT = Aws::String>
230 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
232 m_kerberosKeytabHasBeenSet =
true;
233 m_kerberosKeytab = std::forward<KerberosKeytabT>(value);
235 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
253 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
255 m_kerberosKrb5ConfHasBeenSet =
true;
256 m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value);
258 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
272 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
274 m_agentArnsHasBeenSet =
true;
275 m_agentArns = std::forward<AgentArnsT>(value);
277 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
282 template <
typename AgentArnsT = Aws::String>
284 m_agentArnsHasBeenSet =
true;
285 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
298 template <
typename TagsT = Aws::Vector<TagListEntry>>
300 m_tagsHasBeenSet =
true;
301 m_tags = std::forward<TagsT>(value);
303 template <
typename TagsT = Aws::Vector<TagListEntry>>
305 SetTags(std::forward<TagsT>(value));
308 template <
typename TagsT = TagListEntry>
310 m_tagsHasBeenSet =
true;
311 m_tags.emplace_back(std::forward<TagsT>(value));
337 template <
typename CmkSecretConfigT = CmkSecretConfig>
339 m_cmkSecretConfigHasBeenSet =
true;
340 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
342 template <
typename CmkSecretConfigT = CmkSecretConfig>
365 template <
typename CustomSecretConfigT = CustomSecretConfig>
367 m_customSecretConfigHasBeenSet =
true;
368 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
370 template <
typename CustomSecretConfigT = CustomSecretConfig>
383 int m_replicationFactor{0};
387 QopConfiguration m_qopConfiguration;
403 CmkSecretConfig m_cmkSecretConfig;
405 CustomSecretConfig m_customSecretConfig;
406 bool m_subdirectoryHasBeenSet =
false;
407 bool m_nameNodesHasBeenSet =
false;
408 bool m_blockSizeHasBeenSet =
false;
409 bool m_replicationFactorHasBeenSet =
false;
410 bool m_kmsKeyProviderUriHasBeenSet =
false;
411 bool m_qopConfigurationHasBeenSet =
false;
412 bool m_authenticationTypeHasBeenSet =
false;
413 bool m_simpleUserHasBeenSet =
false;
414 bool m_kerberosPrincipalHasBeenSet =
false;
415 bool m_kerberosKeytabHasBeenSet =
false;
416 bool m_kerberosKrb5ConfHasBeenSet =
false;
417 bool m_agentArnsHasBeenSet =
false;
418 bool m_tagsHasBeenSet =
false;
419 bool m_cmkSecretConfigHasBeenSet =
false;
420 bool m_customSecretConfigHasBeenSet =
false;
CreateLocationHdfsRequest & AddTags(TagsT &&value)
void SetCmkSecretConfig(CmkSecretConfigT &&value)
bool CmkSecretConfigHasBeenSet() const
bool KmsKeyProviderUriHasBeenSet() const
void SetQopConfiguration(QopConfigurationT &&value)
CreateLocationHdfsRequest & WithBlockSize(int value)
CreateLocationHdfsRequest & WithAgentArns(AgentArnsT &&value)
bool ReplicationFactorHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Utils::ByteBuffer & GetKerberosKeytab() const
void SetNameNodes(NameNodesT &&value)
bool KerberosKeytabHasBeenSet() const
CreateLocationHdfsRequest & WithAuthenticationType(HdfsAuthenticationType value)
bool TagsHasBeenSet() const
const Aws::String & GetKerberosPrincipal() const
bool SubdirectoryHasBeenSet() const
const CmkSecretConfig & GetCmkSecretConfig() const
void SetKmsKeyProviderUri(KmsKeyProviderUriT &&value)
CreateLocationHdfsRequest & AddNameNodes(NameNodesT &&value)
CreateLocationHdfsRequest & WithSimpleUser(SimpleUserT &&value)
const Aws::Vector< HdfsNameNode > & GetNameNodes() const
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLocationHdfsRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
void SetKerberosPrincipal(KerberosPrincipalT &&value)
CreateLocationHdfsRequest & WithQopConfiguration(QopConfigurationT &&value)
bool BlockSizeHasBeenSet() const
int GetReplicationFactor() const
bool KerberosKrb5ConfHasBeenSet() const
AWS_DATASYNC_API CreateLocationHdfsRequest()=default
CreateLocationHdfsRequest & WithTags(TagsT &&value)
CreateLocationHdfsRequest & WithKmsKeyProviderUri(KmsKeyProviderUriT &&value)
bool QopConfigurationHasBeenSet() const
void SetBlockSize(int value)
virtual const char * GetServiceRequestName() const override
CreateLocationHdfsRequest & WithCustomSecretConfig(CustomSecretConfigT &&value)
CreateLocationHdfsRequest & WithReplicationFactor(int value)
CreateLocationHdfsRequest & WithSubdirectory(SubdirectoryT &&value)
void SetKerberosKrb5Conf(KerberosKrb5ConfT &&value)
const Aws::Utils::ByteBuffer & GetKerberosKrb5Conf() const
const QopConfiguration & GetQopConfiguration() const
const Aws::String & GetSimpleUser() const
void SetAgentArns(AgentArnsT &&value)
HdfsAuthenticationType GetAuthenticationType() const
void SetKerberosKeytab(KerberosKeytabT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
const Aws::String & GetSubdirectory() const
CreateLocationHdfsRequest & WithKerberosKrb5Conf(KerberosKrb5ConfT &&value)
void SetSubdirectory(SubdirectoryT &&value)
CreateLocationHdfsRequest & WithKerberosPrincipal(KerberosPrincipalT &&value)
void SetReplicationFactor(int value)
void SetSimpleUser(SimpleUserT &&value)
void SetCustomSecretConfig(CustomSecretConfigT &&value)
bool NameNodesHasBeenSet() const
AWS_DATASYNC_API Aws::String SerializePayload() const override
const Aws::String & GetKmsKeyProviderUri() const
CreateLocationHdfsRequest & WithKerberosKeytab(KerberosKeytabT &&value)
bool KerberosPrincipalHasBeenSet() const
CreateLocationHdfsRequest & AddAgentArns(AgentArnsT &&value)
bool AuthenticationTypeHasBeenSet() const
const CustomSecretConfig & GetCustomSecretConfig() const
bool AgentArnsHasBeenSet() const
void SetAuthenticationType(HdfsAuthenticationType value)
bool SimpleUserHasBeenSet() const
const Aws::Vector< TagListEntry > & GetTags() const
bool CustomSecretConfigHasBeenSet() const
CreateLocationHdfsRequest & WithNameNodes(NameNodesT &&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