AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVerifiedAccessEndpointPolicyRequest.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/VerifiedAccessSseSpecificationRequest.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace EC2
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ModifyVerifiedAccessEndpointPolicy"; }
33
34 AWS_EC2_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetVerifiedAccessEndpointId() const{ return m_verifiedAccessEndpointId; }
46 inline bool VerifiedAccessEndpointIdHasBeenSet() const { return m_verifiedAccessEndpointIdHasBeenSet; }
47 inline void SetVerifiedAccessEndpointId(const Aws::String& value) { m_verifiedAccessEndpointIdHasBeenSet = true; m_verifiedAccessEndpointId = value; }
48 inline void SetVerifiedAccessEndpointId(Aws::String&& value) { m_verifiedAccessEndpointIdHasBeenSet = true; m_verifiedAccessEndpointId = std::move(value); }
49 inline void SetVerifiedAccessEndpointId(const char* value) { m_verifiedAccessEndpointIdHasBeenSet = true; m_verifiedAccessEndpointId.assign(value); }
54
56
59 inline bool GetPolicyEnabled() const{ return m_policyEnabled; }
60 inline bool PolicyEnabledHasBeenSet() const { return m_policyEnabledHasBeenSet; }
61 inline void SetPolicyEnabled(bool value) { m_policyEnabledHasBeenSet = true; m_policyEnabled = value; }
64
66
69 inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; }
70 inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; }
71 inline void SetPolicyDocument(const Aws::String& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = value; }
72 inline void SetPolicyDocument(Aws::String&& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = std::move(value); }
73 inline void SetPolicyDocument(const char* value) { m_policyDocumentHasBeenSet = true; m_policyDocument.assign(value); }
76 inline ModifyVerifiedAccessEndpointPolicyRequest& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;}
78
80
86 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
87 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
88 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
89 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
90 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
92 inline ModifyVerifiedAccessEndpointPolicyRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
93 inline ModifyVerifiedAccessEndpointPolicyRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
95
97
103 inline bool GetDryRun() const{ return m_dryRun; }
104 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
105 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
106 inline ModifyVerifiedAccessEndpointPolicyRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
108
110
113 inline const VerifiedAccessSseSpecificationRequest& GetSseSpecification() const{ return m_sseSpecification; }
114 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
115 inline void SetSseSpecification(const VerifiedAccessSseSpecificationRequest& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = value; }
116 inline void SetSseSpecification(VerifiedAccessSseSpecificationRequest&& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = std::move(value); }
120 private:
121
122 Aws::String m_verifiedAccessEndpointId;
123 bool m_verifiedAccessEndpointIdHasBeenSet = false;
124
125 bool m_policyEnabled;
126 bool m_policyEnabledHasBeenSet = false;
127
128 Aws::String m_policyDocument;
129 bool m_policyDocumentHasBeenSet = false;
130
131 Aws::String m_clientToken;
132 bool m_clientTokenHasBeenSet = false;
133
134 bool m_dryRun;
135 bool m_dryRunHasBeenSet = false;
136
137 VerifiedAccessSseSpecificationRequest m_sseSpecification;
138 bool m_sseSpecificationHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace EC2
143} // namespace Aws
ModifyVerifiedAccessEndpointPolicyRequest & WithPolicyDocument(Aws::String &&value)
ModifyVerifiedAccessEndpointPolicyRequest & WithVerifiedAccessEndpointId(const Aws::String &value)
ModifyVerifiedAccessEndpointPolicyRequest & WithSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
void SetSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
ModifyVerifiedAccessEndpointPolicyRequest & WithVerifiedAccessEndpointId(const char *value)
ModifyVerifiedAccessEndpointPolicyRequest & WithClientToken(const Aws::String &value)
ModifyVerifiedAccessEndpointPolicyRequest & WithVerifiedAccessEndpointId(Aws::String &&value)
ModifyVerifiedAccessEndpointPolicyRequest & WithClientToken(const char *value)
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)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVerifiedAccessEndpointPolicyRequest & WithPolicyDocument(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String