AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeLocationHdfsResult.h
1
6#pragma once
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>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace DataSync {
31namespace Model {
33 public:
34 AWS_DATASYNC_API DescribeLocationHdfsResult() = default;
37
39
42 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
43 template <typename LocationArnT = Aws::String>
44 void SetLocationArn(LocationArnT&& value) {
45 m_locationArnHasBeenSet = true;
46 m_locationArn = std::forward<LocationArnT>(value);
47 }
48 template <typename LocationArnT = Aws::String>
50 SetLocationArn(std::forward<LocationArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
60 template <typename LocationUriT = Aws::String>
61 void SetLocationUri(LocationUriT&& value) {
62 m_locationUriHasBeenSet = true;
63 m_locationUri = std::forward<LocationUriT>(value);
64 }
65 template <typename LocationUriT = Aws::String>
67 SetLocationUri(std::forward<LocationUriT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<HdfsNameNode>& GetNameNodes() const { return m_nameNodes; }
77 template <typename NameNodesT = Aws::Vector<HdfsNameNode>>
78 void SetNameNodes(NameNodesT&& value) {
79 m_nameNodesHasBeenSet = true;
80 m_nameNodes = std::forward<NameNodesT>(value);
81 }
82 template <typename NameNodesT = Aws::Vector<HdfsNameNode>>
84 SetNameNodes(std::forward<NameNodesT>(value));
85 return *this;
86 }
87 template <typename NameNodesT = HdfsNameNode>
89 m_nameNodesHasBeenSet = true;
90 m_nameNodes.emplace_back(std::forward<NameNodesT>(value));
91 return *this;
92 }
94
96
99 inline int GetBlockSize() const { return m_blockSize; }
100 inline void SetBlockSize(int value) {
101 m_blockSizeHasBeenSet = true;
102 m_blockSize = value;
103 }
105 SetBlockSize(value);
106 return *this;
107 }
109
111
115 inline int GetReplicationFactor() const { return m_replicationFactor; }
116 inline void SetReplicationFactor(int value) {
117 m_replicationFactorHasBeenSet = true;
118 m_replicationFactor = value;
119 }
122 return *this;
123 }
125
127
130 inline const Aws::String& GetKmsKeyProviderUri() const { return m_kmsKeyProviderUri; }
131 template <typename KmsKeyProviderUriT = Aws::String>
132 void SetKmsKeyProviderUri(KmsKeyProviderUriT&& value) {
133 m_kmsKeyProviderUriHasBeenSet = true;
134 m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value);
135 }
136 template <typename KmsKeyProviderUriT = Aws::String>
138 SetKmsKeyProviderUri(std::forward<KmsKeyProviderUriT>(value));
139 return *this;
140 }
142
144
149 inline const QopConfiguration& GetQopConfiguration() const { return m_qopConfiguration; }
150 template <typename QopConfigurationT = QopConfiguration>
151 void SetQopConfiguration(QopConfigurationT&& value) {
152 m_qopConfigurationHasBeenSet = true;
153 m_qopConfiguration = std::forward<QopConfigurationT>(value);
154 }
155 template <typename QopConfigurationT = QopConfiguration>
157 SetQopConfiguration(std::forward<QopConfigurationT>(value));
158 return *this;
159 }
161
163
166 inline HdfsAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
168 m_authenticationTypeHasBeenSet = true;
169 m_authenticationType = value;
170 }
173 return *this;
174 }
176
178
183 inline const Aws::String& GetSimpleUser() const { return m_simpleUser; }
184 template <typename SimpleUserT = Aws::String>
185 void SetSimpleUser(SimpleUserT&& value) {
186 m_simpleUserHasBeenSet = true;
187 m_simpleUser = std::forward<SimpleUserT>(value);
188 }
189 template <typename SimpleUserT = Aws::String>
191 SetSimpleUser(std::forward<SimpleUserT>(value));
192 return *this;
193 }
195
197
202 inline const Aws::String& GetKerberosPrincipal() const { return m_kerberosPrincipal; }
203 template <typename KerberosPrincipalT = Aws::String>
204 void SetKerberosPrincipal(KerberosPrincipalT&& value) {
205 m_kerberosPrincipalHasBeenSet = true;
206 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
207 }
208 template <typename KerberosPrincipalT = Aws::String>
210 SetKerberosPrincipal(std::forward<KerberosPrincipalT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
220 template <typename AgentArnsT = Aws::Vector<Aws::String>>
221 void SetAgentArns(AgentArnsT&& value) {
222 m_agentArnsHasBeenSet = true;
223 m_agentArns = std::forward<AgentArnsT>(value);
224 }
225 template <typename AgentArnsT = Aws::Vector<Aws::String>>
227 SetAgentArns(std::forward<AgentArnsT>(value));
228 return *this;
229 }
230 template <typename AgentArnsT = Aws::String>
232 m_agentArnsHasBeenSet = true;
233 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
243 template <typename CreationTimeT = Aws::Utils::DateTime>
244 void SetCreationTime(CreationTimeT&& value) {
245 m_creationTimeHasBeenSet = true;
246 m_creationTime = std::forward<CreationTimeT>(value);
247 }
248 template <typename CreationTimeT = Aws::Utils::DateTime>
250 SetCreationTime(std::forward<CreationTimeT>(value));
251 return *this;
252 }
254
256
262 inline const ManagedSecretConfig& GetManagedSecretConfig() const { return m_managedSecretConfig; }
263 template <typename ManagedSecretConfigT = ManagedSecretConfig>
264 void SetManagedSecretConfig(ManagedSecretConfigT&& value) {
265 m_managedSecretConfigHasBeenSet = true;
266 m_managedSecretConfig = std::forward<ManagedSecretConfigT>(value);
267 }
268 template <typename ManagedSecretConfigT = ManagedSecretConfig>
270 SetManagedSecretConfig(std::forward<ManagedSecretConfigT>(value));
271 return *this;
272 }
274
276
281 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
282 template <typename CmkSecretConfigT = CmkSecretConfig>
283 void SetCmkSecretConfig(CmkSecretConfigT&& value) {
284 m_cmkSecretConfigHasBeenSet = true;
285 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
286 }
287 template <typename CmkSecretConfigT = CmkSecretConfig>
289 SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value));
290 return *this;
291 }
293
295
301 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
302 template <typename CustomSecretConfigT = CustomSecretConfig>
303 void SetCustomSecretConfig(CustomSecretConfigT&& value) {
304 m_customSecretConfigHasBeenSet = true;
305 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
306 }
307 template <typename CustomSecretConfigT = CustomSecretConfig>
309 SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value));
310 return *this;
311 }
313
315
316 inline const Aws::String& GetRequestId() const { return m_requestId; }
317 template <typename RequestIdT = Aws::String>
318 void SetRequestId(RequestIdT&& value) {
319 m_requestIdHasBeenSet = true;
320 m_requestId = std::forward<RequestIdT>(value);
321 }
322 template <typename RequestIdT = Aws::String>
324 SetRequestId(std::forward<RequestIdT>(value));
325 return *this;
326 }
328 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
329
330 private:
331 Aws::String m_locationArn;
332
333 Aws::String m_locationUri;
334
335 Aws::Vector<HdfsNameNode> m_nameNodes;
336
337 int m_blockSize{0};
338
339 int m_replicationFactor{0};
340
341 Aws::String m_kmsKeyProviderUri;
342
343 QopConfiguration m_qopConfiguration;
344
346
347 Aws::String m_simpleUser;
348
349 Aws::String m_kerberosPrincipal;
350
351 Aws::Vector<Aws::String> m_agentArns;
352
353 Aws::Utils::DateTime m_creationTime{};
354
355 ManagedSecretConfig m_managedSecretConfig;
356
357 CmkSecretConfig m_cmkSecretConfig;
358
359 CustomSecretConfig m_customSecretConfig;
360
361 Aws::String m_requestId;
362 Aws::Http::HttpResponseCode m_HttpResponseCode;
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;
379};
380
381} // namespace Model
382} // namespace DataSync
383} // 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 & WithCmkSecretConfig(CmkSecretConfigT &&value)
DescribeLocationHdfsResult & WithLocationUri(LocationUriT &&value)
DescribeLocationHdfsResult & WithManagedSecretConfig(ManagedSecretConfigT &&value)
DescribeLocationHdfsResult & WithNameNodes(NameNodesT &&value)
DescribeLocationHdfsResult & WithCustomSecretConfig(CustomSecretConfigT &&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