AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVpcEndpointServiceConfigurationRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
12#include <utility>
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 "CreateVpcEndpointServiceConfiguration"; }
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
48 inline bool GetDryRun() const{ return m_dryRun; }
49 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
50 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
51 inline CreateVpcEndpointServiceConfigurationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
53
55
59 inline bool GetAcceptanceRequired() const{ return m_acceptanceRequired; }
60 inline bool AcceptanceRequiredHasBeenSet() const { return m_acceptanceRequiredHasBeenSet; }
61 inline void SetAcceptanceRequired(bool value) { m_acceptanceRequiredHasBeenSet = true; m_acceptanceRequired = value; }
64
66
70 inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; }
71 inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; }
72 inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
73 inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); }
74 inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
77 inline CreateVpcEndpointServiceConfigurationRequest& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
79
81
84 inline const Aws::Vector<Aws::String>& GetNetworkLoadBalancerArns() const{ return m_networkLoadBalancerArns; }
85 inline bool NetworkLoadBalancerArnsHasBeenSet() const { return m_networkLoadBalancerArnsHasBeenSet; }
86 inline void SetNetworkLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns = value; }
87 inline void SetNetworkLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns = std::move(value); }
90 inline CreateVpcEndpointServiceConfigurationRequest& AddNetworkLoadBalancerArns(const Aws::String& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; }
91 inline CreateVpcEndpointServiceConfigurationRequest& AddNetworkLoadBalancerArns(Aws::String&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(std::move(value)); return *this; }
92 inline CreateVpcEndpointServiceConfigurationRequest& AddNetworkLoadBalancerArns(const char* value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; }
94
96
99 inline const Aws::Vector<Aws::String>& GetGatewayLoadBalancerArns() const{ return m_gatewayLoadBalancerArns; }
100 inline bool GatewayLoadBalancerArnsHasBeenSet() const { return m_gatewayLoadBalancerArnsHasBeenSet; }
101 inline void SetGatewayLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns = value; }
102 inline void SetGatewayLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns = std::move(value); }
105 inline CreateVpcEndpointServiceConfigurationRequest& AddGatewayLoadBalancerArns(const Aws::String& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; }
106 inline CreateVpcEndpointServiceConfigurationRequest& AddGatewayLoadBalancerArns(Aws::String&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(std::move(value)); return *this; }
107 inline CreateVpcEndpointServiceConfigurationRequest& AddGatewayLoadBalancerArns(const char* value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; }
109
111
115 inline const Aws::Vector<Aws::String>& GetSupportedIpAddressTypes() const{ return m_supportedIpAddressTypes; }
116 inline bool SupportedIpAddressTypesHasBeenSet() const { return m_supportedIpAddressTypesHasBeenSet; }
117 inline void SetSupportedIpAddressTypes(const Aws::Vector<Aws::String>& value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes = value; }
118 inline void SetSupportedIpAddressTypes(Aws::Vector<Aws::String>&& value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes = std::move(value); }
121 inline CreateVpcEndpointServiceConfigurationRequest& AddSupportedIpAddressTypes(const Aws::String& value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes.push_back(value); return *this; }
122 inline CreateVpcEndpointServiceConfigurationRequest& AddSupportedIpAddressTypes(Aws::String&& value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes.push_back(std::move(value)); return *this; }
123 inline CreateVpcEndpointServiceConfigurationRequest& AddSupportedIpAddressTypes(const char* value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes.push_back(value); return *this; }
125
127
133 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
134 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
135 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
136 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
137 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
140 inline CreateVpcEndpointServiceConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
142
144
147 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
148 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
149 inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
150 inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
153 inline CreateVpcEndpointServiceConfigurationRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
154 inline CreateVpcEndpointServiceConfigurationRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
156 private:
157
158 bool m_dryRun;
159 bool m_dryRunHasBeenSet = false;
160
161 bool m_acceptanceRequired;
162 bool m_acceptanceRequiredHasBeenSet = false;
163
164 Aws::String m_privateDnsName;
165 bool m_privateDnsNameHasBeenSet = false;
166
167 Aws::Vector<Aws::String> m_networkLoadBalancerArns;
168 bool m_networkLoadBalancerArnsHasBeenSet = false;
169
170 Aws::Vector<Aws::String> m_gatewayLoadBalancerArns;
171 bool m_gatewayLoadBalancerArnsHasBeenSet = false;
172
173 Aws::Vector<Aws::String> m_supportedIpAddressTypes;
174 bool m_supportedIpAddressTypesHasBeenSet = false;
175
176 Aws::String m_clientToken;
177 bool m_clientTokenHasBeenSet = false;
178
179 Aws::Vector<TagSpecification> m_tagSpecifications;
180 bool m_tagSpecificationsHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace EC2
185} // namespace Aws
CreateVpcEndpointServiceConfigurationRequest & AddNetworkLoadBalancerArns(const Aws::String &value)
CreateVpcEndpointServiceConfigurationRequest & AddNetworkLoadBalancerArns(const char *value)
CreateVpcEndpointServiceConfigurationRequest & WithSupportedIpAddressTypes(Aws::Vector< Aws::String > &&value)
CreateVpcEndpointServiceConfigurationRequest & WithPrivateDnsName(const char *value)
CreateVpcEndpointServiceConfigurationRequest & WithPrivateDnsName(const Aws::String &value)
CreateVpcEndpointServiceConfigurationRequest & WithClientToken(Aws::String &&value)
CreateVpcEndpointServiceConfigurationRequest & WithNetworkLoadBalancerArns(Aws::Vector< Aws::String > &&value)
CreateVpcEndpointServiceConfigurationRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateVpcEndpointServiceConfigurationRequest & WithPrivateDnsName(Aws::String &&value)
CreateVpcEndpointServiceConfigurationRequest & AddTagSpecifications(const TagSpecification &value)
CreateVpcEndpointServiceConfigurationRequest & AddSupportedIpAddressTypes(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateVpcEndpointServiceConfigurationRequest & AddSupportedIpAddressTypes(const Aws::String &value)
CreateVpcEndpointServiceConfigurationRequest & AddGatewayLoadBalancerArns(Aws::String &&value)
CreateVpcEndpointServiceConfigurationRequest & AddGatewayLoadBalancerArns(const Aws::String &value)
CreateVpcEndpointServiceConfigurationRequest & AddNetworkLoadBalancerArns(Aws::String &&value)
CreateVpcEndpointServiceConfigurationRequest & AddSupportedIpAddressTypes(const char *value)
CreateVpcEndpointServiceConfigurationRequest & WithClientToken(const char *value)
CreateVpcEndpointServiceConfigurationRequest & WithSupportedIpAddressTypes(const Aws::Vector< Aws::String > &value)
CreateVpcEndpointServiceConfigurationRequest & WithNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
CreateVpcEndpointServiceConfigurationRequest & AddTagSpecifications(TagSpecification &&value)
CreateVpcEndpointServiceConfigurationRequest & WithAcceptanceRequired(bool value)
CreateVpcEndpointServiceConfigurationRequest & WithClientToken(const Aws::String &value)
CreateVpcEndpointServiceConfigurationRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateVpcEndpointServiceConfigurationRequest & WithGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
CreateVpcEndpointServiceConfigurationRequest & AddGatewayLoadBalancerArns(const char *value)
CreateVpcEndpointServiceConfigurationRequest & WithGatewayLoadBalancerArns(Aws::Vector< Aws::String > &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector