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/VerifiedAccessSseSpecificationRequest.h>
12#include <aws/core/utils/UUID.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "ModifyVerifiedAccessEndpointPolicy"; }
49 inline void SetVerifiedAccessEndpointId(
const char* value) { m_verifiedAccessEndpointIdHasBeenSet =
true; m_verifiedAccessEndpointId.assign(value); }
61 inline void SetPolicyEnabled(
bool value) { m_policyEnabledHasBeenSet =
true; m_policyEnabled = value; }
73 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
90 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
105 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
123 bool m_verifiedAccessEndpointIdHasBeenSet =
false;
125 bool m_policyEnabled;
126 bool m_policyEnabledHasBeenSet =
false;
129 bool m_policyDocumentHasBeenSet =
false;
132 bool m_clientTokenHasBeenSet =
false;
135 bool m_dryRunHasBeenSet =
false;
138 bool m_sseSpecificationHasBeenSet =
false;
void SetClientToken(const Aws::String &value)
void SetVerifiedAccessEndpointId(Aws::String &&value)
void SetSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
ModifyVerifiedAccessEndpointPolicyRequest & WithPolicyDocument(Aws::String &&value)
bool GetPolicyEnabled() const
ModifyVerifiedAccessEndpointPolicyRequest & WithVerifiedAccessEndpointId(const Aws::String &value)
bool SseSpecificationHasBeenSet() const
bool ClientTokenHasBeenSet() const
bool DryRunHasBeenSet() const
void SetClientToken(const char *value)
ModifyVerifiedAccessEndpointPolicyRequest & WithSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
AWS_EC2_API ModifyVerifiedAccessEndpointPolicyRequest()
void SetPolicyDocument(Aws::String &&value)
const Aws::String & GetClientToken() const
void SetVerifiedAccessEndpointId(const char *value)
void SetSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
ModifyVerifiedAccessEndpointPolicyRequest & WithVerifiedAccessEndpointId(const char *value)
void SetPolicyEnabled(bool value)
virtual const char * GetServiceRequestName() const override
ModifyVerifiedAccessEndpointPolicyRequest & WithClientToken(const Aws::String &value)
ModifyVerifiedAccessEndpointPolicyRequest & WithVerifiedAccessEndpointId(Aws::String &&value)
ModifyVerifiedAccessEndpointPolicyRequest & WithClientToken(const char *value)
bool VerifiedAccessEndpointIdHasBeenSet() const
const Aws::String & GetVerifiedAccessEndpointId() const
ModifyVerifiedAccessEndpointPolicyRequest & WithClientToken(Aws::String &&value)
ModifyVerifiedAccessEndpointPolicyRequest & WithSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
const VerifiedAccessSseSpecificationRequest & GetSseSpecification() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVerifiedAccessEndpointPolicyRequest & WithPolicyDocument(const Aws::String &value)
ModifyVerifiedAccessEndpointPolicyRequest & WithPolicyEnabled(bool value)
void SetPolicyDocument(const Aws::String &value)
bool PolicyEnabledHasBeenSet() const
void SetPolicyDocument(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetClientToken(Aws::String &&value)
ModifyVerifiedAccessEndpointPolicyRequest & WithDryRun(bool value)
ModifyVerifiedAccessEndpointPolicyRequest & WithPolicyDocument(const char *value)
bool PolicyDocumentHasBeenSet() const
const Aws::String & GetPolicyDocument() const
void SetDryRun(bool value)
void SetVerifiedAccessEndpointId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String