AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
CreateResponderGatewayRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rtbfabric/RTBFabricRequest.h>
12#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
13#include <aws/rtbfabric/model/ClientRoutingPolicy.h>
14#include <aws/rtbfabric/model/GatewayType.h>
15#include <aws/rtbfabric/model/ListenerConfig.h>
16#include <aws/rtbfabric/model/ManagedEndpointConfiguration.h>
17#include <aws/rtbfabric/model/Protocol.h>
18#include <aws/rtbfabric/model/TrustStoreConfiguration.h>
19
20#include <utility>
21
22namespace Aws {
23namespace RTBFabric {
24namespace Model {
25
29 public:
30 AWS_RTBFABRIC_API CreateResponderGatewayRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateResponderGateway"; }
37
38 AWS_RTBFABRIC_API Aws::String SerializePayload() const override;
39
41
44 inline const Aws::String& GetVpcId() const { return m_vpcId; }
45 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
46 template <typename VpcIdT = Aws::String>
47 void SetVpcId(VpcIdT&& value) {
48 m_vpcIdHasBeenSet = true;
49 m_vpcId = std::forward<VpcIdT>(value);
50 }
51 template <typename VpcIdT = Aws::String>
53 SetVpcId(std::forward<VpcIdT>(value));
54 return *this;
55 }
57
59
65 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
66 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
67 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
68 void SetSubnetIds(SubnetIdsT&& value) {
69 m_subnetIdsHasBeenSet = true;
70 m_subnetIds = std::forward<SubnetIdsT>(value);
71 }
72 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
74 SetSubnetIds(std::forward<SubnetIdsT>(value));
75 return *this;
76 }
77 template <typename SubnetIdsT = Aws::String>
79 m_subnetIdsHasBeenSet = true;
80 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
90 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
91 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
92 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
93 m_securityGroupIdsHasBeenSet = true;
94 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
95 }
96 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
98 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
99 return *this;
100 }
101 template <typename SecurityGroupIdsT = Aws::String>
103 m_securityGroupIdsHasBeenSet = true;
104 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetDomainName() const { return m_domainName; }
114 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
115 template <typename DomainNameT = Aws::String>
116 void SetDomainName(DomainNameT&& value) {
117 m_domainNameHasBeenSet = true;
118 m_domainName = std::forward<DomainNameT>(value);
119 }
120 template <typename DomainNameT = Aws::String>
122 SetDomainName(std::forward<DomainNameT>(value));
123 return *this;
124 }
126
128
131 inline int GetPort() const { return m_port; }
132 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
133 inline void SetPort(int value) {
134 m_portHasBeenSet = true;
135 m_port = value;
136 }
138 SetPort(value);
139 return *this;
140 }
142
144
147 inline Protocol GetProtocol() const { return m_protocol; }
148 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
149 inline void SetProtocol(Protocol value) {
150 m_protocolHasBeenSet = true;
151 m_protocol = value;
152 }
154 SetProtocol(value);
155 return *this;
156 }
158
160
161 inline const ListenerConfig& GetListenerConfig() const { return m_listenerConfig; }
162 inline bool ListenerConfigHasBeenSet() const { return m_listenerConfigHasBeenSet; }
163 template <typename ListenerConfigT = ListenerConfig>
164 void SetListenerConfig(ListenerConfigT&& value) {
165 m_listenerConfigHasBeenSet = true;
166 m_listenerConfig = std::forward<ListenerConfigT>(value);
167 }
168 template <typename ListenerConfigT = ListenerConfig>
170 SetListenerConfig(std::forward<ListenerConfigT>(value));
171 return *this;
172 }
174
176
179 inline const TrustStoreConfiguration& GetTrustStoreConfiguration() const { return m_trustStoreConfiguration; }
180 inline bool TrustStoreConfigurationHasBeenSet() const { return m_trustStoreConfigurationHasBeenSet; }
181 template <typename TrustStoreConfigurationT = TrustStoreConfiguration>
182 void SetTrustStoreConfiguration(TrustStoreConfigurationT&& value) {
183 m_trustStoreConfigurationHasBeenSet = true;
184 m_trustStoreConfiguration = std::forward<TrustStoreConfigurationT>(value);
185 }
186 template <typename TrustStoreConfigurationT = TrustStoreConfiguration>
188 SetTrustStoreConfiguration(std::forward<TrustStoreConfigurationT>(value));
189 return *this;
190 }
192
194
197 inline const ManagedEndpointConfiguration& GetManagedEndpointConfiguration() const { return m_managedEndpointConfiguration; }
198 inline bool ManagedEndpointConfigurationHasBeenSet() const { return m_managedEndpointConfigurationHasBeenSet; }
199 template <typename ManagedEndpointConfigurationT = ManagedEndpointConfiguration>
200 void SetManagedEndpointConfiguration(ManagedEndpointConfigurationT&& value) {
201 m_managedEndpointConfigurationHasBeenSet = true;
202 m_managedEndpointConfiguration = std::forward<ManagedEndpointConfigurationT>(value);
203 }
204 template <typename ManagedEndpointConfigurationT = ManagedEndpointConfiguration>
205 CreateResponderGatewayRequest& WithManagedEndpointConfiguration(ManagedEndpointConfigurationT&& value) {
206 SetManagedEndpointConfiguration(std::forward<ManagedEndpointConfigurationT>(value));
207 return *this;
208 }
210
212
224 inline const Aws::String& GetClientToken() const { return m_clientToken; }
225 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
226 template <typename ClientTokenT = Aws::String>
227 void SetClientToken(ClientTokenT&& value) {
228 m_clientTokenHasBeenSet = true;
229 m_clientToken = std::forward<ClientTokenT>(value);
230 }
231 template <typename ClientTokenT = Aws::String>
233 SetClientToken(std::forward<ClientTokenT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::String& GetDescription() const { return m_description; }
243 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
244 template <typename DescriptionT = Aws::String>
245 void SetDescription(DescriptionT&& value) {
246 m_descriptionHasBeenSet = true;
247 m_description = std::forward<DescriptionT>(value);
248 }
249 template <typename DescriptionT = Aws::String>
251 SetDescription(std::forward<DescriptionT>(value));
252 return *this;
253 }
255
257
261 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
262 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
263 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
264 void SetTags(TagsT&& value) {
265 m_tagsHasBeenSet = true;
266 m_tags = std::forward<TagsT>(value);
267 }
268 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
270 SetTags(std::forward<TagsT>(value));
271 return *this;
272 }
273 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
274 CreateResponderGatewayRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
275 m_tagsHasBeenSet = true;
276 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
277 return *this;
278 }
280
282
286 inline GatewayType GetGatewayType() const { return m_gatewayType; }
287 inline bool GatewayTypeHasBeenSet() const { return m_gatewayTypeHasBeenSet; }
288 inline void SetGatewayType(GatewayType value) {
289 m_gatewayTypeHasBeenSet = true;
290 m_gatewayType = value;
291 }
293 SetGatewayType(value);
294 return *this;
295 }
297
299
320 inline ClientRoutingPolicy GetClientRoutingPolicy() const { return m_clientRoutingPolicy; }
321 inline bool ClientRoutingPolicyHasBeenSet() const { return m_clientRoutingPolicyHasBeenSet; }
323 m_clientRoutingPolicyHasBeenSet = true;
324 m_clientRoutingPolicy = value;
325 }
331 private:
332 Aws::String m_vpcId;
333
334 Aws::Vector<Aws::String> m_subnetIds;
335
336 Aws::Vector<Aws::String> m_securityGroupIds;
337
338 Aws::String m_domainName;
339
340 int m_port{0};
341
342 Protocol m_protocol{Protocol::NOT_SET};
343
344 ListenerConfig m_listenerConfig;
345
346 TrustStoreConfiguration m_trustStoreConfiguration;
347
348 ManagedEndpointConfiguration m_managedEndpointConfiguration;
349
351
352 Aws::String m_description;
353
355
356 GatewayType m_gatewayType{GatewayType::NOT_SET};
357
359 bool m_vpcIdHasBeenSet = false;
360 bool m_subnetIdsHasBeenSet = false;
361 bool m_securityGroupIdsHasBeenSet = false;
362 bool m_domainNameHasBeenSet = false;
363 bool m_portHasBeenSet = false;
364 bool m_protocolHasBeenSet = false;
365 bool m_listenerConfigHasBeenSet = false;
366 bool m_trustStoreConfigurationHasBeenSet = false;
367 bool m_managedEndpointConfigurationHasBeenSet = false;
368 bool m_clientTokenHasBeenSet = true;
369 bool m_descriptionHasBeenSet = false;
370 bool m_tagsHasBeenSet = false;
371 bool m_gatewayTypeHasBeenSet = false;
372 bool m_clientRoutingPolicyHasBeenSet = false;
373};
374
375} // namespace Model
376} // namespace RTBFabric
377} // namespace Aws
CreateResponderGatewayRequest & WithDomainName(DomainNameT &&value)
CreateResponderGatewayRequest & WithListenerConfig(ListenerConfigT &&value)
CreateResponderGatewayRequest & WithSubnetIds(SubnetIdsT &&value)
CreateResponderGatewayRequest & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_RTBFABRIC_API Aws::String SerializePayload() const override
const TrustStoreConfiguration & GetTrustStoreConfiguration() const
CreateResponderGatewayRequest & WithClientRoutingPolicy(ClientRoutingPolicy value)
CreateResponderGatewayRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateResponderGatewayRequest & WithGatewayType(GatewayType value)
CreateResponderGatewayRequest & WithVpcId(VpcIdT &&value)
CreateResponderGatewayRequest & AddSubnetIds(SubnetIdsT &&value)
void SetManagedEndpointConfiguration(ManagedEndpointConfigurationT &&value)
CreateResponderGatewayRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
CreateResponderGatewayRequest & WithProtocol(Protocol value)
CreateResponderGatewayRequest & WithManagedEndpointConfiguration(ManagedEndpointConfigurationT &&value)
CreateResponderGatewayRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
CreateResponderGatewayRequest & WithTags(TagsT &&value)
CreateResponderGatewayRequest & WithTrustStoreConfiguration(TrustStoreConfigurationT &&value)
AWS_RTBFABRIC_API CreateResponderGatewayRequest()=default
const ManagedEndpointConfiguration & GetManagedEndpointConfiguration() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateResponderGatewayRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector