AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
UpdateResponderGatewayRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rtbfabric/RTBFabricRequest.h>
10#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
11#include <aws/rtbfabric/model/ClientRoutingPolicy.h>
12#include <aws/rtbfabric/model/ListenerConfig.h>
13#include <aws/rtbfabric/model/ManagedEndpointConfiguration.h>
14#include <aws/rtbfabric/model/Protocol.h>
15#include <aws/rtbfabric/model/TrustStoreConfiguration.h>
16
17#include <utility>
18
19namespace Aws {
20namespace RTBFabric {
21namespace Model {
22
26 public:
27 AWS_RTBFABRIC_API UpdateResponderGatewayRequest() = default;
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 "UpdateResponderGateway"; }
34
35 AWS_RTBFABRIC_API Aws::String SerializePayload() const override;
36
38
43 inline const Aws::String& GetDomainName() const { return m_domainName; }
44 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 template <typename DomainNameT = Aws::String>
46 void SetDomainName(DomainNameT&& value) {
47 m_domainNameHasBeenSet = true;
48 m_domainName = std::forward<DomainNameT>(value);
49 }
50 template <typename DomainNameT = Aws::String>
52 SetDomainName(std::forward<DomainNameT>(value));
53 return *this;
54 }
56
58
63 inline int GetPort() const { return m_port; }
64 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
65 inline void SetPort(int value) {
66 m_portHasBeenSet = true;
67 m_port = value;
68 }
70 SetPort(value);
71 return *this;
72 }
74
76
81 inline Protocol GetProtocol() const { return m_protocol; }
82 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
83 inline void SetProtocol(Protocol value) {
84 m_protocolHasBeenSet = true;
85 m_protocol = value;
86 }
88 SetProtocol(value);
89 return *this;
90 }
92
94
97 inline const ListenerConfig& GetListenerConfig() const { return m_listenerConfig; }
98 inline bool ListenerConfigHasBeenSet() const { return m_listenerConfigHasBeenSet; }
99 template <typename ListenerConfigT = ListenerConfig>
100 void SetListenerConfig(ListenerConfigT&& value) {
101 m_listenerConfigHasBeenSet = true;
102 m_listenerConfig = std::forward<ListenerConfigT>(value);
103 }
104 template <typename ListenerConfigT = ListenerConfig>
106 SetListenerConfig(std::forward<ListenerConfigT>(value));
107 return *this;
108 }
110
112
115 inline const TrustStoreConfiguration& GetTrustStoreConfiguration() const { return m_trustStoreConfiguration; }
116 inline bool TrustStoreConfigurationHasBeenSet() const { return m_trustStoreConfigurationHasBeenSet; }
117 template <typename TrustStoreConfigurationT = TrustStoreConfiguration>
118 void SetTrustStoreConfiguration(TrustStoreConfigurationT&& value) {
119 m_trustStoreConfigurationHasBeenSet = true;
120 m_trustStoreConfiguration = std::forward<TrustStoreConfigurationT>(value);
121 }
122 template <typename TrustStoreConfigurationT = TrustStoreConfiguration>
124 SetTrustStoreConfiguration(std::forward<TrustStoreConfigurationT>(value));
125 return *this;
126 }
128
130
133 inline const ManagedEndpointConfiguration& GetManagedEndpointConfiguration() const { return m_managedEndpointConfiguration; }
134 inline bool ManagedEndpointConfigurationHasBeenSet() const { return m_managedEndpointConfigurationHasBeenSet; }
135 template <typename ManagedEndpointConfigurationT = ManagedEndpointConfiguration>
136 void SetManagedEndpointConfiguration(ManagedEndpointConfigurationT&& value) {
137 m_managedEndpointConfigurationHasBeenSet = true;
138 m_managedEndpointConfiguration = std::forward<ManagedEndpointConfigurationT>(value);
139 }
140 template <typename ManagedEndpointConfigurationT = ManagedEndpointConfiguration>
141 UpdateResponderGatewayRequest& WithManagedEndpointConfiguration(ManagedEndpointConfigurationT&& value) {
142 SetManagedEndpointConfiguration(std::forward<ManagedEndpointConfigurationT>(value));
143 return *this;
144 }
146
148
160 inline const Aws::String& GetClientToken() const { return m_clientToken; }
161 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
162 template <typename ClientTokenT = Aws::String>
163 void SetClientToken(ClientTokenT&& value) {
164 m_clientTokenHasBeenSet = true;
165 m_clientToken = std::forward<ClientTokenT>(value);
166 }
167 template <typename ClientTokenT = Aws::String>
169 SetClientToken(std::forward<ClientTokenT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
179 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
180 template <typename GatewayIdT = Aws::String>
181 void SetGatewayId(GatewayIdT&& value) {
182 m_gatewayIdHasBeenSet = true;
183 m_gatewayId = std::forward<GatewayIdT>(value);
184 }
185 template <typename GatewayIdT = Aws::String>
187 SetGatewayId(std::forward<GatewayIdT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::String& GetDescription() const { return m_description; }
197 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
198 template <typename DescriptionT = Aws::String>
199 void SetDescription(DescriptionT&& value) {
200 m_descriptionHasBeenSet = true;
201 m_description = std::forward<DescriptionT>(value);
202 }
203 template <typename DescriptionT = Aws::String>
205 SetDescription(std::forward<DescriptionT>(value));
206 return *this;
207 }
209
211
232 inline ClientRoutingPolicy GetClientRoutingPolicy() const { return m_clientRoutingPolicy; }
233 inline bool ClientRoutingPolicyHasBeenSet() const { return m_clientRoutingPolicyHasBeenSet; }
235 m_clientRoutingPolicyHasBeenSet = true;
236 m_clientRoutingPolicy = value;
237 }
243 private:
244 Aws::String m_domainName;
245
246 int m_port{0};
247
248 Protocol m_protocol{Protocol::NOT_SET};
249
250 ListenerConfig m_listenerConfig;
251
252 TrustStoreConfiguration m_trustStoreConfiguration;
253
254 ManagedEndpointConfiguration m_managedEndpointConfiguration;
255
257
258 Aws::String m_gatewayId;
259
260 Aws::String m_description;
261
263 bool m_domainNameHasBeenSet = false;
264 bool m_portHasBeenSet = false;
265 bool m_protocolHasBeenSet = false;
266 bool m_listenerConfigHasBeenSet = false;
267 bool m_trustStoreConfigurationHasBeenSet = false;
268 bool m_managedEndpointConfigurationHasBeenSet = false;
269 bool m_clientTokenHasBeenSet = true;
270 bool m_gatewayIdHasBeenSet = false;
271 bool m_descriptionHasBeenSet = false;
272 bool m_clientRoutingPolicyHasBeenSet = false;
273};
274
275} // namespace Model
276} // namespace RTBFabric
277} // namespace Aws
void SetManagedEndpointConfiguration(ManagedEndpointConfigurationT &&value)
UpdateResponderGatewayRequest & WithDomainName(DomainNameT &&value)
const ManagedEndpointConfiguration & GetManagedEndpointConfiguration() const
UpdateResponderGatewayRequest & WithClientRoutingPolicy(ClientRoutingPolicy value)
UpdateResponderGatewayRequest & WithListenerConfig(ListenerConfigT &&value)
UpdateResponderGatewayRequest & WithManagedEndpointConfiguration(ManagedEndpointConfigurationT &&value)
AWS_RTBFABRIC_API Aws::String SerializePayload() const override
UpdateResponderGatewayRequest & WithGatewayId(GatewayIdT &&value)
const TrustStoreConfiguration & GetTrustStoreConfiguration() const
UpdateResponderGatewayRequest & WithTrustStoreConfiguration(TrustStoreConfigurationT &&value)
UpdateResponderGatewayRequest & WithClientToken(ClientTokenT &&value)
AWS_RTBFABRIC_API UpdateResponderGatewayRequest()=default
UpdateResponderGatewayRequest & WithDescription(DescriptionT &&value)
UpdateResponderGatewayRequest & WithProtocol(Protocol value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String