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>
73 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
75 m_nameNodesHasBeenSet =
true;
76 m_nameNodes = std::forward<NameNodesT>(value);
78 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
83 template <
typename NameNodesT = HdfsNameNode>
85 m_nameNodesHasBeenSet =
true;
86 m_nameNodes.emplace_back(std::forward<NameNodesT>(value));
99 m_blockSizeHasBeenSet =
true;
116 m_replicationFactorHasBeenSet =
true;
117 m_replicationFactor = value;
131 template <
typename KmsKeyProv
iderUriT = Aws::String>
133 m_kmsKeyProviderUriHasBeenSet =
true;
134 m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value);
136 template <
typename KmsKeyProv
iderUriT = Aws::String>
155 template <
typename QopConfigurationT = QopConfiguration>
157 m_qopConfigurationHasBeenSet =
true;
158 m_qopConfiguration = std::forward<QopConfigurationT>(value);
160 template <
typename QopConfigurationT = QopConfiguration>
174 m_authenticationTypeHasBeenSet =
true;
175 m_authenticationType = value;
191 template <
typename SimpleUserT = Aws::String>
193 m_simpleUserHasBeenSet =
true;
194 m_simpleUser = std::forward<SimpleUserT>(value);
196 template <
typename SimpleUserT = Aws::String>
211 template <
typename KerberosPrincipalT = Aws::String>
213 m_kerberosPrincipalHasBeenSet =
true;
214 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
216 template <
typename KerberosPrincipalT = Aws::String>
233 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
235 m_kerberosKeytabHasBeenSet =
true;
236 m_kerberosKeytab = std::forward<KerberosKeytabT>(value);
238 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
256 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
258 m_kerberosKrb5ConfHasBeenSet =
true;
259 m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value);
261 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
275 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
277 m_agentArnsHasBeenSet =
true;
278 m_agentArns = std::forward<AgentArnsT>(value);
280 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
285 template <
typename AgentArnsT = Aws::String>
287 m_agentArnsHasBeenSet =
true;
288 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
301 template <
typename TagsT = Aws::Vector<TagListEntry>>
303 m_tagsHasBeenSet =
true;
304 m_tags = std::forward<TagsT>(value);
306 template <
typename TagsT = Aws::Vector<TagListEntry>>
308 SetTags(std::forward<TagsT>(value));
311 template <
typename TagsT = TagListEntry>
313 m_tagsHasBeenSet =
true;
314 m_tags.emplace_back(std::forward<TagsT>(value));
340 template <
typename CmkSecretConfigT = CmkSecretConfig>
342 m_cmkSecretConfigHasBeenSet =
true;
343 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
345 template <
typename CmkSecretConfigT = CmkSecretConfig>
368 template <
typename CustomSecretConfigT = CustomSecretConfig>
370 m_customSecretConfigHasBeenSet =
true;
371 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
373 template <
typename CustomSecretConfigT = CustomSecretConfig>
386 int m_replicationFactor{0};
390 QopConfiguration m_qopConfiguration;
406 CmkSecretConfig m_cmkSecretConfig;
408 CustomSecretConfig m_customSecretConfig;
409 bool m_subdirectoryHasBeenSet =
false;
410 bool m_nameNodesHasBeenSet =
false;
411 bool m_blockSizeHasBeenSet =
false;
412 bool m_replicationFactorHasBeenSet =
false;
413 bool m_kmsKeyProviderUriHasBeenSet =
false;
414 bool m_qopConfigurationHasBeenSet =
false;
415 bool m_authenticationTypeHasBeenSet =
false;
416 bool m_simpleUserHasBeenSet =
false;
417 bool m_kerberosPrincipalHasBeenSet =
false;
418 bool m_kerberosKeytabHasBeenSet =
false;
419 bool m_kerberosKrb5ConfHasBeenSet =
false;
420 bool m_agentArnsHasBeenSet =
false;
421 bool m_tagsHasBeenSet =
false;
422 bool m_cmkSecretConfigHasBeenSet =
false;
423 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