AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeLocationSmbResult.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/ManagedSecretConfig.h>
15#include <aws/datasync/model/SmbAuthenticationType.h>
16#include <aws/datasync/model/SmbMountOptions.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DataSync {
30namespace Model {
37 public:
38 AWS_DATASYNC_API DescribeLocationSmbResult() = default;
41
43
46 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
47 template <typename LocationArnT = Aws::String>
48 void SetLocationArn(LocationArnT&& value) {
49 m_locationArnHasBeenSet = true;
50 m_locationArn = std::forward<LocationArnT>(value);
51 }
52 template <typename LocationArnT = Aws::String>
54 SetLocationArn(std::forward<LocationArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
64 template <typename LocationUriT = Aws::String>
65 void SetLocationUri(LocationUriT&& value) {
66 m_locationUriHasBeenSet = true;
67 m_locationUri = std::forward<LocationUriT>(value);
68 }
69 template <typename LocationUriT = Aws::String>
71 SetLocationUri(std::forward<LocationUriT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
82 template <typename AgentArnsT = Aws::Vector<Aws::String>>
83 void SetAgentArns(AgentArnsT&& value) {
84 m_agentArnsHasBeenSet = true;
85 m_agentArns = std::forward<AgentArnsT>(value);
86 }
87 template <typename AgentArnsT = Aws::Vector<Aws::String>>
89 SetAgentArns(std::forward<AgentArnsT>(value));
90 return *this;
91 }
92 template <typename AgentArnsT = Aws::String>
94 m_agentArnsHasBeenSet = true;
95 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
96 return *this;
97 }
99
101
106 inline const Aws::String& GetUser() const { return m_user; }
107 template <typename UserT = Aws::String>
108 void SetUser(UserT&& value) {
109 m_userHasBeenSet = true;
110 m_user = std::forward<UserT>(value);
111 }
112 template <typename UserT = Aws::String>
114 SetUser(std::forward<UserT>(value));
115 return *this;
116 }
118
120
125 inline const Aws::String& GetDomain() const { return m_domain; }
126 template <typename DomainT = Aws::String>
127 void SetDomain(DomainT&& value) {
128 m_domainHasBeenSet = true;
129 m_domain = std::forward<DomainT>(value);
130 }
131 template <typename DomainT = Aws::String>
133 SetDomain(std::forward<DomainT>(value));
134 return *this;
135 }
137
139
143 inline const SmbMountOptions& GetMountOptions() const { return m_mountOptions; }
144 template <typename MountOptionsT = SmbMountOptions>
145 void SetMountOptions(MountOptionsT&& value) {
146 m_mountOptionsHasBeenSet = true;
147 m_mountOptions = std::forward<MountOptionsT>(value);
148 }
149 template <typename MountOptionsT = SmbMountOptions>
151 SetMountOptions(std::forward<MountOptionsT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
161 template <typename CreationTimeT = Aws::Utils::DateTime>
162 void SetCreationTime(CreationTimeT&& value) {
163 m_creationTimeHasBeenSet = true;
164 m_creationTime = std::forward<CreationTimeT>(value);
165 }
166 template <typename CreationTimeT = Aws::Utils::DateTime>
168 SetCreationTime(std::forward<CreationTimeT>(value));
169 return *this;
170 }
172
174
179 inline const Aws::Vector<Aws::String>& GetDnsIpAddresses() const { return m_dnsIpAddresses; }
180 template <typename DnsIpAddressesT = Aws::Vector<Aws::String>>
181 void SetDnsIpAddresses(DnsIpAddressesT&& value) {
182 m_dnsIpAddressesHasBeenSet = true;
183 m_dnsIpAddresses = std::forward<DnsIpAddressesT>(value);
184 }
185 template <typename DnsIpAddressesT = Aws::Vector<Aws::String>>
187 SetDnsIpAddresses(std::forward<DnsIpAddressesT>(value));
188 return *this;
189 }
190 template <typename DnsIpAddressesT = Aws::String>
192 m_dnsIpAddressesHasBeenSet = true;
193 m_dnsIpAddresses.emplace_back(std::forward<DnsIpAddressesT>(value));
194 return *this;
195 }
197
199
203 inline const Aws::String& GetKerberosPrincipal() const { return m_kerberosPrincipal; }
204 template <typename KerberosPrincipalT = Aws::String>
205 void SetKerberosPrincipal(KerberosPrincipalT&& value) {
206 m_kerberosPrincipalHasBeenSet = true;
207 m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value);
208 }
209 template <typename KerberosPrincipalT = Aws::String>
211 SetKerberosPrincipal(std::forward<KerberosPrincipalT>(value));
212 return *this;
213 }
215
217
221 inline SmbAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
223 m_authenticationTypeHasBeenSet = true;
224 m_authenticationType = value;
225 }
228 return *this;
229 }
231
233
239 inline const ManagedSecretConfig& GetManagedSecretConfig() const { return m_managedSecretConfig; }
240 template <typename ManagedSecretConfigT = ManagedSecretConfig>
241 void SetManagedSecretConfig(ManagedSecretConfigT&& value) {
242 m_managedSecretConfigHasBeenSet = true;
243 m_managedSecretConfig = std::forward<ManagedSecretConfigT>(value);
244 }
245 template <typename ManagedSecretConfigT = ManagedSecretConfig>
246 DescribeLocationSmbResult& WithManagedSecretConfig(ManagedSecretConfigT&& value) {
247 SetManagedSecretConfig(std::forward<ManagedSecretConfigT>(value));
248 return *this;
249 }
251
253
258 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
259 template <typename CmkSecretConfigT = CmkSecretConfig>
260 void SetCmkSecretConfig(CmkSecretConfigT&& value) {
261 m_cmkSecretConfigHasBeenSet = true;
262 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
263 }
264 template <typename CmkSecretConfigT = CmkSecretConfig>
266 SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value));
267 return *this;
268 }
270
272
278 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
279 template <typename CustomSecretConfigT = CustomSecretConfig>
280 void SetCustomSecretConfig(CustomSecretConfigT&& value) {
281 m_customSecretConfigHasBeenSet = true;
282 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
283 }
284 template <typename CustomSecretConfigT = CustomSecretConfig>
285 DescribeLocationSmbResult& WithCustomSecretConfig(CustomSecretConfigT&& value) {
286 SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value));
287 return *this;
288 }
290
292
293 inline const Aws::String& GetRequestId() const { return m_requestId; }
294 template <typename RequestIdT = Aws::String>
295 void SetRequestId(RequestIdT&& value) {
296 m_requestIdHasBeenSet = true;
297 m_requestId = std::forward<RequestIdT>(value);
298 }
299 template <typename RequestIdT = Aws::String>
301 SetRequestId(std::forward<RequestIdT>(value));
302 return *this;
303 }
305 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
306
307 private:
308 Aws::String m_locationArn;
309
310 Aws::String m_locationUri;
311
312 Aws::Vector<Aws::String> m_agentArns;
313
314 Aws::String m_user;
315
316 Aws::String m_domain;
317
318 SmbMountOptions m_mountOptions;
319
320 Aws::Utils::DateTime m_creationTime{};
321
322 Aws::Vector<Aws::String> m_dnsIpAddresses;
323
324 Aws::String m_kerberosPrincipal;
325
327
328 ManagedSecretConfig m_managedSecretConfig;
329
330 CmkSecretConfig m_cmkSecretConfig;
331
332 CustomSecretConfig m_customSecretConfig;
333
334 Aws::String m_requestId;
335 Aws::Http::HttpResponseCode m_HttpResponseCode;
336 bool m_locationArnHasBeenSet = false;
337 bool m_locationUriHasBeenSet = false;
338 bool m_agentArnsHasBeenSet = false;
339 bool m_userHasBeenSet = false;
340 bool m_domainHasBeenSet = false;
341 bool m_mountOptionsHasBeenSet = false;
342 bool m_creationTimeHasBeenSet = false;
343 bool m_dnsIpAddressesHasBeenSet = false;
344 bool m_kerberosPrincipalHasBeenSet = false;
345 bool m_authenticationTypeHasBeenSet = false;
346 bool m_managedSecretConfigHasBeenSet = false;
347 bool m_cmkSecretConfigHasBeenSet = false;
348 bool m_customSecretConfigHasBeenSet = false;
349 bool m_requestIdHasBeenSet = false;
350};
351
352} // namespace Model
353} // namespace DataSync
354} // namespace Aws
DescribeLocationSmbResult & WithLocationArn(LocationArnT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
DescribeLocationSmbResult & WithDomain(DomainT &&value)
DescribeLocationSmbResult & WithUser(UserT &&value)
DescribeLocationSmbResult & WithLocationUri(LocationUriT &&value)
AWS_DATASYNC_API DescribeLocationSmbResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationSmbResult & WithCustomSecretConfig(CustomSecretConfigT &&value)
DescribeLocationSmbResult & AddAgentArns(AgentArnsT &&value)
DescribeLocationSmbResult & WithAuthenticationType(SmbAuthenticationType value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeLocationSmbResult & WithCreationTime(CreationTimeT &&value)
DescribeLocationSmbResult & WithDnsIpAddresses(DnsIpAddressesT &&value)
DescribeLocationSmbResult & WithKerberosPrincipal(KerberosPrincipalT &&value)
AWS_DATASYNC_API DescribeLocationSmbResult()=default
DescribeLocationSmbResult & WithMountOptions(MountOptionsT &&value)
DescribeLocationSmbResult & WithCmkSecretConfig(CmkSecretConfigT &&value)
AWS_DATASYNC_API DescribeLocationSmbResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationSmbResult & WithAgentArns(AgentArnsT &&value)
const Aws::Vector< Aws::String > & GetDnsIpAddresses() const
void SetManagedSecretConfig(ManagedSecretConfigT &&value)
DescribeLocationSmbResult & WithRequestId(RequestIdT &&value)
DescribeLocationSmbResult & AddDnsIpAddresses(DnsIpAddressesT &&value)
DescribeLocationSmbResult & WithManagedSecretConfig(ManagedSecretConfigT &&value)
const ManagedSecretConfig & GetManagedSecretConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue