AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeLocationFsxWindowsResult.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
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataSync {
28namespace Model {
30 public:
31 AWS_DATASYNC_API DescribeLocationFsxWindowsResult() = default;
34
36
39 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
40 template <typename LocationArnT = Aws::String>
41 void SetLocationArn(LocationArnT&& value) {
42 m_locationArnHasBeenSet = true;
43 m_locationArn = std::forward<LocationArnT>(value);
44 }
45 template <typename LocationArnT = Aws::String>
47 SetLocationArn(std::forward<LocationArnT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
58 template <typename LocationUriT = Aws::String>
59 void SetLocationUri(LocationUriT&& value) {
60 m_locationUriHasBeenSet = true;
61 m_locationUri = std::forward<LocationUriT>(value);
62 }
63 template <typename LocationUriT = Aws::String>
65 SetLocationUri(std::forward<LocationUriT>(value));
66 return *this;
67 }
69
71
78 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
79 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
80 void SetSecurityGroupArns(SecurityGroupArnsT&& value) {
81 m_securityGroupArnsHasBeenSet = true;
82 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
83 }
84 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
86 SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value));
87 return *this;
88 }
89 template <typename SecurityGroupArnsT = Aws::String>
91 m_securityGroupArnsHasBeenSet = true;
92 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
102 template <typename CreationTimeT = Aws::Utils::DateTime>
103 void SetCreationTime(CreationTimeT&& value) {
104 m_creationTimeHasBeenSet = true;
105 m_creationTime = std::forward<CreationTimeT>(value);
106 }
107 template <typename CreationTimeT = Aws::Utils::DateTime>
109 SetCreationTime(std::forward<CreationTimeT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetUser() const { return m_user; }
120 template <typename UserT = Aws::String>
121 void SetUser(UserT&& value) {
122 m_userHasBeenSet = true;
123 m_user = std::forward<UserT>(value);
124 }
125 template <typename UserT = Aws::String>
127 SetUser(std::forward<UserT>(value));
128 return *this;
129 }
131
133
137 inline const Aws::String& GetDomain() const { return m_domain; }
138 template <typename DomainT = Aws::String>
139 void SetDomain(DomainT&& value) {
140 m_domainHasBeenSet = true;
141 m_domain = std::forward<DomainT>(value);
142 }
143 template <typename DomainT = Aws::String>
145 SetDomain(std::forward<DomainT>(value));
146 return *this;
147 }
149
151
157 inline const ManagedSecretConfig& GetManagedSecretConfig() const { return m_managedSecretConfig; }
158 template <typename ManagedSecretConfigT = ManagedSecretConfig>
159 void SetManagedSecretConfig(ManagedSecretConfigT&& value) {
160 m_managedSecretConfigHasBeenSet = true;
161 m_managedSecretConfig = std::forward<ManagedSecretConfigT>(value);
162 }
163 template <typename ManagedSecretConfigT = ManagedSecretConfig>
165 SetManagedSecretConfig(std::forward<ManagedSecretConfigT>(value));
166 return *this;
167 }
169
171
176 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
177 template <typename CmkSecretConfigT = CmkSecretConfig>
178 void SetCmkSecretConfig(CmkSecretConfigT&& value) {
179 m_cmkSecretConfigHasBeenSet = true;
180 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
181 }
182 template <typename CmkSecretConfigT = CmkSecretConfig>
184 SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value));
185 return *this;
186 }
188
190
196 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
197 template <typename CustomSecretConfigT = CustomSecretConfig>
198 void SetCustomSecretConfig(CustomSecretConfigT&& value) {
199 m_customSecretConfigHasBeenSet = true;
200 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
201 }
202 template <typename CustomSecretConfigT = CustomSecretConfig>
204 SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value));
205 return *this;
206 }
208
210
211 inline const Aws::String& GetRequestId() const { return m_requestId; }
212 template <typename RequestIdT = Aws::String>
213 void SetRequestId(RequestIdT&& value) {
214 m_requestIdHasBeenSet = true;
215 m_requestId = std::forward<RequestIdT>(value);
216 }
217 template <typename RequestIdT = Aws::String>
219 SetRequestId(std::forward<RequestIdT>(value));
220 return *this;
221 }
223 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
224
225 private:
226 Aws::String m_locationArn;
227
228 Aws::String m_locationUri;
229
230 Aws::Vector<Aws::String> m_securityGroupArns;
231
232 Aws::Utils::DateTime m_creationTime{};
233
234 Aws::String m_user;
235
236 Aws::String m_domain;
237
238 ManagedSecretConfig m_managedSecretConfig;
239
240 CmkSecretConfig m_cmkSecretConfig;
241
242 CustomSecretConfig m_customSecretConfig;
243
244 Aws::String m_requestId;
245 Aws::Http::HttpResponseCode m_HttpResponseCode;
246 bool m_locationArnHasBeenSet = false;
247 bool m_locationUriHasBeenSet = false;
248 bool m_securityGroupArnsHasBeenSet = false;
249 bool m_creationTimeHasBeenSet = false;
250 bool m_userHasBeenSet = false;
251 bool m_domainHasBeenSet = false;
252 bool m_managedSecretConfigHasBeenSet = false;
253 bool m_cmkSecretConfigHasBeenSet = false;
254 bool m_customSecretConfigHasBeenSet = false;
255 bool m_requestIdHasBeenSet = false;
256};
257
258} // namespace Model
259} // namespace DataSync
260} // namespace Aws
DescribeLocationFsxWindowsResult & WithDomain(DomainT &&value)
AWS_DATASYNC_API DescribeLocationFsxWindowsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxWindowsResult & WithUser(UserT &&value)
DescribeLocationFsxWindowsResult & WithLocationArn(LocationArnT &&value)
DescribeLocationFsxWindowsResult & AddSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API DescribeLocationFsxWindowsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxWindowsResult & WithRequestId(RequestIdT &&value)
DescribeLocationFsxWindowsResult & WithCreationTime(CreationTimeT &&value)
AWS_DATASYNC_API DescribeLocationFsxWindowsResult()=default
DescribeLocationFsxWindowsResult & WithCmkSecretConfig(CmkSecretConfigT &&value)
DescribeLocationFsxWindowsResult & WithManagedSecretConfig(ManagedSecretConfigT &&value)
DescribeLocationFsxWindowsResult & WithCustomSecretConfig(CustomSecretConfigT &&value)
DescribeLocationFsxWindowsResult & WithSecurityGroupArns(SecurityGroupArnsT &&value)
DescribeLocationFsxWindowsResult & WithLocationUri(LocationUriT &&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