AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
45 inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
46 inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
47 inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
48 inline DescribeLocationHdfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
49 inline DescribeLocationHdfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
50 inline DescribeLocationHdfsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
52
54
57 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
58 inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
59 inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
60 inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
61 inline DescribeLocationHdfsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
62 inline DescribeLocationHdfsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
63 inline DescribeLocationHdfsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
65
67
70 inline const Aws::Vector<HdfsNameNode>& GetNameNodes() const{ return m_nameNodes; }
71 inline void SetNameNodes(const Aws::Vector<HdfsNameNode>& value) { m_nameNodes = value; }
72 inline void SetNameNodes(Aws::Vector<HdfsNameNode>&& value) { m_nameNodes = std::move(value); }
74 inline DescribeLocationHdfsResult& WithNameNodes(Aws::Vector<HdfsNameNode>&& value) { SetNameNodes(std::move(value)); return *this;}
75 inline DescribeLocationHdfsResult& AddNameNodes(const HdfsNameNode& value) { m_nameNodes.push_back(value); return *this; }
76 inline DescribeLocationHdfsResult& AddNameNodes(HdfsNameNode&& value) { m_nameNodes.push_back(std::move(value)); return *this; }
78
80
83 inline int GetBlockSize() const{ return m_blockSize; }
84 inline void SetBlockSize(int value) { m_blockSize = value; }
85 inline DescribeLocationHdfsResult& WithBlockSize(int value) { SetBlockSize(value); return *this;}
87
89
93 inline int GetReplicationFactor() const{ return m_replicationFactor; }
94 inline void SetReplicationFactor(int value) { m_replicationFactor = value; }
95 inline DescribeLocationHdfsResult& WithReplicationFactor(int value) { SetReplicationFactor(value); return *this;}
97
99
102 inline const Aws::String& GetKmsKeyProviderUri() const{ return m_kmsKeyProviderUri; }
103 inline void SetKmsKeyProviderUri(const Aws::String& value) { m_kmsKeyProviderUri = value; }
104 inline void SetKmsKeyProviderUri(Aws::String&& value) { m_kmsKeyProviderUri = std::move(value); }
105 inline void SetKmsKeyProviderUri(const char* value) { m_kmsKeyProviderUri.assign(value); }
107 inline DescribeLocationHdfsResult& WithKmsKeyProviderUri(Aws::String&& value) { SetKmsKeyProviderUri(std::move(value)); return *this;}
108 inline DescribeLocationHdfsResult& WithKmsKeyProviderUri(const char* value) { SetKmsKeyProviderUri(value); return *this;}
110
112
117 inline const QopConfiguration& GetQopConfiguration() const{ return m_qopConfiguration; }
118 inline void SetQopConfiguration(const QopConfiguration& value) { m_qopConfiguration = value; }
119 inline void SetQopConfiguration(QopConfiguration&& value) { m_qopConfiguration = std::move(value); }
121 inline DescribeLocationHdfsResult& WithQopConfiguration(QopConfiguration&& value) { SetQopConfiguration(std::move(value)); return *this;}
123
125
128 inline const HdfsAuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
129 inline void SetAuthenticationType(const HdfsAuthenticationType& value) { m_authenticationType = value; }
130 inline void SetAuthenticationType(HdfsAuthenticationType&& value) { m_authenticationType = std::move(value); }
134
136
141 inline const Aws::String& GetSimpleUser() const{ return m_simpleUser; }
142 inline void SetSimpleUser(const Aws::String& value) { m_simpleUser = value; }
143 inline void SetSimpleUser(Aws::String&& value) { m_simpleUser = std::move(value); }
144 inline void SetSimpleUser(const char* value) { m_simpleUser.assign(value); }
145 inline DescribeLocationHdfsResult& WithSimpleUser(const Aws::String& value) { SetSimpleUser(value); return *this;}
146 inline DescribeLocationHdfsResult& WithSimpleUser(Aws::String&& value) { SetSimpleUser(std::move(value)); return *this;}
147 inline DescribeLocationHdfsResult& WithSimpleUser(const char* value) { SetSimpleUser(value); return *this;}
149
151
156 inline const Aws::String& GetKerberosPrincipal() const{ return m_kerberosPrincipal; }
157 inline void SetKerberosPrincipal(const Aws::String& value) { m_kerberosPrincipal = value; }
158 inline void SetKerberosPrincipal(Aws::String&& value) { m_kerberosPrincipal = std::move(value); }
159 inline void SetKerberosPrincipal(const char* value) { m_kerberosPrincipal.assign(value); }
161 inline DescribeLocationHdfsResult& WithKerberosPrincipal(Aws::String&& value) { SetKerberosPrincipal(std::move(value)); return *this;}
162 inline DescribeLocationHdfsResult& WithKerberosPrincipal(const char* value) { SetKerberosPrincipal(value); return *this;}
164
166
169 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
170 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArns = value; }
171 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArns = std::move(value); }
173 inline DescribeLocationHdfsResult& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
174 inline DescribeLocationHdfsResult& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; }
175 inline DescribeLocationHdfsResult& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; }
176 inline DescribeLocationHdfsResult& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; }
178
180
183 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
184 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
185 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
187 inline DescribeLocationHdfsResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
189
191
192 inline const Aws::String& GetRequestId() const{ return m_requestId; }
193 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
194 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
195 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
196 inline DescribeLocationHdfsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
197 inline DescribeLocationHdfsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
198 inline DescribeLocationHdfsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
200 private:
201
202 Aws::String m_locationArn;
203
204 Aws::String m_locationUri;
205
206 Aws::Vector<HdfsNameNode> m_nameNodes;
207
208 int m_blockSize;
209
210 int m_replicationFactor;
211
212 Aws::String m_kmsKeyProviderUri;
213
214 QopConfiguration m_qopConfiguration;
215
216 HdfsAuthenticationType m_authenticationType;
217
218 Aws::String m_simpleUser;
219
220 Aws::String m_kerberosPrincipal;
221
222 Aws::Vector<Aws::String> m_agentArns;
223
224 Aws::Utils::DateTime m_creationTime;
225
226 Aws::String m_requestId;
227 };
228
229} // namespace Model
230} // namespace DataSync
231} // namespace Aws
DescribeLocationHdfsResult & WithRequestId(Aws::String &&value)
void SetAgentArns(Aws::Vector< Aws::String > &&value)
DescribeLocationHdfsResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLocationHdfsResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationHdfsResult & WithNameNodes(const Aws::Vector< HdfsNameNode > &value)
DescribeLocationHdfsResult & WithSimpleUser(const Aws::String &value)
DescribeLocationHdfsResult & WithLocationUri(const Aws::String &value)
AWS_DATASYNC_API DescribeLocationHdfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
DescribeLocationHdfsResult & AddNameNodes(HdfsNameNode &&value)
DescribeLocationHdfsResult & WithReplicationFactor(int value)
DescribeLocationHdfsResult & WithSimpleUser(const char *value)
DescribeLocationHdfsResult & WithKmsKeyProviderUri(const char *value)
AWS_DATASYNC_API DescribeLocationHdfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationHdfsResult & AddNameNodes(const HdfsNameNode &value)
DescribeLocationHdfsResult & WithAgentArns(Aws::Vector< Aws::String > &&value)
DescribeLocationHdfsResult & WithLocationUri(const char *value)
DescribeLocationHdfsResult & WithQopConfiguration(QopConfiguration &&value)
DescribeLocationHdfsResult & WithNameNodes(Aws::Vector< HdfsNameNode > &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
DescribeLocationHdfsResult & WithKerberosPrincipal(const Aws::String &value)
void SetNameNodes(Aws::Vector< HdfsNameNode > &&value)
void SetAuthenticationType(HdfsAuthenticationType &&value)
DescribeLocationHdfsResult & AddAgentArns(const char *value)
const Aws::Vector< HdfsNameNode > & GetNameNodes() const
DescribeLocationHdfsResult & WithLocationUri(Aws::String &&value)
DescribeLocationHdfsResult & WithBlockSize(int value)
DescribeLocationHdfsResult & WithLocationArn(const char *value)
DescribeLocationHdfsResult & WithQopConfiguration(const QopConfiguration &value)
DescribeLocationHdfsResult & WithAuthenticationType(HdfsAuthenticationType &&value)
DescribeLocationHdfsResult & AddAgentArns(const Aws::String &value)
void SetAuthenticationType(const HdfsAuthenticationType &value)
DescribeLocationHdfsResult & WithKmsKeyProviderUri(Aws::String &&value)
DescribeLocationHdfsResult & WithAuthenticationType(const HdfsAuthenticationType &value)
DescribeLocationHdfsResult & WithRequestId(const Aws::String &value)
DescribeLocationHdfsResult & WithKerberosPrincipal(Aws::String &&value)
DescribeLocationHdfsResult & AddAgentArns(Aws::String &&value)
void SetNameNodes(const Aws::Vector< HdfsNameNode > &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const HdfsAuthenticationType & GetAuthenticationType() const
DescribeLocationHdfsResult & WithAgentArns(const Aws::Vector< Aws::String > &value)
DescribeLocationHdfsResult & WithLocationArn(Aws::String &&value)
DescribeLocationHdfsResult & WithLocationArn(const Aws::String &value)
DescribeLocationHdfsResult & WithRequestId(const char *value)
DescribeLocationHdfsResult & WithKmsKeyProviderUri(const Aws::String &value)
DescribeLocationHdfsResult & WithKerberosPrincipal(const char *value)
DescribeLocationHdfsResult & WithSimpleUser(Aws::String &&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