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>
19#include <aws/core/utils/UUID.h>
39 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateVerifiedAccessTrustProvider"; }
120 inline void SetPolicyReferenceName(
const char* value) { m_policyReferenceNameHasBeenSet =
true; m_policyReferenceName.assign(value); }
134 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
165 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
180 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
198 bool m_trustProviderTypeHasBeenSet =
false;
201 bool m_userTrustProviderTypeHasBeenSet =
false;
204 bool m_deviceTrustProviderTypeHasBeenSet =
false;
207 bool m_oidcOptionsHasBeenSet =
false;
210 bool m_deviceOptionsHasBeenSet =
false;
213 bool m_policyReferenceNameHasBeenSet =
false;
216 bool m_descriptionHasBeenSet =
false;
219 bool m_tagSpecificationsHasBeenSet =
false;
222 bool m_clientTokenHasBeenSet =
false;
225 bool m_dryRunHasBeenSet =
false;
228 bool m_sseSpecificationHasBeenSet =
false;
void SetTrustProviderType(const TrustProviderType &value)
CreateVerifiedAccessTrustProviderRequest & WithClientToken(Aws::String &&value)
void SetUserTrustProviderType(const UserTrustProviderType &value)
CreateVerifiedAccessTrustProviderRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateVerifiedAccessTrustProviderRequest & WithClientToken(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetClientToken(const Aws::String &value)
const TrustProviderType & GetTrustProviderType() const
CreateVerifiedAccessTrustProviderRequest & WithDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetDeviceTrustProviderType(DeviceTrustProviderType &&value)
void SetDeviceOptions(const CreateVerifiedAccessTrustProviderDeviceOptions &value)
CreateVerifiedAccessTrustProviderRequest & WithPolicyReferenceName(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
void SetClientToken(const char *value)
CreateVerifiedAccessTrustProviderRequest & WithClientToken(const char *value)
AWS_EC2_API CreateVerifiedAccessTrustProviderRequest()
bool DescriptionHasBeenSet() const
void SetDeviceTrustProviderType(const DeviceTrustProviderType &value)
CreateVerifiedAccessTrustProviderRequest & WithUserTrustProviderType(const UserTrustProviderType &value)
bool ClientTokenHasBeenSet() const
bool OidcOptionsHasBeenSet() const
bool DeviceOptionsHasBeenSet() const
void SetSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
CreateVerifiedAccessTrustProviderRequest & WithDescription(const char *value)
CreateVerifiedAccessTrustProviderRequest & WithSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateVerifiedAccessTrustProviderRequest & WithDeviceTrustProviderType(const DeviceTrustProviderType &value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
const CreateVerifiedAccessTrustProviderDeviceOptions & GetDeviceOptions() const
CreateVerifiedAccessTrustProviderRequest & WithDryRun(bool value)
CreateVerifiedAccessTrustProviderRequest & WithTrustProviderType(const TrustProviderType &value)
CreateVerifiedAccessTrustProviderRequest & WithPolicyReferenceName(const Aws::String &value)
void SetDryRun(bool value)
bool PolicyReferenceNameHasBeenSet() const
CreateVerifiedAccessTrustProviderRequest & WithTrustProviderType(TrustProviderType &&value)
CreateVerifiedAccessTrustProviderRequest & WithSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
CreateVerifiedAccessTrustProviderRequest & WithOidcOptions(const CreateVerifiedAccessTrustProviderOidcOptions &value)
bool UserTrustProviderTypeHasBeenSet() const
CreateVerifiedAccessTrustProviderRequest & WithPolicyReferenceName(const char *value)
const DeviceTrustProviderType & GetDeviceTrustProviderType() const
bool TagSpecificationsHasBeenSet() const
CreateVerifiedAccessTrustProviderRequest & WithDeviceTrustProviderType(DeviceTrustProviderType &&value)
CreateVerifiedAccessTrustProviderRequest & WithDeviceOptions(const CreateVerifiedAccessTrustProviderDeviceOptions &value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
const VerifiedAccessSseSpecificationRequest & GetSseSpecification() const
const Aws::String & GetClientToken() const
void SetDeviceOptions(CreateVerifiedAccessTrustProviderDeviceOptions &&value)
void SetDescription(const char *value)
void SetUserTrustProviderType(UserTrustProviderType &&value)
CreateVerifiedAccessTrustProviderRequest & AddTagSpecifications(TagSpecification &&value)
const CreateVerifiedAccessTrustProviderOidcOptions & GetOidcOptions() const
void SetPolicyReferenceName(Aws::String &&value)
bool DryRunHasBeenSet() const
CreateVerifiedAccessTrustProviderRequest & WithOidcOptions(CreateVerifiedAccessTrustProviderOidcOptions &&value)
void SetPolicyReferenceName(const Aws::String &value)
bool DeviceTrustProviderTypeHasBeenSet() const
const Aws::String & GetPolicyReferenceName() const
CreateVerifiedAccessTrustProviderRequest & WithDeviceOptions(CreateVerifiedAccessTrustProviderDeviceOptions &&value)
bool TrustProviderTypeHasBeenSet() const
bool SseSpecificationHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
const UserTrustProviderType & GetUserTrustProviderType() const
void SetPolicyReferenceName(const char *value)
CreateVerifiedAccessTrustProviderRequest & WithDescription(Aws::String &&value)
CreateVerifiedAccessTrustProviderRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTrustProviderType(TrustProviderType &&value)
const Aws::String & GetDescription() const
CreateVerifiedAccessTrustProviderRequest & AddTagSpecifications(const TagSpecification &value)
void SetOidcOptions(const CreateVerifiedAccessTrustProviderOidcOptions &value)
void SetOidcOptions(CreateVerifiedAccessTrustProviderOidcOptions &&value)
void SetClientToken(Aws::String &&value)
CreateVerifiedAccessTrustProviderRequest & WithUserTrustProviderType(UserTrustProviderType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector