AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeLocationHdfsResult.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataSync
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DATASYNC_API DescribeLocationHdfsResult() = default;
38
39
41
44 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
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>
48 DescribeLocationHdfsResult& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
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>
59 DescribeLocationHdfsResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
61
63
66 inline const Aws::Vector<HdfsNameNode>& GetNameNodes() const { return m_nameNodes; }
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>>
70 DescribeLocationHdfsResult& WithNameNodes(NameNodesT&& value) { SetNameNodes(std::forward<NameNodesT>(value)); return *this;}
71 template<typename NameNodesT = HdfsNameNode>
72 DescribeLocationHdfsResult& AddNameNodes(NameNodesT&& value) { m_nameNodesHasBeenSet = true; m_nameNodes.emplace_back(std::forward<NameNodesT>(value)); return *this; }
74
76
79 inline int GetBlockSize() const { return m_blockSize; }
80 inline void SetBlockSize(int value) { m_blockSizeHasBeenSet = true; m_blockSize = value; }
81 inline DescribeLocationHdfsResult& WithBlockSize(int value) { SetBlockSize(value); return *this;}
83
85
89 inline int GetReplicationFactor() const { return m_replicationFactor; }
90 inline void SetReplicationFactor(int value) { m_replicationFactorHasBeenSet = true; m_replicationFactor = value; }
91 inline DescribeLocationHdfsResult& WithReplicationFactor(int value) { SetReplicationFactor(value); return *this;}
93
95
98 inline const Aws::String& GetKmsKeyProviderUri() const { return m_kmsKeyProviderUri; }
99 template<typename KmsKeyProviderUriT = Aws::String>
100 void SetKmsKeyProviderUri(KmsKeyProviderUriT&& value) { m_kmsKeyProviderUriHasBeenSet = true; m_kmsKeyProviderUri = std::forward<KmsKeyProviderUriT>(value); }
101 template<typename KmsKeyProviderUriT = Aws::String>
102 DescribeLocationHdfsResult& WithKmsKeyProviderUri(KmsKeyProviderUriT&& value) { SetKmsKeyProviderUri(std::forward<KmsKeyProviderUriT>(value)); return *this;}
104
106
111 inline const QopConfiguration& GetQopConfiguration() const { return m_qopConfiguration; }
112 template<typename QopConfigurationT = QopConfiguration>
113 void SetQopConfiguration(QopConfigurationT&& value) { m_qopConfigurationHasBeenSet = true; m_qopConfiguration = std::forward<QopConfigurationT>(value); }
114 template<typename QopConfigurationT = QopConfiguration>
115 DescribeLocationHdfsResult& WithQopConfiguration(QopConfigurationT&& value) { SetQopConfiguration(std::forward<QopConfigurationT>(value)); return *this;}
117
119
122 inline HdfsAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
123 inline void SetAuthenticationType(HdfsAuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
126
128
133 inline const Aws::String& GetSimpleUser() const { return m_simpleUser; }
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>
137 DescribeLocationHdfsResult& WithSimpleUser(SimpleUserT&& value) { SetSimpleUser(std::forward<SimpleUserT>(value)); return *this;}
139
141
146 inline const Aws::String& GetKerberosPrincipal() const { return m_kerberosPrincipal; }
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>
150 DescribeLocationHdfsResult& WithKerberosPrincipal(KerberosPrincipalT&& value) { SetKerberosPrincipal(std::forward<KerberosPrincipalT>(value)); return *this;}
152
154
157 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
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>>
161 DescribeLocationHdfsResult& WithAgentArns(AgentArnsT&& value) { SetAgentArns(std::forward<AgentArnsT>(value)); return *this;}
162 template<typename AgentArnsT = Aws::String>
163 DescribeLocationHdfsResult& AddAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns.emplace_back(std::forward<AgentArnsT>(value)); return *this; }
165
167
170 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
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>
174 DescribeLocationHdfsResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
176
178
179 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
183 DescribeLocationHdfsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
185 private:
186
187 Aws::String m_locationArn;
188 bool m_locationArnHasBeenSet = false;
189
190 Aws::String m_locationUri;
191 bool m_locationUriHasBeenSet = false;
192
193 Aws::Vector<HdfsNameNode> m_nameNodes;
194 bool m_nameNodesHasBeenSet = false;
195
196 int m_blockSize{0};
197 bool m_blockSizeHasBeenSet = false;
198
199 int m_replicationFactor{0};
200 bool m_replicationFactorHasBeenSet = false;
201
202 Aws::String m_kmsKeyProviderUri;
203 bool m_kmsKeyProviderUriHasBeenSet = false;
204
205 QopConfiguration m_qopConfiguration;
206 bool m_qopConfigurationHasBeenSet = false;
207
209 bool m_authenticationTypeHasBeenSet = false;
210
211 Aws::String m_simpleUser;
212 bool m_simpleUserHasBeenSet = false;
213
214 Aws::String m_kerberosPrincipal;
215 bool m_kerberosPrincipalHasBeenSet = false;
216
217 Aws::Vector<Aws::String> m_agentArns;
218 bool m_agentArnsHasBeenSet = false;
219
220 Aws::Utils::DateTime m_creationTime{};
221 bool m_creationTimeHasBeenSet = false;
222
223 Aws::String m_requestId;
224 bool m_requestIdHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace DataSync
229} // 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