AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVerifiedAccessTrustProviderRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/TrustProviderType.h>
10#include <aws/ec2/model/UserTrustProviderType.h>
11#include <aws/ec2/model/DeviceTrustProviderType.h>
12#include <aws/ec2/model/CreateVerifiedAccessTrustProviderOidcOptions.h>
13#include <aws/ec2/model/CreateVerifiedAccessTrustProviderDeviceOptions.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/ec2/model/VerifiedAccessSseSpecificationRequest.h>
17#include <aws/ec2/model/TagSpecification.h>
18#include <utility>
19#include <aws/core/utils/UUID.h>
20
21namespace Aws
22{
23namespace EC2
24{
25namespace Model
26{
27
31 {
32 public:
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateVerifiedAccessTrustProvider"; }
40
41 AWS_EC2_API Aws::String SerializePayload() const override;
42
43 protected:
44 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
45
46 public:
47
49
52 inline const TrustProviderType& GetTrustProviderType() const{ return m_trustProviderType; }
53 inline bool TrustProviderTypeHasBeenSet() const { return m_trustProviderTypeHasBeenSet; }
54 inline void SetTrustProviderType(const TrustProviderType& value) { m_trustProviderTypeHasBeenSet = true; m_trustProviderType = value; }
55 inline void SetTrustProviderType(TrustProviderType&& value) { m_trustProviderTypeHasBeenSet = true; m_trustProviderType = std::move(value); }
59
61
65 inline const UserTrustProviderType& GetUserTrustProviderType() const{ return m_userTrustProviderType; }
66 inline bool UserTrustProviderTypeHasBeenSet() const { return m_userTrustProviderTypeHasBeenSet; }
67 inline void SetUserTrustProviderType(const UserTrustProviderType& value) { m_userTrustProviderTypeHasBeenSet = true; m_userTrustProviderType = value; }
68 inline void SetUserTrustProviderType(UserTrustProviderType&& value) { m_userTrustProviderTypeHasBeenSet = true; m_userTrustProviderType = std::move(value); }
72
74
78 inline const DeviceTrustProviderType& GetDeviceTrustProviderType() const{ return m_deviceTrustProviderType; }
79 inline bool DeviceTrustProviderTypeHasBeenSet() const { return m_deviceTrustProviderTypeHasBeenSet; }
80 inline void SetDeviceTrustProviderType(const DeviceTrustProviderType& value) { m_deviceTrustProviderTypeHasBeenSet = true; m_deviceTrustProviderType = value; }
81 inline void SetDeviceTrustProviderType(DeviceTrustProviderType&& value) { m_deviceTrustProviderTypeHasBeenSet = true; m_deviceTrustProviderType = std::move(value); }
85
87
91 inline const CreateVerifiedAccessTrustProviderOidcOptions& GetOidcOptions() const{ return m_oidcOptions; }
92 inline bool OidcOptionsHasBeenSet() const { return m_oidcOptionsHasBeenSet; }
93 inline void SetOidcOptions(const CreateVerifiedAccessTrustProviderOidcOptions& value) { m_oidcOptionsHasBeenSet = true; m_oidcOptions = value; }
94 inline void SetOidcOptions(CreateVerifiedAccessTrustProviderOidcOptions&& value) { m_oidcOptionsHasBeenSet = true; m_oidcOptions = std::move(value); }
98
100
104 inline const CreateVerifiedAccessTrustProviderDeviceOptions& GetDeviceOptions() const{ return m_deviceOptions; }
105 inline bool DeviceOptionsHasBeenSet() const { return m_deviceOptionsHasBeenSet; }
106 inline void SetDeviceOptions(const CreateVerifiedAccessTrustProviderDeviceOptions& value) { m_deviceOptionsHasBeenSet = true; m_deviceOptions = value; }
107 inline void SetDeviceOptions(CreateVerifiedAccessTrustProviderDeviceOptions&& value) { m_deviceOptionsHasBeenSet = true; m_deviceOptions = std::move(value); }
111
113
116 inline const Aws::String& GetPolicyReferenceName() const{ return m_policyReferenceName; }
117 inline bool PolicyReferenceNameHasBeenSet() const { return m_policyReferenceNameHasBeenSet; }
118 inline void SetPolicyReferenceName(const Aws::String& value) { m_policyReferenceNameHasBeenSet = true; m_policyReferenceName = value; }
119 inline void SetPolicyReferenceName(Aws::String&& value) { m_policyReferenceNameHasBeenSet = true; m_policyReferenceName = std::move(value); }
120 inline void SetPolicyReferenceName(const char* value) { m_policyReferenceNameHasBeenSet = true; m_policyReferenceName.assign(value); }
125
127
130 inline const Aws::String& GetDescription() const{ return m_description; }
131 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
132 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
134 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
136 inline CreateVerifiedAccessTrustProviderRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
137 inline CreateVerifiedAccessTrustProviderRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
139
141
144 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
145 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
146 inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
147 inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
150 inline CreateVerifiedAccessTrustProviderRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
151 inline CreateVerifiedAccessTrustProviderRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
153
155
161 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
162 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
163 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
164 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
165 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
167 inline CreateVerifiedAccessTrustProviderRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
168 inline CreateVerifiedAccessTrustProviderRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
170
172
178 inline bool GetDryRun() const{ return m_dryRun; }
179 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
180 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
181 inline CreateVerifiedAccessTrustProviderRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
183
185
188 inline const VerifiedAccessSseSpecificationRequest& GetSseSpecification() const{ return m_sseSpecification; }
189 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
190 inline void SetSseSpecification(const VerifiedAccessSseSpecificationRequest& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = value; }
191 inline void SetSseSpecification(VerifiedAccessSseSpecificationRequest&& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = std::move(value); }
195 private:
196
197 TrustProviderType m_trustProviderType;
198 bool m_trustProviderTypeHasBeenSet = false;
199
200 UserTrustProviderType m_userTrustProviderType;
201 bool m_userTrustProviderTypeHasBeenSet = false;
202
203 DeviceTrustProviderType m_deviceTrustProviderType;
204 bool m_deviceTrustProviderTypeHasBeenSet = false;
205
207 bool m_oidcOptionsHasBeenSet = false;
208
210 bool m_deviceOptionsHasBeenSet = false;
211
212 Aws::String m_policyReferenceName;
213 bool m_policyReferenceNameHasBeenSet = false;
214
215 Aws::String m_description;
216 bool m_descriptionHasBeenSet = false;
217
218 Aws::Vector<TagSpecification> m_tagSpecifications;
219 bool m_tagSpecificationsHasBeenSet = false;
220
221 Aws::String m_clientToken;
222 bool m_clientTokenHasBeenSet = false;
223
224 bool m_dryRun;
225 bool m_dryRunHasBeenSet = false;
226
227 VerifiedAccessSseSpecificationRequest m_sseSpecification;
228 bool m_sseSpecificationHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace EC2
233} // namespace Aws
CreateVerifiedAccessTrustProviderRequest & WithClientToken(Aws::String &&value)
CreateVerifiedAccessTrustProviderRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateVerifiedAccessTrustProviderRequest & WithClientToken(const Aws::String &value)
CreateVerifiedAccessTrustProviderRequest & WithDescription(const Aws::String &value)
void SetDeviceOptions(const CreateVerifiedAccessTrustProviderDeviceOptions &value)
CreateVerifiedAccessTrustProviderRequest & WithPolicyReferenceName(Aws::String &&value)
CreateVerifiedAccessTrustProviderRequest & WithClientToken(const char *value)
CreateVerifiedAccessTrustProviderRequest & WithUserTrustProviderType(const UserTrustProviderType &value)
void SetSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
CreateVerifiedAccessTrustProviderRequest & WithDescription(const char *value)
CreateVerifiedAccessTrustProviderRequest & WithSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
CreateVerifiedAccessTrustProviderRequest & WithDeviceTrustProviderType(const DeviceTrustProviderType &value)
const CreateVerifiedAccessTrustProviderDeviceOptions & GetDeviceOptions() const
CreateVerifiedAccessTrustProviderRequest & WithTrustProviderType(const TrustProviderType &value)
CreateVerifiedAccessTrustProviderRequest & WithPolicyReferenceName(const Aws::String &value)
CreateVerifiedAccessTrustProviderRequest & WithTrustProviderType(TrustProviderType &&value)
CreateVerifiedAccessTrustProviderRequest & WithSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
CreateVerifiedAccessTrustProviderRequest & WithOidcOptions(const CreateVerifiedAccessTrustProviderOidcOptions &value)
CreateVerifiedAccessTrustProviderRequest & WithPolicyReferenceName(const char *value)
CreateVerifiedAccessTrustProviderRequest & WithDeviceTrustProviderType(DeviceTrustProviderType &&value)
CreateVerifiedAccessTrustProviderRequest & WithDeviceOptions(const CreateVerifiedAccessTrustProviderDeviceOptions &value)
const VerifiedAccessSseSpecificationRequest & GetSseSpecification() const
void SetDeviceOptions(CreateVerifiedAccessTrustProviderDeviceOptions &&value)
CreateVerifiedAccessTrustProviderRequest & AddTagSpecifications(TagSpecification &&value)
const CreateVerifiedAccessTrustProviderOidcOptions & GetOidcOptions() const
CreateVerifiedAccessTrustProviderRequest & WithOidcOptions(CreateVerifiedAccessTrustProviderOidcOptions &&value)
CreateVerifiedAccessTrustProviderRequest & WithDeviceOptions(CreateVerifiedAccessTrustProviderDeviceOptions &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateVerifiedAccessTrustProviderRequest & WithDescription(Aws::String &&value)
CreateVerifiedAccessTrustProviderRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateVerifiedAccessTrustProviderRequest & AddTagSpecifications(const TagSpecification &value)
void SetOidcOptions(const CreateVerifiedAccessTrustProviderOidcOptions &value)
void SetOidcOptions(CreateVerifiedAccessTrustProviderOidcOptions &&value)
CreateVerifiedAccessTrustProviderRequest & WithUserTrustProviderType(UserTrustProviderType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector