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>
46 template <
typename LocationArnT = Aws::String>
48 m_locationArnHasBeenSet =
true;
49 m_locationArn = std::forward<LocationArnT>(value);
51 template <
typename LocationArnT = Aws::String>
65 template <
typename SubdirectoryT = Aws::String>
67 m_subdirectoryHasBeenSet =
true;
68 m_subdirectory = std::forward<SubdirectoryT>(value);
70 template <
typename SubdirectoryT = Aws::String>
86 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
88 m_nameNodesHasBeenSet =
true;
89 m_nameNodes = std::forward<NameNodesT>(value);
91 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
96 template <
typename NameNodesT = HdfsNameNode>
98 m_nameNodesHasBeenSet =
true;
99 m_nameNodes.emplace_back(std::forward<NameNodesT>(value));
111 m_blockSizeHasBeenSet =
true;
128 m_replicationFactorHasBeenSet =
true;
129 m_replicationFactor = value;
143 template <
typename KmsKeyProv
iderUriT = Aws::String>
145 m_kmsKeyProviderUriHasBeenSet =
true;
146 m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value);
148 template <
typename KmsKeyProv
iderUriT = Aws::String>
163 template <
typename QopConfigurationT = QopConfiguration>
165 m_qopConfigurationHasBeenSet =
true;
166 m_qopConfiguration = std::forward<QopConfigurationT>(value);
168 template <
typename QopConfigurationT = QopConfiguration>
182 m_authenticationTypeHasBeenSet =
true;
183 m_authenticationType = value;
197 template <
typename SimpleUserT = Aws::String>
199 m_simpleUserHasBeenSet =
true;
200 m_simpleUser = std::forward<SimpleUserT>(value);
202 template <
typename SimpleUserT = Aws::String>
216 template <
typename KerberosPrincipalT = Aws::String>
218 m_kerberosPrincipalHasBeenSet =
true;
219 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
221 template <
typename KerberosPrincipalT = Aws::String>
236 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
238 m_kerberosKeytabHasBeenSet =
true;
239 m_kerberosKeytab = std::forward<KerberosKeytabT>(value);
241 template <
typename KerberosKeytabT = Aws::Utils::ByteBuffer>
257 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
259 m_kerberosKrb5ConfHasBeenSet =
true;
260 m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value);
262 template <
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
276 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
278 m_agentArnsHasBeenSet =
true;
279 m_agentArns = std::forward<AgentArnsT>(value);
281 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
286 template <
typename AgentArnsT = Aws::String>
288 m_agentArnsHasBeenSet =
true;
289 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
302 template <
typename CmkSecretConfigT = CmkSecretConfig>
304 m_cmkSecretConfigHasBeenSet =
true;
305 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
307 template <
typename CmkSecretConfigT = CmkSecretConfig>
323 template <
typename CustomSecretConfigT = CustomSecretConfig>
325 m_customSecretConfigHasBeenSet =
true;
326 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
328 template <
typename CustomSecretConfigT = CustomSecretConfig>
343 int m_replicationFactor{0};
347 QopConfiguration m_qopConfiguration;
361 CmkSecretConfig m_cmkSecretConfig;
363 CustomSecretConfig m_customSecretConfig;
364 bool m_locationArnHasBeenSet =
false;
365 bool m_subdirectoryHasBeenSet =
false;
366 bool m_nameNodesHasBeenSet =
false;
367 bool m_blockSizeHasBeenSet =
false;
368 bool m_replicationFactorHasBeenSet =
false;
369 bool m_kmsKeyProviderUriHasBeenSet =
false;
370 bool m_qopConfigurationHasBeenSet =
false;
371 bool m_authenticationTypeHasBeenSet =
false;
372 bool m_simpleUserHasBeenSet =
false;
373 bool m_kerberosPrincipalHasBeenSet =
false;
374 bool m_kerberosKeytabHasBeenSet =
false;
375 bool m_kerberosKrb5ConfHasBeenSet =
false;
376 bool m_agentArnsHasBeenSet =
false;
377 bool m_cmkSecretConfigHasBeenSet =
false;
378 bool m_customSecretConfigHasBeenSet =
false;
void SetNameNodes(NameNodesT &&value)
void SetCmkSecretConfig(CmkSecretConfigT &&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
UpdateLocationHdfsRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
void SetCustomSecretConfig(CustomSecretConfigT &&value)
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 CustomSecretConfig & GetCustomSecretConfig() 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)
bool CustomSecretConfigHasBeenSet() const
UpdateLocationHdfsRequest & WithCustomSecretConfig(CustomSecretConfigT &&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
const CmkSecretConfig & GetCmkSecretConfig() 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)
bool CmkSecretConfigHasBeenSet() const
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