AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename PrivateDnsNameT = Aws::String>
73 void SetPrivateDnsName(PrivateDnsNameT&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::forward<PrivateDnsNameT>(value); }
74 template<typename PrivateDnsNameT = Aws::String>
75 CreateVpcEndpointServiceConfigurationRequest& WithPrivateDnsName(PrivateDnsNameT&& value) { SetPrivateDnsName(std::forward<PrivateDnsNameT>(value)); return *this;}
77
79
82 inline const Aws::Vector<Aws::String>& GetNetworkLoadBalancerArns() const { return m_networkLoadBalancerArns; }
83 inline bool NetworkLoadBalancerArnsHasBeenSet() const { return m_networkLoadBalancerArnsHasBeenSet; }
84 template<typename NetworkLoadBalancerArnsT = Aws::Vector<Aws::String>>
85 void SetNetworkLoadBalancerArns(NetworkLoadBalancerArnsT&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns = std::forward<NetworkLoadBalancerArnsT>(value); }
86 template<typename NetworkLoadBalancerArnsT = Aws::Vector<Aws::String>>
87 CreateVpcEndpointServiceConfigurationRequest& WithNetworkLoadBalancerArns(NetworkLoadBalancerArnsT&& value) { SetNetworkLoadBalancerArns(std::forward<NetworkLoadBalancerArnsT>(value)); return *this;}
88 template<typename NetworkLoadBalancerArnsT = Aws::String>
89 CreateVpcEndpointServiceConfigurationRequest& AddNetworkLoadBalancerArns(NetworkLoadBalancerArnsT&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.emplace_back(std::forward<NetworkLoadBalancerArnsT>(value)); return *this; }
91
93
96 inline const Aws::Vector<Aws::String>& GetGatewayLoadBalancerArns() const { return m_gatewayLoadBalancerArns; }
97 inline bool GatewayLoadBalancerArnsHasBeenSet() const { return m_gatewayLoadBalancerArnsHasBeenSet; }
98 template<typename GatewayLoadBalancerArnsT = Aws::Vector<Aws::String>>
99 void SetGatewayLoadBalancerArns(GatewayLoadBalancerArnsT&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns = std::forward<GatewayLoadBalancerArnsT>(value); }
100 template<typename GatewayLoadBalancerArnsT = Aws::Vector<Aws::String>>
101 CreateVpcEndpointServiceConfigurationRequest& WithGatewayLoadBalancerArns(GatewayLoadBalancerArnsT&& value) { SetGatewayLoadBalancerArns(std::forward<GatewayLoadBalancerArnsT>(value)); return *this;}
102 template<typename GatewayLoadBalancerArnsT = Aws::String>
103 CreateVpcEndpointServiceConfigurationRequest& AddGatewayLoadBalancerArns(GatewayLoadBalancerArnsT&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.emplace_back(std::forward<GatewayLoadBalancerArnsT>(value)); return *this; }
105
107
111 inline const Aws::Vector<Aws::String>& GetSupportedIpAddressTypes() const { return m_supportedIpAddressTypes; }
112 inline bool SupportedIpAddressTypesHasBeenSet() const { return m_supportedIpAddressTypesHasBeenSet; }
113 template<typename SupportedIpAddressTypesT = Aws::Vector<Aws::String>>
114 void SetSupportedIpAddressTypes(SupportedIpAddressTypesT&& value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes = std::forward<SupportedIpAddressTypesT>(value); }
115 template<typename SupportedIpAddressTypesT = Aws::Vector<Aws::String>>
116 CreateVpcEndpointServiceConfigurationRequest& WithSupportedIpAddressTypes(SupportedIpAddressTypesT&& value) { SetSupportedIpAddressTypes(std::forward<SupportedIpAddressTypesT>(value)); return *this;}
117 template<typename SupportedIpAddressTypesT = Aws::String>
118 CreateVpcEndpointServiceConfigurationRequest& AddSupportedIpAddressTypes(SupportedIpAddressTypesT&& value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes.emplace_back(std::forward<SupportedIpAddressTypesT>(value)); return *this; }
120
122
125 inline const Aws::Vector<Aws::String>& GetSupportedRegions() const { return m_supportedRegions; }
126 inline bool SupportedRegionsHasBeenSet() const { return m_supportedRegionsHasBeenSet; }
127 template<typename SupportedRegionsT = Aws::Vector<Aws::String>>
128 void SetSupportedRegions(SupportedRegionsT&& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions = std::forward<SupportedRegionsT>(value); }
129 template<typename SupportedRegionsT = Aws::Vector<Aws::String>>
130 CreateVpcEndpointServiceConfigurationRequest& WithSupportedRegions(SupportedRegionsT&& value) { SetSupportedRegions(std::forward<SupportedRegionsT>(value)); return *this;}
131 template<typename SupportedRegionsT = Aws::String>
132 CreateVpcEndpointServiceConfigurationRequest& AddSupportedRegions(SupportedRegionsT&& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions.emplace_back(std::forward<SupportedRegionsT>(value)); return *this; }
134
136
142 inline const Aws::String& GetClientToken() const { return m_clientToken; }
143 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
144 template<typename ClientTokenT = Aws::String>
145 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
146 template<typename ClientTokenT = Aws::String>
147 CreateVpcEndpointServiceConfigurationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
149
151
154 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const { return m_tagSpecifications; }
155 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
156 template<typename TagSpecificationsT = Aws::Vector<TagSpecification>>
157 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
158 template<typename TagSpecificationsT = Aws::Vector<TagSpecification>>
159 CreateVpcEndpointServiceConfigurationRequest& WithTagSpecifications(TagSpecificationsT&& value) { SetTagSpecifications(std::forward<TagSpecificationsT>(value)); return *this;}
160 template<typename TagSpecificationsT = TagSpecification>
161 CreateVpcEndpointServiceConfigurationRequest& AddTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value)); return *this; }
163 private:
164
165 bool m_dryRun{false};
166 bool m_dryRunHasBeenSet = false;
167
168 bool m_acceptanceRequired{false};
169 bool m_acceptanceRequiredHasBeenSet = false;
170
171 Aws::String m_privateDnsName;
172 bool m_privateDnsNameHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_networkLoadBalancerArns;
175 bool m_networkLoadBalancerArnsHasBeenSet = false;
176
177 Aws::Vector<Aws::String> m_gatewayLoadBalancerArns;
178 bool m_gatewayLoadBalancerArnsHasBeenSet = false;
179
180 Aws::Vector<Aws::String> m_supportedIpAddressTypes;
181 bool m_supportedIpAddressTypesHasBeenSet = false;
182
183 Aws::Vector<Aws::String> m_supportedRegions;
184 bool m_supportedRegionsHasBeenSet = false;
185
186 Aws::String m_clientToken;
187 bool m_clientTokenHasBeenSet = false;
188
189 Aws::Vector<TagSpecification> m_tagSpecifications;
190 bool m_tagSpecificationsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace EC2
195} // namespace Aws
CreateVpcEndpointServiceConfigurationRequest & WithPrivateDnsName(PrivateDnsNameT &&value)
CreateVpcEndpointServiceConfigurationRequest & AddNetworkLoadBalancerArns(NetworkLoadBalancerArnsT &&value)
CreateVpcEndpointServiceConfigurationRequest & AddSupportedRegions(SupportedRegionsT &&value)
CreateVpcEndpointServiceConfigurationRequest & WithTagSpecifications(TagSpecificationsT &&value)
CreateVpcEndpointServiceConfigurationRequest & WithSupportedRegions(SupportedRegionsT &&value)
CreateVpcEndpointServiceConfigurationRequest & AddTagSpecifications(TagSpecificationsT &&value)
CreateVpcEndpointServiceConfigurationRequest & AddSupportedIpAddressTypes(SupportedIpAddressTypesT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateVpcEndpointServiceConfigurationRequest & AddGatewayLoadBalancerArns(GatewayLoadBalancerArnsT &&value)
CreateVpcEndpointServiceConfigurationRequest & WithSupportedIpAddressTypes(SupportedIpAddressTypesT &&value)
CreateVpcEndpointServiceConfigurationRequest & WithGatewayLoadBalancerArns(GatewayLoadBalancerArnsT &&value)
CreateVpcEndpointServiceConfigurationRequest & WithClientToken(ClientTokenT &&value)
CreateVpcEndpointServiceConfigurationRequest & WithAcceptanceRequired(bool value)
CreateVpcEndpointServiceConfigurationRequest & WithNetworkLoadBalancerArns(NetworkLoadBalancerArnsT &&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