AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VerifiedAccessTrustProvider.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/DeviceOptions.h>
12#include <aws/ec2/model/DeviceTrustProviderType.h>
13#include <aws/ec2/model/NativeApplicationOidcOptions.h>
14#include <aws/ec2/model/OidcOptions.h>
15#include <aws/ec2/model/Tag.h>
16#include <aws/ec2/model/TrustProviderType.h>
17#include <aws/ec2/model/UserTrustProviderType.h>
18#include <aws/ec2/model/VerifiedAccessSseSpecificationResponse.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Xml {
25class XmlNode;
26} // namespace Xml
27} // namespace Utils
28namespace EC2 {
29namespace Model {
30
37 public:
38 AWS_EC2_API VerifiedAccessTrustProvider() = default;
41
42 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
46
49 inline const Aws::String& GetVerifiedAccessTrustProviderId() const { return m_verifiedAccessTrustProviderId; }
50 inline bool VerifiedAccessTrustProviderIdHasBeenSet() const { return m_verifiedAccessTrustProviderIdHasBeenSet; }
51 template <typename VerifiedAccessTrustProviderIdT = Aws::String>
52 void SetVerifiedAccessTrustProviderId(VerifiedAccessTrustProviderIdT&& value) {
53 m_verifiedAccessTrustProviderIdHasBeenSet = true;
54 m_verifiedAccessTrustProviderId = std::forward<VerifiedAccessTrustProviderIdT>(value);
55 }
56 template <typename VerifiedAccessTrustProviderIdT = Aws::String>
57 VerifiedAccessTrustProvider& WithVerifiedAccessTrustProviderId(VerifiedAccessTrustProviderIdT&& value) {
58 SetVerifiedAccessTrustProviderId(std::forward<VerifiedAccessTrustProviderIdT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template <typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) {
71 m_descriptionHasBeenSet = true;
72 m_description = std::forward<DescriptionT>(value);
73 }
74 template <typename DescriptionT = Aws::String>
76 SetDescription(std::forward<DescriptionT>(value));
77 return *this;
78 }
80
82
85 inline TrustProviderType GetTrustProviderType() const { return m_trustProviderType; }
86 inline bool TrustProviderTypeHasBeenSet() const { return m_trustProviderTypeHasBeenSet; }
88 m_trustProviderTypeHasBeenSet = true;
89 m_trustProviderType = value;
90 }
93 return *this;
94 }
96
98
101 inline UserTrustProviderType GetUserTrustProviderType() const { return m_userTrustProviderType; }
102 inline bool UserTrustProviderTypeHasBeenSet() const { return m_userTrustProviderTypeHasBeenSet; }
104 m_userTrustProviderTypeHasBeenSet = true;
105 m_userTrustProviderType = value;
106 }
109 return *this;
110 }
112
114
117 inline DeviceTrustProviderType GetDeviceTrustProviderType() const { return m_deviceTrustProviderType; }
118 inline bool DeviceTrustProviderTypeHasBeenSet() const { return m_deviceTrustProviderTypeHasBeenSet; }
120 m_deviceTrustProviderTypeHasBeenSet = true;
121 m_deviceTrustProviderType = value;
122 }
125 return *this;
126 }
128
130
134 inline const OidcOptions& GetOidcOptions() const { return m_oidcOptions; }
135 inline bool OidcOptionsHasBeenSet() const { return m_oidcOptionsHasBeenSet; }
136 template <typename OidcOptionsT = OidcOptions>
137 void SetOidcOptions(OidcOptionsT&& value) {
138 m_oidcOptionsHasBeenSet = true;
139 m_oidcOptions = std::forward<OidcOptionsT>(value);
140 }
141 template <typename OidcOptionsT = OidcOptions>
143 SetOidcOptions(std::forward<OidcOptionsT>(value));
144 return *this;
145 }
147
149
152 inline const DeviceOptions& GetDeviceOptions() const { return m_deviceOptions; }
153 inline bool DeviceOptionsHasBeenSet() const { return m_deviceOptionsHasBeenSet; }
154 template <typename DeviceOptionsT = DeviceOptions>
155 void SetDeviceOptions(DeviceOptionsT&& value) {
156 m_deviceOptionsHasBeenSet = true;
157 m_deviceOptions = std::forward<DeviceOptionsT>(value);
158 }
159 template <typename DeviceOptionsT = DeviceOptions>
161 SetDeviceOptions(std::forward<DeviceOptionsT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetPolicyReferenceName() const { return m_policyReferenceName; }
171 inline bool PolicyReferenceNameHasBeenSet() const { return m_policyReferenceNameHasBeenSet; }
172 template <typename PolicyReferenceNameT = Aws::String>
173 void SetPolicyReferenceName(PolicyReferenceNameT&& value) {
174 m_policyReferenceNameHasBeenSet = true;
175 m_policyReferenceName = std::forward<PolicyReferenceNameT>(value);
176 }
177 template <typename PolicyReferenceNameT = Aws::String>
179 SetPolicyReferenceName(std::forward<PolicyReferenceNameT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
189 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
190 template <typename CreationTimeT = Aws::String>
191 void SetCreationTime(CreationTimeT&& value) {
192 m_creationTimeHasBeenSet = true;
193 m_creationTime = std::forward<CreationTimeT>(value);
194 }
195 template <typename CreationTimeT = Aws::String>
197 SetCreationTime(std::forward<CreationTimeT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
207 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
208 template <typename LastUpdatedTimeT = Aws::String>
209 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
210 m_lastUpdatedTimeHasBeenSet = true;
211 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
212 }
213 template <typename LastUpdatedTimeT = Aws::String>
215 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
225 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
226 template <typename TagsT = Aws::Vector<Tag>>
227 void SetTags(TagsT&& value) {
228 m_tagsHasBeenSet = true;
229 m_tags = std::forward<TagsT>(value);
230 }
231 template <typename TagsT = Aws::Vector<Tag>>
233 SetTags(std::forward<TagsT>(value));
234 return *this;
235 }
236 template <typename TagsT = Tag>
238 m_tagsHasBeenSet = true;
239 m_tags.emplace_back(std::forward<TagsT>(value));
240 return *this;
241 }
243
245
248 inline const VerifiedAccessSseSpecificationResponse& GetSseSpecification() const { return m_sseSpecification; }
249 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
250 template <typename SseSpecificationT = VerifiedAccessSseSpecificationResponse>
251 void SetSseSpecification(SseSpecificationT&& value) {
252 m_sseSpecificationHasBeenSet = true;
253 m_sseSpecification = std::forward<SseSpecificationT>(value);
254 }
255 template <typename SseSpecificationT = VerifiedAccessSseSpecificationResponse>
257 SetSseSpecification(std::forward<SseSpecificationT>(value));
258 return *this;
259 }
261
263
266 inline const NativeApplicationOidcOptions& GetNativeApplicationOidcOptions() const { return m_nativeApplicationOidcOptions; }
267 inline bool NativeApplicationOidcOptionsHasBeenSet() const { return m_nativeApplicationOidcOptionsHasBeenSet; }
268 template <typename NativeApplicationOidcOptionsT = NativeApplicationOidcOptions>
269 void SetNativeApplicationOidcOptions(NativeApplicationOidcOptionsT&& value) {
270 m_nativeApplicationOidcOptionsHasBeenSet = true;
271 m_nativeApplicationOidcOptions = std::forward<NativeApplicationOidcOptionsT>(value);
272 }
273 template <typename NativeApplicationOidcOptionsT = NativeApplicationOidcOptions>
274 VerifiedAccessTrustProvider& WithNativeApplicationOidcOptions(NativeApplicationOidcOptionsT&& value) {
275 SetNativeApplicationOidcOptions(std::forward<NativeApplicationOidcOptionsT>(value));
276 return *this;
277 }
279 private:
280 Aws::String m_verifiedAccessTrustProviderId;
281
282 Aws::String m_description;
283
285
287
289
290 OidcOptions m_oidcOptions;
291
292 DeviceOptions m_deviceOptions;
293
294 Aws::String m_policyReferenceName;
295
296 Aws::String m_creationTime;
297
298 Aws::String m_lastUpdatedTime;
299
300 Aws::Vector<Tag> m_tags;
301
302 VerifiedAccessSseSpecificationResponse m_sseSpecification;
303
304 NativeApplicationOidcOptions m_nativeApplicationOidcOptions;
305 bool m_verifiedAccessTrustProviderIdHasBeenSet = false;
306 bool m_descriptionHasBeenSet = false;
307 bool m_trustProviderTypeHasBeenSet = false;
308 bool m_userTrustProviderTypeHasBeenSet = false;
309 bool m_deviceTrustProviderTypeHasBeenSet = false;
310 bool m_oidcOptionsHasBeenSet = false;
311 bool m_deviceOptionsHasBeenSet = false;
312 bool m_policyReferenceNameHasBeenSet = false;
313 bool m_creationTimeHasBeenSet = false;
314 bool m_lastUpdatedTimeHasBeenSet = false;
315 bool m_tagsHasBeenSet = false;
316 bool m_sseSpecificationHasBeenSet = false;
317 bool m_nativeApplicationOidcOptionsHasBeenSet = false;
318};
319
320} // namespace Model
321} // namespace EC2
322} // namespace Aws
const NativeApplicationOidcOptions & GetNativeApplicationOidcOptions() const
VerifiedAccessTrustProvider & WithVerifiedAccessTrustProviderId(VerifiedAccessTrustProviderIdT &&value)
AWS_EC2_API VerifiedAccessTrustProvider & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessTrustProvider & WithSseSpecification(SseSpecificationT &&value)
const VerifiedAccessSseSpecificationResponse & GetSseSpecification() const
VerifiedAccessTrustProvider & AddTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNativeApplicationOidcOptions(NativeApplicationOidcOptionsT &&value)
AWS_EC2_API VerifiedAccessTrustProvider(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVerifiedAccessTrustProviderId(VerifiedAccessTrustProviderIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VerifiedAccessTrustProvider & WithPolicyReferenceName(PolicyReferenceNameT &&value)
VerifiedAccessTrustProvider & WithTrustProviderType(TrustProviderType value)
VerifiedAccessTrustProvider & WithTags(TagsT &&value)
void SetDeviceTrustProviderType(DeviceTrustProviderType value)
void SetUserTrustProviderType(UserTrustProviderType value)
VerifiedAccessTrustProvider & WithUserTrustProviderType(UserTrustProviderType value)
void SetPolicyReferenceName(PolicyReferenceNameT &&value)
VerifiedAccessTrustProvider & WithNativeApplicationOidcOptions(NativeApplicationOidcOptionsT &&value)
VerifiedAccessTrustProvider & WithDeviceOptions(DeviceOptionsT &&value)
VerifiedAccessTrustProvider & WithCreationTime(CreationTimeT &&value)
VerifiedAccessTrustProvider & WithDeviceTrustProviderType(DeviceTrustProviderType value)
VerifiedAccessTrustProvider & WithOidcOptions(OidcOptionsT &&value)
VerifiedAccessTrustProvider & WithDescription(DescriptionT &&value)
AWS_EC2_API VerifiedAccessTrustProvider()=default
VerifiedAccessTrustProvider & WithLastUpdatedTime(LastUpdatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream