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/HdfsAuthenticationType.h>
13#include <aws/datasync/model/HdfsNameNode.h>
14#include <aws/datasync/model/QopConfiguration.h>
15#include <aws/datasync/model/TagListEntry.h>
47 template <
typename SubdirectoryT = Aws::String>
49 m_subdirectoryHasBeenSet =
true;
50 m_subdirectory = std::forward<SubdirectoryT>(value);
52 template <
typename SubdirectoryT = Aws::String>
68 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
70 m_nameNodesHasBeenSet =
true;
71 m_nameNodes = std::forward<NameNodesT>(value);
73 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
78 template <
typename NameNodesT = HdfsNameNode>
80 m_nameNodesHasBeenSet =
true;
81 m_nameNodes.emplace_back(std::forward<NameNodesT>(value));
94 m_blockSizeHasBeenSet =
true;
111 m_replicationFactorHasBeenSet =
true;
112 m_replicationFactor = value;
126 template <
typename KmsKeyProv
iderUriT = Aws::String>
128 m_kmsKeyProviderUriHasBeenSet =
true;
129 m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value);
131 template <
typename KmsKeyProv
iderUriT = Aws::String>
150 template <
typename QopConfigurationT = QopConfiguration>
152 m_qopConfigurationHasBeenSet =
true;
153 m_qopConfiguration = std::forward<QopConfigurationT>(value);
155 template <
typename QopConfigurationT = QopConfiguration>
169 m_authenticationTypeHasBeenSet =
true;
170 m_authenticationType = value;
186 template <
typename SimpleUserT = Aws::String>
188 m_simpleUserHasBeenSet =
true;
189 m_simpleUser = std::forward<SimpleUserT>(value);
191 template <
typename SimpleUserT = Aws::String>
206 template <
typename KerberosPrincipalT = Aws::String>
208 m_kerberosPrincipalHasBeenSet =
true;
209 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
211 template <
typename KerberosPrincipalT = Aws::String>
228 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
230 m_kerberosKeytabHasBeenSet =
true;
231 m_kerberosKeytab = std::forward<KerberosKeytabT>(value);
233 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
251 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
253 m_kerberosKrb5ConfHasBeenSet =
true;
254 m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value);
256 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
270 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
272 m_agentArnsHasBeenSet =
true;
273 m_agentArns = std::forward<AgentArnsT>(value);
275 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
280 template <
typename AgentArnsT = Aws::String>
282 m_agentArnsHasBeenSet =
true;
283 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
296 template <
typename TagsT = Aws::Vector<TagListEntry>>
298 m_tagsHasBeenSet =
true;
299 m_tags = std::forward<TagsT>(value);
301 template <
typename TagsT = Aws::Vector<TagListEntry>>
303 SetTags(std::forward<TagsT>(value));
306 template <
typename TagsT = TagListEntry>
308 m_tagsHasBeenSet =
true;
309 m_tags.emplace_back(std::forward<TagsT>(value));
320 int m_replicationFactor{0};
324 QopConfiguration m_qopConfiguration;
339 bool m_subdirectoryHasBeenSet =
false;
340 bool m_nameNodesHasBeenSet =
false;
341 bool m_blockSizeHasBeenSet =
false;
342 bool m_replicationFactorHasBeenSet =
false;
343 bool m_kmsKeyProviderUriHasBeenSet =
false;
344 bool m_qopConfigurationHasBeenSet =
false;
345 bool m_authenticationTypeHasBeenSet =
false;
346 bool m_simpleUserHasBeenSet =
false;
347 bool m_kerberosPrincipalHasBeenSet =
false;
348 bool m_kerberosKeytabHasBeenSet =
false;
349 bool m_kerberosKrb5ConfHasBeenSet =
false;
350 bool m_agentArnsHasBeenSet =
false;
351 bool m_tagsHasBeenSet =
false;
CreateLocationHdfsRequest & AddTags(TagsT &&value)
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
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
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 & 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)
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
bool AgentArnsHasBeenSet() const
void SetAuthenticationType(HdfsAuthenticationType value)
bool SimpleUserHasBeenSet() const
const Aws::Vector< TagListEntry > & GetTags() 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