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>
48 template<
typename LocationArnT = Aws::String>
49 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet =
true; m_locationArn = std::forward<LocationArnT>(value); }
50 template<
typename LocationArnT = Aws::String>
61 template<
typename SubdirectoryT = Aws::String>
62 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet =
true; m_subdirectory = std::forward<SubdirectoryT>(value); }
63 template<
typename SubdirectoryT = Aws::String>
76 template<
typename NameNodesT = Aws::Vector<HdfsNameNode>>
77 void SetNameNodes(NameNodesT&& value) { m_nameNodesHasBeenSet =
true; m_nameNodes = std::forward<NameNodesT>(value); }
78 template<
typename NameNodesT = Aws::Vector<HdfsNameNode>>
80 template<
typename NameNodesT = HdfsNameNode>
90 inline void SetBlockSize(
int value) { m_blockSizeHasBeenSet =
true; m_blockSize = value; }
101 inline void SetReplicationFactor(
int value) { m_replicationFactorHasBeenSet =
true; m_replicationFactor = value; }
111 template<
typename KmsKeyProv
iderUriT = Aws::String>
112 void SetKmsKeyProviderUri(KmsKeyProviderUriT&& value) { m_kmsKeyProviderUriHasBeenSet =
true; m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value); }
113 template<
typename KmsKeyProv
iderUriT = Aws::String>
125 template<
typename QopConfigurationT = QopConfiguration>
126 void SetQopConfiguration(QopConfigurationT&& value) { m_qopConfigurationHasBeenSet =
true; m_qopConfiguration = std::forward<QopConfigurationT>(value); }
127 template<
typename QopConfigurationT = QopConfiguration>
147 template<
typename SimpleUserT = Aws::String>
148 void SetSimpleUser(SimpleUserT&& value) { m_simpleUserHasBeenSet =
true; m_simpleUser = std::forward<SimpleUserT>(value); }
149 template<
typename SimpleUserT = Aws::String>
160 template<
typename KerberosPrincipalT = Aws::String>
161 void SetKerberosPrincipal(KerberosPrincipalT&& value) { m_kerberosPrincipalHasBeenSet =
true; m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value); }
162 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>
189 template<
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
190 void SetKerberosKrb5Conf(KerberosKrb5ConfT&& value) { m_kerberosKrb5ConfHasBeenSet =
true; m_kerberosKrb5Conf = std::forward<KerberosKrb5ConfT>(value); }
191 template<
typename KerberosKrb5ConfT = Aws::Utils::ByteBuffer>
202 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
203 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet =
true; m_agentArns = std::forward<AgentArnsT>(value); }
204 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
206 template<
typename AgentArnsT = Aws::String>
212 bool m_locationArnHasBeenSet =
false;
215 bool m_subdirectoryHasBeenSet =
false;
218 bool m_nameNodesHasBeenSet =
false;
221 bool m_blockSizeHasBeenSet =
false;
223 int m_replicationFactor{0};
224 bool m_replicationFactorHasBeenSet =
false;
227 bool m_kmsKeyProviderUriHasBeenSet =
false;
229 QopConfiguration m_qopConfiguration;
230 bool m_qopConfigurationHasBeenSet =
false;
233 bool m_authenticationTypeHasBeenSet =
false;
236 bool m_simpleUserHasBeenSet =
false;
239 bool m_kerberosPrincipalHasBeenSet =
false;
242 bool m_kerberosKeytabHasBeenSet =
false;
245 bool m_kerberosKrb5ConfHasBeenSet =
false;
248 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