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>
44 template <
typename LocationArnT = Aws::String>
46 m_locationArnHasBeenSet =
true;
47 m_locationArn = std::forward<LocationArnT>(value);
49 template <
typename LocationArnT = Aws::String>
63 template <
typename SubdirectoryT = Aws::String>
65 m_subdirectoryHasBeenSet =
true;
66 m_subdirectory = std::forward<SubdirectoryT>(value);
68 template <
typename SubdirectoryT = Aws::String>
84 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
86 m_nameNodesHasBeenSet =
true;
87 m_nameNodes = std::forward<NameNodesT>(value);
89 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
94 template <
typename NameNodesT = HdfsNameNode>
96 m_nameNodesHasBeenSet =
true;
97 m_nameNodes.emplace_back(std::forward<NameNodesT>(value));
109 m_blockSizeHasBeenSet =
true;
126 m_replicationFactorHasBeenSet =
true;
127 m_replicationFactor = value;
141 template <
typename KmsKeyProv
iderUriT = Aws::String>
143 m_kmsKeyProviderUriHasBeenSet =
true;
144 m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value);
146 template <
typename KmsKeyProv
iderUriT = Aws::String>
161 template <
typename QopConfigurationT = QopConfiguration>
163 m_qopConfigurationHasBeenSet =
true;
164 m_qopConfiguration = std::forward<QopConfigurationT>(value);
166 template <
typename QopConfigurationT = QopConfiguration>
180 m_authenticationTypeHasBeenSet =
true;
181 m_authenticationType = value;
195 template <
typename SimpleUserT = Aws::String>
197 m_simpleUserHasBeenSet =
true;
198 m_simpleUser = std::forward<SimpleUserT>(value);
200 template <
typename SimpleUserT = Aws::String>
214 template <
typename KerberosPrincipalT = Aws::String>
216 m_kerberosPrincipalHasBeenSet =
true;
217 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
219 template <
typename KerberosPrincipalT = Aws::String>
234 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
236 m_kerberosKeytabHasBeenSet =
true;
237 m_kerberosKeytab = std::forward<KerberosKeytabT>(value);
239 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
255 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
257 m_kerberosKrb5ConfHasBeenSet =
true;
258 m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value);
260 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
274 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
276 m_agentArnsHasBeenSet =
true;
277 m_agentArns = std::forward<AgentArnsT>(value);
279 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
284 template <
typename AgentArnsT = Aws::String>
286 m_agentArnsHasBeenSet =
true;
287 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
300 int m_replicationFactor{0};
304 QopConfiguration m_qopConfiguration;
317 bool m_locationArnHasBeenSet =
false;
318 bool m_subdirectoryHasBeenSet =
false;
319 bool m_nameNodesHasBeenSet =
false;
320 bool m_blockSizeHasBeenSet =
false;
321 bool m_replicationFactorHasBeenSet =
false;
322 bool m_kmsKeyProviderUriHasBeenSet =
false;
323 bool m_qopConfigurationHasBeenSet =
false;
324 bool m_authenticationTypeHasBeenSet =
false;
325 bool m_simpleUserHasBeenSet =
false;
326 bool m_kerberosPrincipalHasBeenSet =
false;
327 bool m_kerberosKeytabHasBeenSet =
false;
328 bool m_kerberosKrb5ConfHasBeenSet =
false;
329 bool m_agentArnsHasBeenSet =
false;
void SetNameNodes(NameNodesT &&value)
HdfsAuthenticationType GetAuthenticationType() const
AWS_DATASYNC_API UpdateLocationHdfsRequest()=default
UpdateLocationHdfsRequest & WithKerberosKrb5Conf(KerberosKrb5ConfT &&value)
UpdateLocationHdfsRequest & WithBlockSize(int value)
const Aws::Vector< Aws::String > & GetAgentArns() const
bool QopConfigurationHasBeenSet() const
bool LocationArnHasBeenSet() const
void SetQopConfiguration(QopConfigurationT &&value)
void SetAgentArns(AgentArnsT &&value)
UpdateLocationHdfsRequest & WithNameNodes(NameNodesT &&value)
bool KerberosKrb5ConfHasBeenSet() const
bool NameNodesHasBeenSet() const
void SetBlockSize(int value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< HdfsNameNode > & GetNameNodes() const
UpdateLocationHdfsRequest & WithSimpleUser(SimpleUserT &&value)
const Aws::String & GetSimpleUser() const
const Aws::String & GetSubdirectory() const
const QopConfiguration & GetQopConfiguration() const
void SetLocationArn(LocationArnT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetKerberosPrincipal() const
UpdateLocationHdfsRequest & WithReplicationFactor(int value)
UpdateLocationHdfsRequest & WithKerberosPrincipal(KerberosPrincipalT &&value)
bool AgentArnsHasBeenSet() const
bool BlockSizeHasBeenSet() const
int GetReplicationFactor() const
UpdateLocationHdfsRequest & WithSubdirectory(SubdirectoryT &&value)
UpdateLocationHdfsRequest & WithKmsKeyProviderUri(KmsKeyProviderUriT &&value)
UpdateLocationHdfsRequest & WithAgentArns(AgentArnsT &&value)
void SetSimpleUser(SimpleUserT &&value)
const Aws::String & GetLocationArn() const
UpdateLocationHdfsRequest & WithLocationArn(LocationArnT &&value)
void SetKerberosPrincipal(KerberosPrincipalT &&value)
void SetKmsKeyProviderUri(KmsKeyProviderUriT &&value)
const Aws::Utils::ByteBuffer & GetKerberosKrb5Conf() const
bool KerberosPrincipalHasBeenSet() const
bool SubdirectoryHasBeenSet() const
UpdateLocationHdfsRequest & AddNameNodes(NameNodesT &&value)
bool KmsKeyProviderUriHasBeenSet() const
UpdateLocationHdfsRequest & WithQopConfiguration(QopConfigurationT &&value)
void SetKerberosKeytab(KerberosKeytabT &&value)
UpdateLocationHdfsRequest & WithAuthenticationType(HdfsAuthenticationType value)
const Aws::Utils::ByteBuffer & GetKerberosKeytab() const
bool ReplicationFactorHasBeenSet() const
AWS_DATASYNC_API Aws::String SerializePayload() const override
bool AuthenticationTypeHasBeenSet() const
bool SimpleUserHasBeenSet() const
bool KerberosKeytabHasBeenSet() const
void SetReplicationFactor(int value)
const Aws::String & GetKmsKeyProviderUri() const
void SetSubdirectory(SubdirectoryT &&value)
void SetKerberosKrb5Conf(KerberosKrb5ConfT &&value)
UpdateLocationHdfsRequest & AddAgentArns(AgentArnsT &&value)
void SetAuthenticationType(HdfsAuthenticationType value)
UpdateLocationHdfsRequest & WithKerberosKeytab(KerberosKeytabT &&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