AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeLocationHdfsResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/HdfsAuthenticationType.h>
12#include <aws/datasync/model/HdfsNameNode.h>
13#include <aws/datasync/model/QopConfiguration.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataSync {
27namespace Model {
29 public:
30 AWS_DATASYNC_API DescribeLocationHdfsResult() = default;
33
35
38 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
39 template <typename LocationArnT = Aws::String>
40 void SetLocationArn(LocationArnT&& value) {
41 m_locationArnHasBeenSet = true;
42 m_locationArn = std::forward<LocationArnT>(value);
43 }
44 template <typename LocationArnT = Aws::String>
46 SetLocationArn(std::forward<LocationArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
56 template <typename LocationUriT = Aws::String>
57 void SetLocationUri(LocationUriT&& value) {
58 m_locationUriHasBeenSet = true;
59 m_locationUri = std::forward<LocationUriT>(value);
60 }
61 template <typename LocationUriT = Aws::String>
63 SetLocationUri(std::forward<LocationUriT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Vector<HdfsNameNode>& GetNameNodes() const { return m_nameNodes; }
73 template <typename NameNodesT = Aws::Vector<HdfsNameNode>>
74 void SetNameNodes(NameNodesT&& value) {
75 m_nameNodesHasBeenSet = true;
76 m_nameNodes = std::forward<NameNodesT>(value);
77 }
78 template <typename NameNodesT = Aws::Vector<HdfsNameNode>>
80 SetNameNodes(std::forward<NameNodesT>(value));
81 return *this;
82 }
83 template <typename NameNodesT = HdfsNameNode>
85 m_nameNodesHasBeenSet = true;
86 m_nameNodes.emplace_back(std::forward<NameNodesT>(value));
87 return *this;
88 }
90
92
95 inline int GetBlockSize() const { return m_blockSize; }
96 inline void SetBlockSize(int value) {
97 m_blockSizeHasBeenSet = true;
98 m_blockSize = value;
99 }
101 SetBlockSize(value);
102 return *this;
103 }
105
107
111 inline int GetReplicationFactor() const { return m_replicationFactor; }
112 inline void SetReplicationFactor(int value) {
113 m_replicationFactorHasBeenSet = true;
114 m_replicationFactor = value;
115 }
118 return *this;
119 }
121
123
126 inline const Aws::String& GetKmsKeyProviderUri() const { return m_kmsKeyProviderUri; }
127 template <typename KmsKeyProviderUriT = Aws::String>
128 void SetKmsKeyProviderUri(KmsKeyProviderUriT&& value) {
129 m_kmsKeyProviderUriHasBeenSet = true;
130 m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value);
131 }
132 template <typename KmsKeyProviderUriT = Aws::String>
134 SetKmsKeyProviderUri(std::forward<KmsKeyProviderUriT>(value));
135 return *this;
136 }
138
140
145 inline const QopConfiguration& GetQopConfiguration() const { return m_qopConfiguration; }
146 template <typename QopConfigurationT = QopConfiguration>
147 void SetQopConfiguration(QopConfigurationT&& value) {
148 m_qopConfigurationHasBeenSet = true;
149 m_qopConfiguration = std::forward<QopConfigurationT>(value);
150 }
151 template <typename QopConfigurationT = QopConfiguration>
153 SetQopConfiguration(std::forward<QopConfigurationT>(value));
154 return *this;
155 }
157
159
162 inline HdfsAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
164 m_authenticationTypeHasBeenSet = true;
165 m_authenticationType = value;
166 }
169 return *this;
170 }
172
174
179 inline const Aws::String& GetSimpleUser() const { return m_simpleUser; }
180 template <typename SimpleUserT = Aws::String>
181 void SetSimpleUser(SimpleUserT&& value) {
182 m_simpleUserHasBeenSet = true;
183 m_simpleUser = std::forward<SimpleUserT>(value);
184 }
185 template <typename SimpleUserT = Aws::String>
187 SetSimpleUser(std::forward<SimpleUserT>(value));
188 return *this;
189 }
191
193
198 inline const Aws::String& GetKerberosPrincipal() const { return m_kerberosPrincipal; }
199 template <typename KerberosPrincipalT = Aws::String>
200 void SetKerberosPrincipal(KerberosPrincipalT&& value) {
201 m_kerberosPrincipalHasBeenSet = true;
202 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
203 }
204 template <typename KerberosPrincipalT = Aws::String>
206 SetKerberosPrincipal(std::forward<KerberosPrincipalT>(value));
207 return *this;
208 }
210
212
215 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
216 template <typename AgentArnsT = Aws::Vector<Aws::String>>
217 void SetAgentArns(AgentArnsT&& value) {
218 m_agentArnsHasBeenSet = true;
219 m_agentArns = std::forward<AgentArnsT>(value);
220 }
221 template <typename AgentArnsT = Aws::Vector<Aws::String>>
223 SetAgentArns(std::forward<AgentArnsT>(value));
224 return *this;
225 }
226 template <typename AgentArnsT = Aws::String>
228 m_agentArnsHasBeenSet = true;
229 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
239 template <typename CreationTimeT = Aws::Utils::DateTime>
240 void SetCreationTime(CreationTimeT&& value) {
241 m_creationTimeHasBeenSet = true;
242 m_creationTime = std::forward<CreationTimeT>(value);
243 }
244 template <typename CreationTimeT = Aws::Utils::DateTime>
246 SetCreationTime(std::forward<CreationTimeT>(value));
247 return *this;
248 }
250
252
253 inline const Aws::String& GetRequestId() const { return m_requestId; }
254 template <typename RequestIdT = Aws::String>
255 void SetRequestId(RequestIdT&& value) {
256 m_requestIdHasBeenSet = true;
257 m_requestId = std::forward<RequestIdT>(value);
258 }
259 template <typename RequestIdT = Aws::String>
261 SetRequestId(std::forward<RequestIdT>(value));
262 return *this;
263 }
265 private:
266 Aws::String m_locationArn;
267
268 Aws::String m_locationUri;
269
270 Aws::Vector<HdfsNameNode> m_nameNodes;
271
272 int m_blockSize{0};
273
274 int m_replicationFactor{0};
275
276 Aws::String m_kmsKeyProviderUri;
277
278 QopConfiguration m_qopConfiguration;
279
281
282 Aws::String m_simpleUser;
283
284 Aws::String m_kerberosPrincipal;
285
286 Aws::Vector<Aws::String> m_agentArns;
287
288 Aws::Utils::DateTime m_creationTime{};
289
290 Aws::String m_requestId;
291 bool m_locationArnHasBeenSet = false;
292 bool m_locationUriHasBeenSet = false;
293 bool m_nameNodesHasBeenSet = false;
294 bool m_blockSizeHasBeenSet = false;
295 bool m_replicationFactorHasBeenSet = false;
296 bool m_kmsKeyProviderUriHasBeenSet = false;
297 bool m_qopConfigurationHasBeenSet = false;
298 bool m_authenticationTypeHasBeenSet = false;
299 bool m_simpleUserHasBeenSet = false;
300 bool m_kerberosPrincipalHasBeenSet = false;
301 bool m_agentArnsHasBeenSet = false;
302 bool m_creationTimeHasBeenSet = false;
303 bool m_requestIdHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace DataSync
308} // namespace Aws
DescribeLocationHdfsResult & WithCreationTime(CreationTimeT &&value)
AWS_DATASYNC_API DescribeLocationHdfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationHdfsResult & WithReplicationFactor(int value)
AWS_DATASYNC_API DescribeLocationHdfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationHdfsResult & WithAuthenticationType(HdfsAuthenticationType value)
DescribeLocationHdfsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
DescribeLocationHdfsResult & AddNameNodes(NameNodesT &&value)
DescribeLocationHdfsResult & AddAgentArns(AgentArnsT &&value)
AWS_DATASYNC_API DescribeLocationHdfsResult()=default
DescribeLocationHdfsResult & WithKerberosPrincipal(KerberosPrincipalT &&value)
DescribeLocationHdfsResult & WithLocationArn(LocationArnT &&value)
const Aws::Vector< HdfsNameNode > & GetNameNodes() const
DescribeLocationHdfsResult & WithBlockSize(int value)
DescribeLocationHdfsResult & WithQopConfiguration(QopConfigurationT &&value)
DescribeLocationHdfsResult & WithLocationUri(LocationUriT &&value)
DescribeLocationHdfsResult & WithNameNodes(NameNodesT &&value)
DescribeLocationHdfsResult & WithAgentArns(AgentArnsT &&value)
DescribeLocationHdfsResult & WithSimpleUser(SimpleUserT &&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