AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
AcceptLinkResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
12#include <aws/rtbfabric/model/ConnectivityType.h>
13#include <aws/rtbfabric/model/LinkAttributes.h>
14#include <aws/rtbfabric/model/LinkDirection.h>
15#include <aws/rtbfabric/model/LinkLogSettings.h>
16#include <aws/rtbfabric/model/LinkStatus.h>
17#include <aws/rtbfabric/model/ModuleConfiguration.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace RTBFabric {
31namespace Model {
33 public:
34 AWS_RTBFABRIC_API AcceptLinkResult() = default;
37
39
42 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
43 template <typename GatewayIdT = Aws::String>
44 void SetGatewayId(GatewayIdT&& value) {
45 m_gatewayIdHasBeenSet = true;
46 m_gatewayId = std::forward<GatewayIdT>(value);
47 }
48 template <typename GatewayIdT = Aws::String>
49 AcceptLinkResult& WithGatewayId(GatewayIdT&& value) {
50 SetGatewayId(std::forward<GatewayIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetPeerGatewayId() const { return m_peerGatewayId; }
60 template <typename PeerGatewayIdT = Aws::String>
61 void SetPeerGatewayId(PeerGatewayIdT&& value) {
62 m_peerGatewayIdHasBeenSet = true;
63 m_peerGatewayId = std::forward<PeerGatewayIdT>(value);
64 }
65 template <typename PeerGatewayIdT = Aws::String>
66 AcceptLinkResult& WithPeerGatewayId(PeerGatewayIdT&& value) {
67 SetPeerGatewayId(std::forward<PeerGatewayIdT>(value));
68 return *this;
69 }
71
73
76 inline LinkStatus GetStatus() const { return m_status; }
77 inline void SetStatus(LinkStatus value) {
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86
88
91 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
92 template <typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) {
94 m_createdAtHasBeenSet = true;
95 m_createdAt = std::forward<CreatedAtT>(value);
96 }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
98 AcceptLinkResult& WithCreatedAt(CreatedAtT&& value) {
99 SetCreatedAt(std::forward<CreatedAtT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
109 template <typename UpdatedAtT = Aws::Utils::DateTime>
110 void SetUpdatedAt(UpdatedAtT&& value) {
111 m_updatedAtHasBeenSet = true;
112 m_updatedAt = std::forward<UpdatedAtT>(value);
113 }
114 template <typename UpdatedAtT = Aws::Utils::DateTime>
115 AcceptLinkResult& WithUpdatedAt(UpdatedAtT&& value) {
116 SetUpdatedAt(std::forward<UpdatedAtT>(value));
117 return *this;
118 }
120
122
125 inline LinkDirection GetDirection() const { return m_direction; }
126 inline void SetDirection(LinkDirection value) {
127 m_directionHasBeenSet = true;
128 m_direction = value;
129 }
131 SetDirection(value);
132 return *this;
133 }
135
137
140 inline const Aws::Vector<ModuleConfiguration>& GetFlowModules() const { return m_flowModules; }
141 template <typename FlowModulesT = Aws::Vector<ModuleConfiguration>>
142 void SetFlowModules(FlowModulesT&& value) {
143 m_flowModulesHasBeenSet = true;
144 m_flowModules = std::forward<FlowModulesT>(value);
145 }
146 template <typename FlowModulesT = Aws::Vector<ModuleConfiguration>>
147 AcceptLinkResult& WithFlowModules(FlowModulesT&& value) {
148 SetFlowModules(std::forward<FlowModulesT>(value));
149 return *this;
150 }
151 template <typename FlowModulesT = ModuleConfiguration>
152 AcceptLinkResult& AddFlowModules(FlowModulesT&& value) {
153 m_flowModulesHasBeenSet = true;
154 m_flowModules.emplace_back(std::forward<FlowModulesT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Vector<ModuleConfiguration>& GetPendingFlowModules() const { return m_pendingFlowModules; }
164 template <typename PendingFlowModulesT = Aws::Vector<ModuleConfiguration>>
165 void SetPendingFlowModules(PendingFlowModulesT&& value) {
166 m_pendingFlowModulesHasBeenSet = true;
167 m_pendingFlowModules = std::forward<PendingFlowModulesT>(value);
168 }
169 template <typename PendingFlowModulesT = Aws::Vector<ModuleConfiguration>>
170 AcceptLinkResult& WithPendingFlowModules(PendingFlowModulesT&& value) {
171 SetPendingFlowModules(std::forward<PendingFlowModulesT>(value));
172 return *this;
173 }
174 template <typename PendingFlowModulesT = ModuleConfiguration>
175 AcceptLinkResult& AddPendingFlowModules(PendingFlowModulesT&& value) {
176 m_pendingFlowModulesHasBeenSet = true;
177 m_pendingFlowModules.emplace_back(std::forward<PendingFlowModulesT>(value));
178 return *this;
179 }
181
183
186 inline const LinkAttributes& GetAttributes() const { return m_attributes; }
187 template <typename AttributesT = LinkAttributes>
188 void SetAttributes(AttributesT&& value) {
189 m_attributesHasBeenSet = true;
190 m_attributes = std::forward<AttributesT>(value);
191 }
192 template <typename AttributesT = LinkAttributes>
193 AcceptLinkResult& WithAttributes(AttributesT&& value) {
194 SetAttributes(std::forward<AttributesT>(value));
195 return *this;
196 }
198
200
201 inline const LinkLogSettings& GetLogSettings() const { return m_logSettings; }
202 template <typename LogSettingsT = LinkLogSettings>
203 void SetLogSettings(LogSettingsT&& value) {
204 m_logSettingsHasBeenSet = true;
205 m_logSettings = std::forward<LogSettingsT>(value);
206 }
207 template <typename LogSettingsT = LinkLogSettings>
208 AcceptLinkResult& WithLogSettings(LogSettingsT&& value) {
209 SetLogSettings(std::forward<LogSettingsT>(value));
210 return *this;
211 }
213
215
218 inline ConnectivityType GetConnectivityType() const { return m_connectivityType; }
220 m_connectivityTypeHasBeenSet = true;
221 m_connectivityType = value;
222 }
224 SetConnectivityType(value);
225 return *this;
226 }
228
230
233 inline const Aws::String& GetLinkId() const { return m_linkId; }
234 template <typename LinkIdT = Aws::String>
235 void SetLinkId(LinkIdT&& value) {
236 m_linkIdHasBeenSet = true;
237 m_linkId = std::forward<LinkIdT>(value);
238 }
239 template <typename LinkIdT = Aws::String>
240 AcceptLinkResult& WithLinkId(LinkIdT&& value) {
241 SetLinkId(std::forward<LinkIdT>(value));
242 return *this;
243 }
245
247
248 inline const Aws::String& GetRequestId() const { return m_requestId; }
249 template <typename RequestIdT = Aws::String>
250 void SetRequestId(RequestIdT&& value) {
251 m_requestIdHasBeenSet = true;
252 m_requestId = std::forward<RequestIdT>(value);
253 }
254 template <typename RequestIdT = Aws::String>
255 AcceptLinkResult& WithRequestId(RequestIdT&& value) {
256 SetRequestId(std::forward<RequestIdT>(value));
257 return *this;
258 }
260 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
261
262 private:
263 Aws::String m_gatewayId;
264
265 Aws::String m_peerGatewayId;
266
268
269 Aws::Utils::DateTime m_createdAt{};
270
271 Aws::Utils::DateTime m_updatedAt{};
272
274
276
277 Aws::Vector<ModuleConfiguration> m_pendingFlowModules;
278
279 LinkAttributes m_attributes;
280
281 LinkLogSettings m_logSettings;
282
284
285 Aws::String m_linkId;
286
287 Aws::String m_requestId;
288 Aws::Http::HttpResponseCode m_HttpResponseCode;
289 bool m_gatewayIdHasBeenSet = false;
290 bool m_peerGatewayIdHasBeenSet = false;
291 bool m_statusHasBeenSet = false;
292 bool m_createdAtHasBeenSet = false;
293 bool m_updatedAtHasBeenSet = false;
294 bool m_directionHasBeenSet = false;
295 bool m_flowModulesHasBeenSet = false;
296 bool m_pendingFlowModulesHasBeenSet = false;
297 bool m_attributesHasBeenSet = false;
298 bool m_logSettingsHasBeenSet = false;
299 bool m_connectivityTypeHasBeenSet = false;
300 bool m_linkIdHasBeenSet = false;
301 bool m_requestIdHasBeenSet = false;
302};
303
304} // namespace Model
305} // namespace RTBFabric
306} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue