AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifiedAccessTrustProvider.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/TrustProviderType.h>
11#include <aws/ec2/model/UserTrustProviderType.h>
12#include <aws/ec2/model/DeviceTrustProviderType.h>
13#include <aws/ec2/model/OidcOptions.h>
14#include <aws/ec2/model/DeviceOptions.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/ec2/model/VerifiedAccessSseSpecificationResponse.h>
17#include <aws/ec2/model/Tag.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Xml
25{
26 class XmlNode;
27} // namespace Xml
28} // namespace Utils
29namespace EC2
30{
31namespace Model
32{
33
40 {
41 public:
45
46 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
54 inline const Aws::String& GetVerifiedAccessTrustProviderId() const{ return m_verifiedAccessTrustProviderId; }
55 inline bool VerifiedAccessTrustProviderIdHasBeenSet() const { return m_verifiedAccessTrustProviderIdHasBeenSet; }
56 inline void SetVerifiedAccessTrustProviderId(const Aws::String& value) { m_verifiedAccessTrustProviderIdHasBeenSet = true; m_verifiedAccessTrustProviderId = value; }
57 inline void SetVerifiedAccessTrustProviderId(Aws::String&& value) { m_verifiedAccessTrustProviderIdHasBeenSet = true; m_verifiedAccessTrustProviderId = std::move(value); }
58 inline void SetVerifiedAccessTrustProviderId(const char* value) { m_verifiedAccessTrustProviderIdHasBeenSet = true; m_verifiedAccessTrustProviderId.assign(value); }
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
73 inline VerifiedAccessTrustProvider& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline VerifiedAccessTrustProvider& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline VerifiedAccessTrustProvider& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
82 inline const TrustProviderType& GetTrustProviderType() const{ return m_trustProviderType; }
83 inline bool TrustProviderTypeHasBeenSet() const { return m_trustProviderTypeHasBeenSet; }
84 inline void SetTrustProviderType(const TrustProviderType& value) { m_trustProviderTypeHasBeenSet = true; m_trustProviderType = value; }
85 inline void SetTrustProviderType(TrustProviderType&& value) { m_trustProviderTypeHasBeenSet = true; m_trustProviderType = std::move(value); }
89
91
94 inline const UserTrustProviderType& GetUserTrustProviderType() const{ return m_userTrustProviderType; }
95 inline bool UserTrustProviderTypeHasBeenSet() const { return m_userTrustProviderTypeHasBeenSet; }
96 inline void SetUserTrustProviderType(const UserTrustProviderType& value) { m_userTrustProviderTypeHasBeenSet = true; m_userTrustProviderType = value; }
97 inline void SetUserTrustProviderType(UserTrustProviderType&& value) { m_userTrustProviderTypeHasBeenSet = true; m_userTrustProviderType = std::move(value); }
101
103
106 inline const DeviceTrustProviderType& GetDeviceTrustProviderType() const{ return m_deviceTrustProviderType; }
107 inline bool DeviceTrustProviderTypeHasBeenSet() const { return m_deviceTrustProviderTypeHasBeenSet; }
108 inline void SetDeviceTrustProviderType(const DeviceTrustProviderType& value) { m_deviceTrustProviderTypeHasBeenSet = true; m_deviceTrustProviderType = value; }
109 inline void SetDeviceTrustProviderType(DeviceTrustProviderType&& value) { m_deviceTrustProviderTypeHasBeenSet = true; m_deviceTrustProviderType = std::move(value); }
113
115
119 inline const OidcOptions& GetOidcOptions() const{ return m_oidcOptions; }
120 inline bool OidcOptionsHasBeenSet() const { return m_oidcOptionsHasBeenSet; }
121 inline void SetOidcOptions(const OidcOptions& value) { m_oidcOptionsHasBeenSet = true; m_oidcOptions = value; }
122 inline void SetOidcOptions(OidcOptions&& value) { m_oidcOptionsHasBeenSet = true; m_oidcOptions = std::move(value); }
123 inline VerifiedAccessTrustProvider& WithOidcOptions(const OidcOptions& value) { SetOidcOptions(value); return *this;}
124 inline VerifiedAccessTrustProvider& WithOidcOptions(OidcOptions&& value) { SetOidcOptions(std::move(value)); return *this;}
126
128
131 inline const DeviceOptions& GetDeviceOptions() const{ return m_deviceOptions; }
132 inline bool DeviceOptionsHasBeenSet() const { return m_deviceOptionsHasBeenSet; }
133 inline void SetDeviceOptions(const DeviceOptions& value) { m_deviceOptionsHasBeenSet = true; m_deviceOptions = value; }
134 inline void SetDeviceOptions(DeviceOptions&& value) { m_deviceOptionsHasBeenSet = true; m_deviceOptions = std::move(value); }
136 inline VerifiedAccessTrustProvider& WithDeviceOptions(DeviceOptions&& value) { SetDeviceOptions(std::move(value)); return *this;}
138
140
143 inline const Aws::String& GetPolicyReferenceName() const{ return m_policyReferenceName; }
144 inline bool PolicyReferenceNameHasBeenSet() const { return m_policyReferenceNameHasBeenSet; }
145 inline void SetPolicyReferenceName(const Aws::String& value) { m_policyReferenceNameHasBeenSet = true; m_policyReferenceName = value; }
146 inline void SetPolicyReferenceName(Aws::String&& value) { m_policyReferenceNameHasBeenSet = true; m_policyReferenceName = std::move(value); }
147 inline void SetPolicyReferenceName(const char* value) { m_policyReferenceNameHasBeenSet = true; m_policyReferenceName.assign(value); }
150 inline VerifiedAccessTrustProvider& WithPolicyReferenceName(const char* value) { SetPolicyReferenceName(value); return *this;}
152
154
157 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
158 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
159 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
160 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
161 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
162 inline VerifiedAccessTrustProvider& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
163 inline VerifiedAccessTrustProvider& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
164 inline VerifiedAccessTrustProvider& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
166
168
171 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
172 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
173 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
174 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
175 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
177 inline VerifiedAccessTrustProvider& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
178 inline VerifiedAccessTrustProvider& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
180
182
185 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
186 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
187 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
188 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
189 inline VerifiedAccessTrustProvider& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
190 inline VerifiedAccessTrustProvider& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
191 inline VerifiedAccessTrustProvider& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
192 inline VerifiedAccessTrustProvider& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
194
196
199 inline const VerifiedAccessSseSpecificationResponse& GetSseSpecification() const{ return m_sseSpecification; }
200 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
201 inline void SetSseSpecification(const VerifiedAccessSseSpecificationResponse& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = value; }
202 inline void SetSseSpecification(VerifiedAccessSseSpecificationResponse&& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = std::move(value); }
206 private:
207
208 Aws::String m_verifiedAccessTrustProviderId;
209 bool m_verifiedAccessTrustProviderIdHasBeenSet = false;
210
211 Aws::String m_description;
212 bool m_descriptionHasBeenSet = false;
213
214 TrustProviderType m_trustProviderType;
215 bool m_trustProviderTypeHasBeenSet = false;
216
217 UserTrustProviderType m_userTrustProviderType;
218 bool m_userTrustProviderTypeHasBeenSet = false;
219
220 DeviceTrustProviderType m_deviceTrustProviderType;
221 bool m_deviceTrustProviderTypeHasBeenSet = false;
222
223 OidcOptions m_oidcOptions;
224 bool m_oidcOptionsHasBeenSet = false;
225
226 DeviceOptions m_deviceOptions;
227 bool m_deviceOptionsHasBeenSet = false;
228
229 Aws::String m_policyReferenceName;
230 bool m_policyReferenceNameHasBeenSet = false;
231
232 Aws::String m_creationTime;
233 bool m_creationTimeHasBeenSet = false;
234
235 Aws::String m_lastUpdatedTime;
236 bool m_lastUpdatedTimeHasBeenSet = false;
237
238 Aws::Vector<Tag> m_tags;
239 bool m_tagsHasBeenSet = false;
240
242 bool m_sseSpecificationHasBeenSet = false;
243 };
244
245} // namespace Model
246} // namespace EC2
247} // namespace Aws
VerifiedAccessTrustProvider & AddTags(Tag &&value)
VerifiedAccessTrustProvider & WithSseSpecification(const VerifiedAccessSseSpecificationResponse &value)
VerifiedAccessTrustProvider & WithLastUpdatedTime(const char *value)
VerifiedAccessTrustProvider & WithDeviceTrustProviderType(DeviceTrustProviderType &&value)
void SetTrustProviderType(const TrustProviderType &value)
const DeviceTrustProviderType & GetDeviceTrustProviderType() const
VerifiedAccessTrustProvider & WithDescription(const char *value)
VerifiedAccessTrustProvider & WithOidcOptions(OidcOptions &&value)
AWS_EC2_API VerifiedAccessTrustProvider & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessTrustProvider & WithDeviceTrustProviderType(const DeviceTrustProviderType &value)
VerifiedAccessTrustProvider & WithDescription(Aws::String &&value)
const VerifiedAccessSseSpecificationResponse & GetSseSpecification() const
VerifiedAccessTrustProvider & WithPolicyReferenceName(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VerifiedAccessTrustProvider & WithTags(Aws::Vector< Tag > &&value)
void SetDeviceTrustProviderType(DeviceTrustProviderType &&value)
AWS_EC2_API VerifiedAccessTrustProvider(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessTrustProvider & WithVerifiedAccessTrustProviderId(Aws::String &&value)
void SetUserTrustProviderType(const UserTrustProviderType &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VerifiedAccessTrustProvider & WithTrustProviderType(TrustProviderType &&value)
VerifiedAccessTrustProvider & WithUserTrustProviderType(UserTrustProviderType &&value)
const UserTrustProviderType & GetUserTrustProviderType() const
VerifiedAccessTrustProvider & WithCreationTime(Aws::String &&value)
void SetSseSpecification(const VerifiedAccessSseSpecificationResponse &value)
VerifiedAccessTrustProvider & WithCreationTime(const Aws::String &value)
VerifiedAccessTrustProvider & WithVerifiedAccessTrustProviderId(const char *value)
VerifiedAccessTrustProvider & WithCreationTime(const char *value)
VerifiedAccessTrustProvider & WithPolicyReferenceName(const char *value)
VerifiedAccessTrustProvider & WithDescription(const Aws::String &value)
VerifiedAccessTrustProvider & WithDeviceOptions(DeviceOptions &&value)
VerifiedAccessTrustProvider & WithDeviceOptions(const DeviceOptions &value)
void SetSseSpecification(VerifiedAccessSseSpecificationResponse &&value)
VerifiedAccessTrustProvider & WithUserTrustProviderType(const UserTrustProviderType &value)
VerifiedAccessTrustProvider & WithTrustProviderType(const TrustProviderType &value)
void SetDeviceTrustProviderType(const DeviceTrustProviderType &value)
VerifiedAccessTrustProvider & WithVerifiedAccessTrustProviderId(const Aws::String &value)
VerifiedAccessTrustProvider & WithPolicyReferenceName(Aws::String &&value)
VerifiedAccessTrustProvider & WithTags(const Aws::Vector< Tag > &value)
VerifiedAccessTrustProvider & WithLastUpdatedTime(Aws::String &&value)
VerifiedAccessTrustProvider & WithOidcOptions(const OidcOptions &value)
VerifiedAccessTrustProvider & WithSseSpecification(VerifiedAccessSseSpecificationResponse &&value)
void SetUserTrustProviderType(UserTrustProviderType &&value)
void SetVerifiedAccessTrustProviderId(const Aws::String &value)
VerifiedAccessTrustProvider & AddTags(const Tag &value)
VerifiedAccessTrustProvider & WithLastUpdatedTime(const Aws::String &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