AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVerifiedAccessEndpointRequest.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/ModifyVerifiedAccessEndpointLoadBalancerOptions.h>
11#include <aws/ec2/model/ModifyVerifiedAccessEndpointEniOptions.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace EC2
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ModifyVerifiedAccessEndpoint"; }
34
35 AWS_EC2_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
46 inline const Aws::String& GetVerifiedAccessEndpointId() const{ return m_verifiedAccessEndpointId; }
47 inline bool VerifiedAccessEndpointIdHasBeenSet() const { return m_verifiedAccessEndpointIdHasBeenSet; }
48 inline void SetVerifiedAccessEndpointId(const Aws::String& value) { m_verifiedAccessEndpointIdHasBeenSet = true; m_verifiedAccessEndpointId = value; }
49 inline void SetVerifiedAccessEndpointId(Aws::String&& value) { m_verifiedAccessEndpointIdHasBeenSet = true; m_verifiedAccessEndpointId = std::move(value); }
50 inline void SetVerifiedAccessEndpointId(const char* value) { m_verifiedAccessEndpointIdHasBeenSet = true; m_verifiedAccessEndpointId.assign(value); }
55
57
60 inline const Aws::String& GetVerifiedAccessGroupId() const{ return m_verifiedAccessGroupId; }
61 inline bool VerifiedAccessGroupIdHasBeenSet() const { return m_verifiedAccessGroupIdHasBeenSet; }
62 inline void SetVerifiedAccessGroupId(const Aws::String& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = value; }
63 inline void SetVerifiedAccessGroupId(Aws::String&& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = std::move(value); }
64 inline void SetVerifiedAccessGroupId(const char* value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId.assign(value); }
69
71
75 inline const ModifyVerifiedAccessEndpointLoadBalancerOptions& GetLoadBalancerOptions() const{ return m_loadBalancerOptions; }
76 inline bool LoadBalancerOptionsHasBeenSet() const { return m_loadBalancerOptionsHasBeenSet; }
77 inline void SetLoadBalancerOptions(const ModifyVerifiedAccessEndpointLoadBalancerOptions& value) { m_loadBalancerOptionsHasBeenSet = true; m_loadBalancerOptions = value; }
78 inline void SetLoadBalancerOptions(ModifyVerifiedAccessEndpointLoadBalancerOptions&& value) { m_loadBalancerOptionsHasBeenSet = true; m_loadBalancerOptions = std::move(value); }
82
84
87 inline const ModifyVerifiedAccessEndpointEniOptions& GetNetworkInterfaceOptions() const{ return m_networkInterfaceOptions; }
88 inline bool NetworkInterfaceOptionsHasBeenSet() const { return m_networkInterfaceOptionsHasBeenSet; }
89 inline void SetNetworkInterfaceOptions(const ModifyVerifiedAccessEndpointEniOptions& value) { m_networkInterfaceOptionsHasBeenSet = true; m_networkInterfaceOptions = value; }
90 inline void SetNetworkInterfaceOptions(ModifyVerifiedAccessEndpointEniOptions&& value) { m_networkInterfaceOptionsHasBeenSet = true; m_networkInterfaceOptions = std::move(value); }
94
96
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 inline ModifyVerifiedAccessEndpointRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline ModifyVerifiedAccessEndpointRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
116 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
117 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
118 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
119 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
120 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
122 inline ModifyVerifiedAccessEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
123 inline ModifyVerifiedAccessEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
125
127
133 inline bool GetDryRun() const{ return m_dryRun; }
134 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
135 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
136 inline ModifyVerifiedAccessEndpointRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
138 private:
139
140 Aws::String m_verifiedAccessEndpointId;
141 bool m_verifiedAccessEndpointIdHasBeenSet = false;
142
143 Aws::String m_verifiedAccessGroupId;
144 bool m_verifiedAccessGroupIdHasBeenSet = false;
145
147 bool m_loadBalancerOptionsHasBeenSet = false;
148
149 ModifyVerifiedAccessEndpointEniOptions m_networkInterfaceOptions;
150 bool m_networkInterfaceOptionsHasBeenSet = false;
151
152 Aws::String m_description;
153 bool m_descriptionHasBeenSet = false;
154
155 Aws::String m_clientToken;
156 bool m_clientTokenHasBeenSet = false;
157
158 bool m_dryRun;
159 bool m_dryRunHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace EC2
164} // namespace Aws
void SetLoadBalancerOptions(const ModifyVerifiedAccessEndpointLoadBalancerOptions &value)
ModifyVerifiedAccessEndpointRequest & WithLoadBalancerOptions(ModifyVerifiedAccessEndpointLoadBalancerOptions &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVerifiedAccessEndpointRequest & WithVerifiedAccessEndpointId(Aws::String &&value)
ModifyVerifiedAccessEndpointRequest & WithLoadBalancerOptions(const ModifyVerifiedAccessEndpointLoadBalancerOptions &value)
ModifyVerifiedAccessEndpointRequest & WithNetworkInterfaceOptions(const ModifyVerifiedAccessEndpointEniOptions &value)
ModifyVerifiedAccessEndpointRequest & WithDescription(const char *value)
ModifyVerifiedAccessEndpointRequest & WithClientToken(const Aws::String &value)
ModifyVerifiedAccessEndpointRequest & WithVerifiedAccessEndpointId(const Aws::String &value)
ModifyVerifiedAccessEndpointRequest & WithVerifiedAccessGroupId(const char *value)
ModifyVerifiedAccessEndpointRequest & WithNetworkInterfaceOptions(ModifyVerifiedAccessEndpointEniOptions &&value)
void SetNetworkInterfaceOptions(ModifyVerifiedAccessEndpointEniOptions &&value)
ModifyVerifiedAccessEndpointRequest & WithClientToken(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVerifiedAccessEndpointRequest & WithDescription(Aws::String &&value)
ModifyVerifiedAccessEndpointRequest & WithDryRun(bool value)
void SetNetworkInterfaceOptions(const ModifyVerifiedAccessEndpointEniOptions &value)
ModifyVerifiedAccessEndpointRequest & WithVerifiedAccessGroupId(Aws::String &&value)
ModifyVerifiedAccessEndpointRequest & WithClientToken(const char *value)
ModifyVerifiedAccessEndpointRequest & WithDescription(const Aws::String &value)
const ModifyVerifiedAccessEndpointLoadBalancerOptions & GetLoadBalancerOptions() const
void SetLoadBalancerOptions(ModifyVerifiedAccessEndpointLoadBalancerOptions &&value)
ModifyVerifiedAccessEndpointRequest & WithVerifiedAccessGroupId(const Aws::String &value)
const ModifyVerifiedAccessEndpointEniOptions & GetNetworkInterfaceOptions() const
ModifyVerifiedAccessEndpointRequest & WithVerifiedAccessEndpointId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String