AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeLocationSmbResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/CmkSecretConfig.h>
12#include <aws/datasync/model/CustomSecretConfig.h>
13#include <aws/datasync/model/ManagedSecretConfig.h>
14#include <aws/datasync/model/SmbAuthenticationType.h>
15#include <aws/datasync/model/SmbMountOptions.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataSync {
29namespace Model {
36 public:
37 AWS_DATASYNC_API DescribeLocationSmbResult() = default;
40
42
45 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
46 template <typename LocationArnT = Aws::String>
47 void SetLocationArn(LocationArnT&& value) {
48 m_locationArnHasBeenSet = true;
49 m_locationArn = std::forward<LocationArnT>(value);
50 }
51 template <typename LocationArnT = Aws::String>
53 SetLocationArn(std::forward<LocationArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
63 template <typename LocationUriT = Aws::String>
64 void SetLocationUri(LocationUriT&& value) {
65 m_locationUriHasBeenSet = true;
66 m_locationUri = std::forward<LocationUriT>(value);
67 }
68 template <typename LocationUriT = Aws::String>
70 SetLocationUri(std::forward<LocationUriT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
81 template <typename AgentArnsT = Aws::Vector<Aws::String>>
82 void SetAgentArns(AgentArnsT&& value) {
83 m_agentArnsHasBeenSet = true;
84 m_agentArns = std::forward<AgentArnsT>(value);
85 }
86 template <typename AgentArnsT = Aws::Vector<Aws::String>>
88 SetAgentArns(std::forward<AgentArnsT>(value));
89 return *this;
90 }
91 template <typename AgentArnsT = Aws::String>
93 m_agentArnsHasBeenSet = true;
94 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::String& GetUser() const { return m_user; }
106 template <typename UserT = Aws::String>
107 void SetUser(UserT&& value) {
108 m_userHasBeenSet = true;
109 m_user = std::forward<UserT>(value);
110 }
111 template <typename UserT = Aws::String>
113 SetUser(std::forward<UserT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::String& GetDomain() const { return m_domain; }
125 template <typename DomainT = Aws::String>
126 void SetDomain(DomainT&& value) {
127 m_domainHasBeenSet = true;
128 m_domain = std::forward<DomainT>(value);
129 }
130 template <typename DomainT = Aws::String>
132 SetDomain(std::forward<DomainT>(value));
133 return *this;
134 }
136
138
142 inline const SmbMountOptions& GetMountOptions() const { return m_mountOptions; }
143 template <typename MountOptionsT = SmbMountOptions>
144 void SetMountOptions(MountOptionsT&& value) {
145 m_mountOptionsHasBeenSet = true;
146 m_mountOptions = std::forward<MountOptionsT>(value);
147 }
148 template <typename MountOptionsT = SmbMountOptions>
150 SetMountOptions(std::forward<MountOptionsT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
160 template <typename CreationTimeT = Aws::Utils::DateTime>
161 void SetCreationTime(CreationTimeT&& value) {
162 m_creationTimeHasBeenSet = true;
163 m_creationTime = std::forward<CreationTimeT>(value);
164 }
165 template <typename CreationTimeT = Aws::Utils::DateTime>
167 SetCreationTime(std::forward<CreationTimeT>(value));
168 return *this;
169 }
171
173
178 inline const Aws::Vector<Aws::String>& GetDnsIpAddresses() const { return m_dnsIpAddresses; }
179 template <typename DnsIpAddressesT = Aws::Vector<Aws::String>>
180 void SetDnsIpAddresses(DnsIpAddressesT&& value) {
181 m_dnsIpAddressesHasBeenSet = true;
182 m_dnsIpAddresses = std::forward<DnsIpAddressesT>(value);
183 }
184 template <typename DnsIpAddressesT = Aws::Vector<Aws::String>>
186 SetDnsIpAddresses(std::forward<DnsIpAddressesT>(value));
187 return *this;
188 }
189 template <typename DnsIpAddressesT = Aws::String>
191 m_dnsIpAddressesHasBeenSet = true;
192 m_dnsIpAddresses.emplace_back(std::forward<DnsIpAddressesT>(value));
193 return *this;
194 }
196
198
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
220 inline SmbAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
222 m_authenticationTypeHasBeenSet = true;
223 m_authenticationType = value;
224 }
227 return *this;
228 }
230
232
238 inline const ManagedSecretConfig& GetManagedSecretConfig() const { return m_managedSecretConfig; }
239 template <typename ManagedSecretConfigT = ManagedSecretConfig>
240 void SetManagedSecretConfig(ManagedSecretConfigT&& value) {
241 m_managedSecretConfigHasBeenSet = true;
242 m_managedSecretConfig = std::forward<ManagedSecretConfigT>(value);
243 }
244 template <typename ManagedSecretConfigT = ManagedSecretConfig>
245 DescribeLocationSmbResult& WithManagedSecretConfig(ManagedSecretConfigT&& value) {
246 SetManagedSecretConfig(std::forward<ManagedSecretConfigT>(value));
247 return *this;
248 }
250
252
257 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
258 template <typename CmkSecretConfigT = CmkSecretConfig>
259 void SetCmkSecretConfig(CmkSecretConfigT&& value) {
260 m_cmkSecretConfigHasBeenSet = true;
261 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
262 }
263 template <typename CmkSecretConfigT = CmkSecretConfig>
265 SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value));
266 return *this;
267 }
269
271
276 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
277 template <typename CustomSecretConfigT = CustomSecretConfig>
278 void SetCustomSecretConfig(CustomSecretConfigT&& value) {
279 m_customSecretConfigHasBeenSet = true;
280 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
281 }
282 template <typename CustomSecretConfigT = CustomSecretConfig>
283 DescribeLocationSmbResult& WithCustomSecretConfig(CustomSecretConfigT&& value) {
284 SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value));
285 return *this;
286 }
288
290
291 inline const Aws::String& GetRequestId() const { return m_requestId; }
292 template <typename RequestIdT = Aws::String>
293 void SetRequestId(RequestIdT&& value) {
294 m_requestIdHasBeenSet = true;
295 m_requestId = std::forward<RequestIdT>(value);
296 }
297 template <typename RequestIdT = Aws::String>
299 SetRequestId(std::forward<RequestIdT>(value));
300 return *this;
301 }
303 private:
304 Aws::String m_locationArn;
305
306 Aws::String m_locationUri;
307
308 Aws::Vector<Aws::String> m_agentArns;
309
310 Aws::String m_user;
311
312 Aws::String m_domain;
313
314 SmbMountOptions m_mountOptions;
315
316 Aws::Utils::DateTime m_creationTime{};
317
318 Aws::Vector<Aws::String> m_dnsIpAddresses;
319
320 Aws::String m_kerberosPrincipal;
321
323
324 ManagedSecretConfig m_managedSecretConfig;
325
326 CmkSecretConfig m_cmkSecretConfig;
327
328 CustomSecretConfig m_customSecretConfig;
329
330 Aws::String m_requestId;
331 bool m_locationArnHasBeenSet = false;
332 bool m_locationUriHasBeenSet = false;
333 bool m_agentArnsHasBeenSet = false;
334 bool m_userHasBeenSet = false;
335 bool m_domainHasBeenSet = false;
336 bool m_mountOptionsHasBeenSet = false;
337 bool m_creationTimeHasBeenSet = false;
338 bool m_dnsIpAddressesHasBeenSet = false;
339 bool m_kerberosPrincipalHasBeenSet = false;
340 bool m_authenticationTypeHasBeenSet = false;
341 bool m_managedSecretConfigHasBeenSet = false;
342 bool m_cmkSecretConfigHasBeenSet = false;
343 bool m_customSecretConfigHasBeenSet = false;
344 bool m_requestIdHasBeenSet = false;
345};
346
347} // namespace Model
348} // namespace DataSync
349} // 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)
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