AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVerifiedAccessTrustProviderRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ModifyVerifiedAccessTrustProviderOidcOptions.h>
11#include <aws/ec2/model/ModifyVerifiedAccessTrustProviderDeviceOptions.h>
12#include <aws/ec2/model/VerifiedAccessSseSpecificationRequest.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace EC2
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ModifyVerifiedAccessTrustProvider"; }
35
36 AWS_EC2_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetVerifiedAccessTrustProviderId() const{ return m_verifiedAccessTrustProviderId; }
48 inline bool VerifiedAccessTrustProviderIdHasBeenSet() const { return m_verifiedAccessTrustProviderIdHasBeenSet; }
49 inline void SetVerifiedAccessTrustProviderId(const Aws::String& value) { m_verifiedAccessTrustProviderIdHasBeenSet = true; m_verifiedAccessTrustProviderId = value; }
50 inline void SetVerifiedAccessTrustProviderId(Aws::String&& value) { m_verifiedAccessTrustProviderIdHasBeenSet = true; m_verifiedAccessTrustProviderId = std::move(value); }
51 inline void SetVerifiedAccessTrustProviderId(const char* value) { m_verifiedAccessTrustProviderIdHasBeenSet = true; m_verifiedAccessTrustProviderId.assign(value); }
56
58
62 inline const ModifyVerifiedAccessTrustProviderOidcOptions& GetOidcOptions() const{ return m_oidcOptions; }
63 inline bool OidcOptionsHasBeenSet() const { return m_oidcOptionsHasBeenSet; }
64 inline void SetOidcOptions(const ModifyVerifiedAccessTrustProviderOidcOptions& value) { m_oidcOptionsHasBeenSet = true; m_oidcOptions = value; }
65 inline void SetOidcOptions(ModifyVerifiedAccessTrustProviderOidcOptions&& value) { m_oidcOptionsHasBeenSet = true; m_oidcOptions = std::move(value); }
69
71
75 inline const ModifyVerifiedAccessTrustProviderDeviceOptions& GetDeviceOptions() const{ return m_deviceOptions; }
76 inline bool DeviceOptionsHasBeenSet() const { return m_deviceOptionsHasBeenSet; }
77 inline void SetDeviceOptions(const ModifyVerifiedAccessTrustProviderDeviceOptions& value) { m_deviceOptionsHasBeenSet = true; m_deviceOptions = value; }
78 inline void SetDeviceOptions(ModifyVerifiedAccessTrustProviderDeviceOptions&& value) { m_deviceOptionsHasBeenSet = true; m_deviceOptions = std::move(value); }
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline ModifyVerifiedAccessTrustProviderRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline ModifyVerifiedAccessTrustProviderRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
104 inline bool GetDryRun() const{ return m_dryRun; }
105 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
106 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
107 inline ModifyVerifiedAccessTrustProviderRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
109
111
117 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
118 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
119 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
120 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
121 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
123 inline ModifyVerifiedAccessTrustProviderRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
124 inline ModifyVerifiedAccessTrustProviderRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
126
128
131 inline const VerifiedAccessSseSpecificationRequest& GetSseSpecification() const{ return m_sseSpecification; }
132 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
133 inline void SetSseSpecification(const VerifiedAccessSseSpecificationRequest& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = value; }
134 inline void SetSseSpecification(VerifiedAccessSseSpecificationRequest&& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = std::move(value); }
138 private:
139
140 Aws::String m_verifiedAccessTrustProviderId;
141 bool m_verifiedAccessTrustProviderIdHasBeenSet = false;
142
144 bool m_oidcOptionsHasBeenSet = false;
145
147 bool m_deviceOptionsHasBeenSet = false;
148
149 Aws::String m_description;
150 bool m_descriptionHasBeenSet = false;
151
152 bool m_dryRun;
153 bool m_dryRunHasBeenSet = false;
154
155 Aws::String m_clientToken;
156 bool m_clientTokenHasBeenSet = false;
157
158 VerifiedAccessSseSpecificationRequest m_sseSpecification;
159 bool m_sseSpecificationHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace EC2
164} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVerifiedAccessTrustProviderRequest & WithDescription(const char *value)
ModifyVerifiedAccessTrustProviderRequest & WithClientToken(const char *value)
ModifyVerifiedAccessTrustProviderRequest & WithSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
const VerifiedAccessSseSpecificationRequest & GetSseSpecification() const
void SetOidcOptions(ModifyVerifiedAccessTrustProviderOidcOptions &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVerifiedAccessTrustProviderRequest & WithDescription(const Aws::String &value)
ModifyVerifiedAccessTrustProviderRequest & WithDescription(Aws::String &&value)
ModifyVerifiedAccessTrustProviderRequest & WithClientToken(Aws::String &&value)
ModifyVerifiedAccessTrustProviderRequest & WithOidcOptions(const ModifyVerifiedAccessTrustProviderOidcOptions &value)
ModifyVerifiedAccessTrustProviderRequest & WithVerifiedAccessTrustProviderId(const Aws::String &value)
void SetDeviceOptions(const ModifyVerifiedAccessTrustProviderDeviceOptions &value)
ModifyVerifiedAccessTrustProviderRequest & WithDeviceOptions(const ModifyVerifiedAccessTrustProviderDeviceOptions &value)
const ModifyVerifiedAccessTrustProviderOidcOptions & GetOidcOptions() const
const ModifyVerifiedAccessTrustProviderDeviceOptions & GetDeviceOptions() const
ModifyVerifiedAccessTrustProviderRequest & WithDeviceOptions(ModifyVerifiedAccessTrustProviderDeviceOptions &&value)
void SetSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
ModifyVerifiedAccessTrustProviderRequest & WithSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
ModifyVerifiedAccessTrustProviderRequest & WithOidcOptions(ModifyVerifiedAccessTrustProviderOidcOptions &&value)
ModifyVerifiedAccessTrustProviderRequest & WithClientToken(const Aws::String &value)
void SetOidcOptions(const ModifyVerifiedAccessTrustProviderOidcOptions &value)
ModifyVerifiedAccessTrustProviderRequest & WithVerifiedAccessTrustProviderId(const char *value)
ModifyVerifiedAccessTrustProviderRequest & WithVerifiedAccessTrustProviderId(Aws::String &&value)
void SetDeviceOptions(ModifyVerifiedAccessTrustProviderDeviceOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String