7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datasync/model/QopConfiguration.h>
12#include <aws/datasync/model/HdfsAuthenticationType.h>
13#include <aws/core/utils/Array.h>
14#include <aws/datasync/model/HdfsNameNode.h>
15#include <aws/datasync/model/TagListEntry.h>
51 template<
typename SubdirectoryT = Aws::String>
52 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet =
true; m_subdirectory = std::forward<SubdirectoryT>(value); }
53 template<
typename SubdirectoryT = Aws::String>
66 template<
typename NameNodesT = Aws::Vector<HdfsNameNode>>
67 void SetNameNodes(NameNodesT&& value) { m_nameNodesHasBeenSet =
true; m_nameNodes = std::forward<NameNodesT>(value); }
68 template<
typename NameNodesT = Aws::Vector<HdfsNameNode>>
70 template<
typename NameNodesT = HdfsNameNode>
81 inline void SetBlockSize(
int value) { m_blockSizeHasBeenSet =
true; m_blockSize = value; }
92 inline void SetReplicationFactor(
int value) { m_replicationFactorHasBeenSet =
true; m_replicationFactor = value; }
102 template<
typename KmsKeyProv
iderUriT = Aws::String>
103 void SetKmsKeyProviderUri(KmsKeyProviderUriT&& value) { m_kmsKeyProviderUriHasBeenSet =
true; m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value); }
104 template<
typename KmsKeyProv
iderUriT = Aws::String>
120 template<
typename QopConfigurationT = QopConfiguration>
121 void SetQopConfiguration(QopConfigurationT&& value) { m_qopConfigurationHasBeenSet =
true; m_qopConfiguration = std::forward<QopConfigurationT>(value); }
122 template<
typename QopConfigurationT = QopConfiguration>
144 template<
typename SimpleUserT = Aws::String>
145 void SetSimpleUser(SimpleUserT&& value) { m_simpleUserHasBeenSet =
true; m_simpleUser = std::forward<SimpleUserT>(value); }
146 template<
typename SimpleUserT = Aws::String>
158 template<
typename KerberosPrincipalT = Aws::String>
159 void SetKerberosPrincipal(KerberosPrincipalT&& value) { m_kerberosPrincipalHasBeenSet =
true; m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value); }
160 template<
typename KerberosPrincipalT = Aws::String>
174 template<
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
175 void SetKerberosKeytab(KerberosKeytabT&& value) { m_kerberosKeytabHasBeenSet =
true; m_kerberosKeytab = std::forward<KerberosKeytabT>(value); }
176 template<
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
191 template<
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
192 void SetKerberosKrb5Conf(KerberosKrb5ConfT&& value) { m_kerberosKrb5ConfHasBeenSet =
true; m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value); }
193 template<
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
204 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
205 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet =
true; m_agentArns = std::forward<AgentArnsT>(value); }
206 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
208 template<
typename AgentArnsT = Aws::String>
220 template<
typename TagsT = Aws::Vector<TagListEntry>>
221 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
222 template<
typename TagsT = Aws::Vector<TagListEntry>>
224 template<
typename TagsT = TagListEntry>
230 bool m_subdirectoryHasBeenSet =
false;
233 bool m_nameNodesHasBeenSet =
false;
236 bool m_blockSizeHasBeenSet =
false;
238 int m_replicationFactor{0};
239 bool m_replicationFactorHasBeenSet =
false;
242 bool m_kmsKeyProviderUriHasBeenSet =
false;
244 QopConfiguration m_qopConfiguration;
245 bool m_qopConfigurationHasBeenSet =
false;
248 bool m_authenticationTypeHasBeenSet =
false;
251 bool m_simpleUserHasBeenSet =
false;
254 bool m_kerberosPrincipalHasBeenSet =
false;
257 bool m_kerberosKeytabHasBeenSet =
false;
260 bool m_kerberosKrb5ConfHasBeenSet =
false;
263 bool m_agentArnsHasBeenSet =
false;
266 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