7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/model/QopConfiguration.h>
11#include <aws/datasync/model/HdfsAuthenticationType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/datasync/model/HdfsNameNode.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename LocationArnT = Aws::String>
46 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet =
true; m_locationArn = std::forward<LocationArnT>(value); }
47 template<
typename LocationArnT = Aws::String>
56 template<
typename LocationUriT = Aws::String>
57 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet =
true; m_locationUri = std::forward<LocationUriT>(value); }
58 template<
typename LocationUriT = Aws::String>
67 template<
typename NameNodesT = Aws::Vector<HdfsNameNode>>
68 void SetNameNodes(NameNodesT&& value) { m_nameNodesHasBeenSet =
true; m_nameNodes = std::forward<NameNodesT>(value); }
69 template<
typename NameNodesT = Aws::Vector<HdfsNameNode>>
71 template<
typename NameNodesT = HdfsNameNode>
80 inline void SetBlockSize(
int value) { m_blockSizeHasBeenSet =
true; m_blockSize = value; }
90 inline void SetReplicationFactor(
int value) { m_replicationFactorHasBeenSet =
true; m_replicationFactor = value; }
99 template<
typename KmsKeyProv
iderUriT = Aws::String>
100 void SetKmsKeyProviderUri(KmsKeyProviderUriT&& value) { m_kmsKeyProviderUriHasBeenSet =
true; m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value); }
101 template<
typename KmsKeyProv
iderUriT = Aws::String>
112 template<
typename QopConfigurationT = QopConfiguration>
113 void SetQopConfiguration(QopConfigurationT&& value) { m_qopConfigurationHasBeenSet =
true; m_qopConfiguration = std::forward<QopConfigurationT>(value); }
114 template<
typename QopConfigurationT = QopConfiguration>
134 template<
typename SimpleUserT = Aws::String>
135 void SetSimpleUser(SimpleUserT&& value) { m_simpleUserHasBeenSet =
true; m_simpleUser = std::forward<SimpleUserT>(value); }
136 template<
typename SimpleUserT = Aws::String>
147 template<
typename KerberosPrincipalT = Aws::String>
148 void SetKerberosPrincipal(KerberosPrincipalT&& value) { m_kerberosPrincipalHasBeenSet =
true; m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value); }
149 template<
typename KerberosPrincipalT = Aws::String>
158 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
159 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet =
true; m_agentArns = std::forward<AgentArnsT>(value); }
160 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
162 template<
typename AgentArnsT = Aws::String>
171 template<
typename CreationTimeT = Aws::Utils::DateTime>
172 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
173 template<
typename CreationTimeT = Aws::Utils::DateTime>
180 template<
typename RequestIdT = Aws::String>
181 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
182 template<
typename RequestIdT = Aws::String>
188 bool m_locationArnHasBeenSet =
false;
191 bool m_locationUriHasBeenSet =
false;
194 bool m_nameNodesHasBeenSet =
false;
197 bool m_blockSizeHasBeenSet =
false;
199 int m_replicationFactor{0};
200 bool m_replicationFactorHasBeenSet =
false;
203 bool m_kmsKeyProviderUriHasBeenSet =
false;
205 QopConfiguration m_qopConfiguration;
206 bool m_qopConfigurationHasBeenSet =
false;
209 bool m_authenticationTypeHasBeenSet =
false;
212 bool m_simpleUserHasBeenSet =
false;
215 bool m_kerberosPrincipalHasBeenSet =
false;
218 bool m_agentArnsHasBeenSet =
false;
221 bool m_creationTimeHasBeenSet =
false;
224 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetSimpleUser() const
DescribeLocationHdfsResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
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)
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 & WithLocationUri(LocationUriT &&value)
HdfsAuthenticationType GetAuthenticationType() const
const Aws::String & GetKerberosPrincipal() const
DescribeLocationHdfsResult & WithNameNodes(NameNodesT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetLocationArn() const
void SetQopConfiguration(QopConfigurationT &&value)
int GetReplicationFactor() 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 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