7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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/ManagedSecretConfig.h>
17#include <aws/datasync/model/QopConfiguration.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
43 template <
typename LocationArnT = Aws::String>
45 m_locationArnHasBeenSet =
true;
46 m_locationArn = std::forward<LocationArnT>(value);
48 template <
typename LocationArnT = Aws::String>
60 template <
typename LocationUriT = Aws::String>
62 m_locationUriHasBeenSet =
true;
63 m_locationUri = std::forward<LocationUriT>(value);
65 template <
typename LocationUriT = Aws::String>
77 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
79 m_nameNodesHasBeenSet =
true;
80 m_nameNodes = std::forward<NameNodesT>(value);
82 template <
typename NameNodesT = Aws::Vector<HdfsNameNode>>
87 template <
typename NameNodesT = HdfsNameNode>
89 m_nameNodesHasBeenSet =
true;
90 m_nameNodes.emplace_back(std::forward<NameNodesT>(value));
101 m_blockSizeHasBeenSet =
true;
117 m_replicationFactorHasBeenSet =
true;
118 m_replicationFactor = value;
131 template <
typename KmsKeyProv
iderUriT = Aws::String>
133 m_kmsKeyProviderUriHasBeenSet =
true;
134 m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value);
136 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>
168 m_authenticationTypeHasBeenSet =
true;
169 m_authenticationType = value;
184 template <
typename SimpleUserT = Aws::String>
186 m_simpleUserHasBeenSet =
true;
187 m_simpleUser = std::forward<SimpleUserT>(value);
189 template <
typename SimpleUserT = Aws::String>
203 template <
typename KerberosPrincipalT = Aws::String>
205 m_kerberosPrincipalHasBeenSet =
true;
206 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
208 template <
typename KerberosPrincipalT = Aws::String>
220 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
222 m_agentArnsHasBeenSet =
true;
223 m_agentArns = std::forward<AgentArnsT>(value);
225 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
230 template <
typename AgentArnsT = Aws::String>
232 m_agentArnsHasBeenSet =
true;
233 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
243 template <
typename CreationTimeT = Aws::Utils::DateTime>
245 m_creationTimeHasBeenSet =
true;
246 m_creationTime = std::forward<CreationTimeT>(value);
248 template <
typename CreationTimeT = Aws::Utils::DateTime>
263 template <
typename ManagedSecretConfigT = ManagedSecretConfig>
265 m_managedSecretConfigHasBeenSet =
true;
266 m_managedSecretConfig = std::forward<ManagedSecretConfigT>(value);
268 template <
typename ManagedSecretConfigT = ManagedSecretConfig>
282 template <
typename CmkSecretConfigT = CmkSecretConfig>
284 m_cmkSecretConfigHasBeenSet =
true;
285 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
287 template <
typename CmkSecretConfigT = CmkSecretConfig>
302 template <
typename CustomSecretConfigT = CustomSecretConfig>
304 m_customSecretConfigHasBeenSet =
true;
305 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
307 template <
typename CustomSecretConfigT = CustomSecretConfig>
317 template <
typename RequestIdT = Aws::String>
319 m_requestIdHasBeenSet =
true;
320 m_requestId = std::forward<RequestIdT>(value);
322 template <
typename RequestIdT = Aws::String>
339 int m_replicationFactor{0};
343 QopConfiguration m_qopConfiguration;
355 ManagedSecretConfig m_managedSecretConfig;
357 CmkSecretConfig m_cmkSecretConfig;
359 CustomSecretConfig m_customSecretConfig;
363 bool m_locationArnHasBeenSet =
false;
364 bool m_locationUriHasBeenSet =
false;
365 bool m_nameNodesHasBeenSet =
false;
366 bool m_blockSizeHasBeenSet =
false;
367 bool m_replicationFactorHasBeenSet =
false;
368 bool m_kmsKeyProviderUriHasBeenSet =
false;
369 bool m_qopConfigurationHasBeenSet =
false;
370 bool m_authenticationTypeHasBeenSet =
false;
371 bool m_simpleUserHasBeenSet =
false;
372 bool m_kerberosPrincipalHasBeenSet =
false;
373 bool m_agentArnsHasBeenSet =
false;
374 bool m_creationTimeHasBeenSet =
false;
375 bool m_managedSecretConfigHasBeenSet =
false;
376 bool m_cmkSecretConfigHasBeenSet =
false;
377 bool m_customSecretConfigHasBeenSet =
false;
378 bool m_requestIdHasBeenSet =
false;
const ManagedSecretConfig & GetManagedSecretConfig() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetSimpleUser() const
DescribeLocationHdfsResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetManagedSecretConfig(ManagedSecretConfigT &&value)
const Aws::String & GetLocationUri() const
AWS_DATASYNC_API DescribeLocationHdfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationHdfsResult & WithReplicationFactor(int value)
void SetReplicationFactor(int value)
AWS_DATASYNC_API DescribeLocationHdfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationHdfsResult & WithAuthenticationType(HdfsAuthenticationType value)
const Aws::String & GetRequestId() const
const Aws::String & GetKmsKeyProviderUri() const
void SetRequestId(RequestIdT &&value)
DescribeLocationHdfsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
DescribeLocationHdfsResult & AddNameNodes(NameNodesT &&value)
void SetSimpleUser(SimpleUserT &&value)
DescribeLocationHdfsResult & AddAgentArns(AgentArnsT &&value)
void SetCmkSecretConfig(CmkSecretConfigT &&value)
AWS_DATASYNC_API DescribeLocationHdfsResult()=default
DescribeLocationHdfsResult & WithKerberosPrincipal(KerberosPrincipalT &&value)
DescribeLocationHdfsResult & WithLocationArn(LocationArnT &&value)
void SetAuthenticationType(HdfsAuthenticationType value)
const Aws::Vector< HdfsNameNode > & GetNameNodes() const
DescribeLocationHdfsResult & WithBlockSize(int value)
DescribeLocationHdfsResult & WithQopConfiguration(QopConfigurationT &&value)
DescribeLocationHdfsResult & WithCmkSecretConfig(CmkSecretConfigT &&value)
DescribeLocationHdfsResult & WithLocationUri(LocationUriT &&value)
HdfsAuthenticationType GetAuthenticationType() const
const Aws::String & GetKerberosPrincipal() const
DescribeLocationHdfsResult & WithManagedSecretConfig(ManagedSecretConfigT &&value)
DescribeLocationHdfsResult & WithNameNodes(NameNodesT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetLocationArn() const
void SetQopConfiguration(QopConfigurationT &&value)
const CmkSecretConfig & GetCmkSecretConfig() const
int GetReplicationFactor() const
DescribeLocationHdfsResult & WithCustomSecretConfig(CustomSecretConfigT &&value)
const CustomSecretConfig & GetCustomSecretConfig() const
void SetNameNodes(NameNodesT &&value)
void SetKmsKeyProviderUri(KmsKeyProviderUriT &&value)
void SetBlockSize(int value)
void SetLocationArn(LocationArnT &&value)
const QopConfiguration & GetQopConfiguration() const
void SetAgentArns(AgentArnsT &&value)
DescribeLocationHdfsResult & WithAgentArns(AgentArnsT &&value)
DescribeLocationHdfsResult & WithSimpleUser(SimpleUserT &&value)
void SetCustomSecretConfig(CustomSecretConfigT &&value)
void SetKerberosPrincipal(KerberosPrincipalT &&value)
void SetLocationUri(LocationUriT &&value)
DescribeLocationHdfsResult & WithKmsKeyProviderUri(KmsKeyProviderUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue