AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLocationHdfsRequest.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datasync/model/QopConfiguration.h>
12#include <aws/datasync/model/HdfsAuthenticationType.h>
13#include <aws/core/utils/Array.h>
14#include <aws/datasync/model/HdfsNameNode.h>
15#include <utility>
16
17namespace Aws
18{
19namespace DataSync
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DATASYNC_API UpdateLocationHdfsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationHdfs"; }
36
37 AWS_DATASYNC_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
47 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
48 inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
49 inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
50 inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
51 inline UpdateLocationHdfsRequest& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
52 inline UpdateLocationHdfsRequest& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
53 inline UpdateLocationHdfsRequest& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
55
57
61 inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
62 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
63 inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
64 inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
65 inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
66 inline UpdateLocationHdfsRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
67 inline UpdateLocationHdfsRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
68 inline UpdateLocationHdfsRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
70
72
78 inline const Aws::Vector<HdfsNameNode>& GetNameNodes() const{ return m_nameNodes; }
79 inline bool NameNodesHasBeenSet() const { return m_nameNodesHasBeenSet; }
80 inline void SetNameNodes(const Aws::Vector<HdfsNameNode>& value) { m_nameNodesHasBeenSet = true; m_nameNodes = value; }
81 inline void SetNameNodes(Aws::Vector<HdfsNameNode>&& value) { m_nameNodesHasBeenSet = true; m_nameNodes = std::move(value); }
83 inline UpdateLocationHdfsRequest& WithNameNodes(Aws::Vector<HdfsNameNode>&& value) { SetNameNodes(std::move(value)); return *this;}
84 inline UpdateLocationHdfsRequest& AddNameNodes(const HdfsNameNode& value) { m_nameNodesHasBeenSet = true; m_nameNodes.push_back(value); return *this; }
85 inline UpdateLocationHdfsRequest& AddNameNodes(HdfsNameNode&& value) { m_nameNodesHasBeenSet = true; m_nameNodes.push_back(std::move(value)); return *this; }
87
89
92 inline int GetBlockSize() const{ return m_blockSize; }
93 inline bool BlockSizeHasBeenSet() const { return m_blockSizeHasBeenSet; }
94 inline void SetBlockSize(int value) { m_blockSizeHasBeenSet = true; m_blockSize = value; }
95 inline UpdateLocationHdfsRequest& WithBlockSize(int value) { SetBlockSize(value); return *this;}
97
99
103 inline int GetReplicationFactor() const{ return m_replicationFactor; }
104 inline bool ReplicationFactorHasBeenSet() const { return m_replicationFactorHasBeenSet; }
105 inline void SetReplicationFactor(int value) { m_replicationFactorHasBeenSet = true; m_replicationFactor = value; }
106 inline UpdateLocationHdfsRequest& WithReplicationFactor(int value) { SetReplicationFactor(value); return *this;}
108
110
113 inline const Aws::String& GetKmsKeyProviderUri() const{ return m_kmsKeyProviderUri; }
114 inline bool KmsKeyProviderUriHasBeenSet() const { return m_kmsKeyProviderUriHasBeenSet; }
115 inline void SetKmsKeyProviderUri(const Aws::String& value) { m_kmsKeyProviderUriHasBeenSet = true; m_kmsKeyProviderUri = value; }
116 inline void SetKmsKeyProviderUri(Aws::String&& value) { m_kmsKeyProviderUriHasBeenSet = true; m_kmsKeyProviderUri = std::move(value); }
117 inline void SetKmsKeyProviderUri(const char* value) { m_kmsKeyProviderUriHasBeenSet = true; m_kmsKeyProviderUri.assign(value); }
119 inline UpdateLocationHdfsRequest& WithKmsKeyProviderUri(Aws::String&& value) { SetKmsKeyProviderUri(std::move(value)); return *this;}
120 inline UpdateLocationHdfsRequest& WithKmsKeyProviderUri(const char* value) { SetKmsKeyProviderUri(value); return *this;}
122
124
129 inline const QopConfiguration& GetQopConfiguration() const{ return m_qopConfiguration; }
130 inline bool QopConfigurationHasBeenSet() const { return m_qopConfigurationHasBeenSet; }
131 inline void SetQopConfiguration(const QopConfiguration& value) { m_qopConfigurationHasBeenSet = true; m_qopConfiguration = value; }
132 inline void SetQopConfiguration(QopConfiguration&& value) { m_qopConfigurationHasBeenSet = true; m_qopConfiguration = std::move(value); }
134 inline UpdateLocationHdfsRequest& WithQopConfiguration(QopConfiguration&& value) { SetQopConfiguration(std::move(value)); return *this;}
136
138
141 inline const HdfsAuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
142 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
143 inline void SetAuthenticationType(const HdfsAuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
144 inline void SetAuthenticationType(HdfsAuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
148
150
153 inline const Aws::String& GetSimpleUser() const{ return m_simpleUser; }
154 inline bool SimpleUserHasBeenSet() const { return m_simpleUserHasBeenSet; }
155 inline void SetSimpleUser(const Aws::String& value) { m_simpleUserHasBeenSet = true; m_simpleUser = value; }
156 inline void SetSimpleUser(Aws::String&& value) { m_simpleUserHasBeenSet = true; m_simpleUser = std::move(value); }
157 inline void SetSimpleUser(const char* value) { m_simpleUserHasBeenSet = true; m_simpleUser.assign(value); }
158 inline UpdateLocationHdfsRequest& WithSimpleUser(const Aws::String& value) { SetSimpleUser(value); return *this;}
159 inline UpdateLocationHdfsRequest& WithSimpleUser(Aws::String&& value) { SetSimpleUser(std::move(value)); return *this;}
160 inline UpdateLocationHdfsRequest& WithSimpleUser(const char* value) { SetSimpleUser(value); return *this;}
162
164
168 inline const Aws::String& GetKerberosPrincipal() const{ return m_kerberosPrincipal; }
169 inline bool KerberosPrincipalHasBeenSet() const { return m_kerberosPrincipalHasBeenSet; }
170 inline void SetKerberosPrincipal(const Aws::String& value) { m_kerberosPrincipalHasBeenSet = true; m_kerberosPrincipal = value; }
171 inline void SetKerberosPrincipal(Aws::String&& value) { m_kerberosPrincipalHasBeenSet = true; m_kerberosPrincipal = std::move(value); }
172 inline void SetKerberosPrincipal(const char* value) { m_kerberosPrincipalHasBeenSet = true; m_kerberosPrincipal.assign(value); }
174 inline UpdateLocationHdfsRequest& WithKerberosPrincipal(Aws::String&& value) { SetKerberosPrincipal(std::move(value)); return *this;}
175 inline UpdateLocationHdfsRequest& WithKerberosPrincipal(const char* value) { SetKerberosPrincipal(value); return *this;}
177
179
185 inline const Aws::Utils::ByteBuffer& GetKerberosKeytab() const{ return m_kerberosKeytab; }
186 inline bool KerberosKeytabHasBeenSet() const { return m_kerberosKeytabHasBeenSet; }
187 inline void SetKerberosKeytab(const Aws::Utils::ByteBuffer& value) { m_kerberosKeytabHasBeenSet = true; m_kerberosKeytab = value; }
188 inline void SetKerberosKeytab(Aws::Utils::ByteBuffer&& value) { m_kerberosKeytabHasBeenSet = true; m_kerberosKeytab = std::move(value); }
192
194
200 inline const Aws::Utils::ByteBuffer& GetKerberosKrb5Conf() const{ return m_kerberosKrb5Conf; }
201 inline bool KerberosKrb5ConfHasBeenSet() const { return m_kerberosKrb5ConfHasBeenSet; }
202 inline void SetKerberosKrb5Conf(const Aws::Utils::ByteBuffer& value) { m_kerberosKrb5ConfHasBeenSet = true; m_kerberosKrb5Conf = value; }
203 inline void SetKerberosKrb5Conf(Aws::Utils::ByteBuffer&& value) { m_kerberosKrb5ConfHasBeenSet = true; m_kerberosKrb5Conf = std::move(value); }
207
209
213 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
214 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
215 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArnsHasBeenSet = true; m_agentArns = value; }
216 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::move(value); }
218 inline UpdateLocationHdfsRequest& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
219 inline UpdateLocationHdfsRequest& AddAgentArns(const Aws::String& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
220 inline UpdateLocationHdfsRequest& AddAgentArns(Aws::String&& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(std::move(value)); return *this; }
221 inline UpdateLocationHdfsRequest& AddAgentArns(const char* value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
223 private:
224
225 Aws::String m_locationArn;
226 bool m_locationArnHasBeenSet = false;
227
228 Aws::String m_subdirectory;
229 bool m_subdirectoryHasBeenSet = false;
230
231 Aws::Vector<HdfsNameNode> m_nameNodes;
232 bool m_nameNodesHasBeenSet = false;
233
234 int m_blockSize;
235 bool m_blockSizeHasBeenSet = false;
236
237 int m_replicationFactor;
238 bool m_replicationFactorHasBeenSet = false;
239
240 Aws::String m_kmsKeyProviderUri;
241 bool m_kmsKeyProviderUriHasBeenSet = false;
242
243 QopConfiguration m_qopConfiguration;
244 bool m_qopConfigurationHasBeenSet = false;
245
246 HdfsAuthenticationType m_authenticationType;
247 bool m_authenticationTypeHasBeenSet = false;
248
249 Aws::String m_simpleUser;
250 bool m_simpleUserHasBeenSet = false;
251
252 Aws::String m_kerberosPrincipal;
253 bool m_kerberosPrincipalHasBeenSet = false;
254
255 Aws::Utils::ByteBuffer m_kerberosKeytab;
256 bool m_kerberosKeytabHasBeenSet = false;
257
258 Aws::Utils::ByteBuffer m_kerberosKrb5Conf;
259 bool m_kerberosKrb5ConfHasBeenSet = false;
260
261 Aws::Vector<Aws::String> m_agentArns;
262 bool m_agentArnsHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace DataSync
267} // namespace Aws
UpdateLocationHdfsRequest & WithBlockSize(int value)
const Aws::Vector< Aws::String > & GetAgentArns() const
UpdateLocationHdfsRequest & WithAgentArns(Aws::Vector< Aws::String > &&value)
UpdateLocationHdfsRequest & WithSubdirectory(Aws::String &&value)
UpdateLocationHdfsRequest & WithKmsKeyProviderUri(Aws::String &&value)
UpdateLocationHdfsRequest & WithQopConfiguration(const QopConfiguration &value)
UpdateLocationHdfsRequest & WithSimpleUser(Aws::String &&value)
UpdateLocationHdfsRequest & WithAuthenticationType(HdfsAuthenticationType &&value)
UpdateLocationHdfsRequest & WithAgentArns(const Aws::Vector< Aws::String > &value)
void SetAuthenticationType(HdfsAuthenticationType &&value)
UpdateLocationHdfsRequest & WithKerberosPrincipal(Aws::String &&value)
UpdateLocationHdfsRequest & WithKerberosKrb5Conf(Aws::Utils::ByteBuffer &&value)
UpdateLocationHdfsRequest & WithAuthenticationType(const HdfsAuthenticationType &value)
void SetNameNodes(const Aws::Vector< HdfsNameNode > &value)
UpdateLocationHdfsRequest & WithKmsKeyProviderUri(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateLocationHdfsRequest & WithSubdirectory(const Aws::String &value)
const Aws::Vector< HdfsNameNode > & GetNameNodes() const
void SetKerberosKeytab(Aws::Utils::ByteBuffer &&value)
UpdateLocationHdfsRequest & WithSimpleUser(const char *value)
UpdateLocationHdfsRequest & AddAgentArns(Aws::String &&value)
UpdateLocationHdfsRequest & WithKmsKeyProviderUri(const Aws::String &value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNameNodes(Aws::Vector< HdfsNameNode > &&value)
UpdateLocationHdfsRequest & WithNameNodes(const Aws::Vector< HdfsNameNode > &value)
UpdateLocationHdfsRequest & WithReplicationFactor(int value)
UpdateLocationHdfsRequest & AddNameNodes(const HdfsNameNode &value)
UpdateLocationHdfsRequest & WithSimpleUser(const Aws::String &value)
UpdateLocationHdfsRequest & WithKerberosPrincipal(const Aws::String &value)
UpdateLocationHdfsRequest & WithKerberosKeytab(Aws::Utils::ByteBuffer &&value)
void SetKerberosKeytab(const Aws::Utils::ByteBuffer &value)
UpdateLocationHdfsRequest & AddAgentArns(const char *value)
UpdateLocationHdfsRequest & WithKerberosKrb5Conf(const Aws::Utils::ByteBuffer &value)
void SetAuthenticationType(const HdfsAuthenticationType &value)
UpdateLocationHdfsRequest & WithLocationArn(const Aws::String &value)
UpdateLocationHdfsRequest & AddNameNodes(HdfsNameNode &&value)
UpdateLocationHdfsRequest & WithKerberosKeytab(const Aws::Utils::ByteBuffer &value)
void SetAgentArns(Aws::Vector< Aws::String > &&value)
void SetKerberosKrb5Conf(Aws::Utils::ByteBuffer &&value)
const Aws::Utils::ByteBuffer & GetKerberosKrb5Conf() const
void SetQopConfiguration(const QopConfiguration &value)
const Aws::Utils::ByteBuffer & GetKerberosKeytab() const
UpdateLocationHdfsRequest & WithSubdirectory(const char *value)
UpdateLocationHdfsRequest & WithLocationArn(const char *value)
void SetKerberosKrb5Conf(const Aws::Utils::ByteBuffer &value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateLocationHdfsRequest & WithKerberosPrincipal(const char *value)
UpdateLocationHdfsRequest & WithLocationArn(Aws::String &&value)
UpdateLocationHdfsRequest & AddAgentArns(const Aws::String &value)
const HdfsAuthenticationType & GetAuthenticationType() const
UpdateLocationHdfsRequest & WithNameNodes(Aws::Vector< HdfsNameNode > &&value)
UpdateLocationHdfsRequest & WithQopConfiguration(QopConfiguration &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector