AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
GetOutboundExternalLinkResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
13#include <aws/rtbfabric/model/ConnectivityType.h>
14#include <aws/rtbfabric/model/LinkAttributes.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 GetOutboundExternalLinkResult() = 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>
50 SetGatewayId(std::forward<GatewayIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetLinkId() const { return m_linkId; }
60 template <typename LinkIdT = Aws::String>
61 void SetLinkId(LinkIdT&& value) {
62 m_linkIdHasBeenSet = true;
63 m_linkId = std::forward<LinkIdT>(value);
64 }
65 template <typename LinkIdT = Aws::String>
67 SetLinkId(std::forward<LinkIdT>(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::String& GetPublicEndpoint() const { return m_publicEndpoint; }
92 template <typename PublicEndpointT = Aws::String>
93 void SetPublicEndpoint(PublicEndpointT&& value) {
94 m_publicEndpointHasBeenSet = true;
95 m_publicEndpoint = std::forward<PublicEndpointT>(value);
96 }
97 template <typename PublicEndpointT = Aws::String>
99 SetPublicEndpoint(std::forward<PublicEndpointT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::Vector<ModuleConfiguration>& GetFlowModules() const { return m_flowModules; }
109 template <typename FlowModulesT = Aws::Vector<ModuleConfiguration>>
110 void SetFlowModules(FlowModulesT&& value) {
111 m_flowModulesHasBeenSet = true;
112 m_flowModules = std::forward<FlowModulesT>(value);
113 }
114 template <typename FlowModulesT = Aws::Vector<ModuleConfiguration>>
116 SetFlowModules(std::forward<FlowModulesT>(value));
117 return *this;
118 }
119 template <typename FlowModulesT = ModuleConfiguration>
121 m_flowModulesHasBeenSet = true;
122 m_flowModules.emplace_back(std::forward<FlowModulesT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Vector<ModuleConfiguration>& GetPendingFlowModules() const { return m_pendingFlowModules; }
132 template <typename PendingFlowModulesT = Aws::Vector<ModuleConfiguration>>
133 void SetPendingFlowModules(PendingFlowModulesT&& value) {
134 m_pendingFlowModulesHasBeenSet = true;
135 m_pendingFlowModules = std::forward<PendingFlowModulesT>(value);
136 }
137 template <typename PendingFlowModulesT = Aws::Vector<ModuleConfiguration>>
139 SetPendingFlowModules(std::forward<PendingFlowModulesT>(value));
140 return *this;
141 }
142 template <typename PendingFlowModulesT = ModuleConfiguration>
144 m_pendingFlowModulesHasBeenSet = true;
145 m_pendingFlowModules.emplace_back(std::forward<PendingFlowModulesT>(value));
146 return *this;
147 }
149
151
152 inline const LinkAttributes& GetAttributes() const { return m_attributes; }
153 template <typename AttributesT = LinkAttributes>
154 void SetAttributes(AttributesT&& value) {
155 m_attributesHasBeenSet = true;
156 m_attributes = std::forward<AttributesT>(value);
157 }
158 template <typename AttributesT = LinkAttributes>
160 SetAttributes(std::forward<AttributesT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
170 template <typename CreatedAtT = Aws::Utils::DateTime>
171 void SetCreatedAt(CreatedAtT&& value) {
172 m_createdAtHasBeenSet = true;
173 m_createdAt = std::forward<CreatedAtT>(value);
174 }
175 template <typename CreatedAtT = Aws::Utils::DateTime>
177 SetCreatedAt(std::forward<CreatedAtT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
187 template <typename UpdatedAtT = Aws::Utils::DateTime>
188 void SetUpdatedAt(UpdatedAtT&& value) {
189 m_updatedAtHasBeenSet = true;
190 m_updatedAt = std::forward<UpdatedAtT>(value);
191 }
192 template <typename UpdatedAtT = Aws::Utils::DateTime>
194 SetUpdatedAt(std::forward<UpdatedAtT>(value));
195 return *this;
196 }
198
200
204 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
205 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 void SetTags(TagsT&& value) {
207 m_tagsHasBeenSet = true;
208 m_tags = std::forward<TagsT>(value);
209 }
210 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 SetTags(std::forward<TagsT>(value));
213 return *this;
214 }
215 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
216 GetOutboundExternalLinkResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
217 m_tagsHasBeenSet = true;
218 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
219 return *this;
220 }
222
224
227 inline const LinkLogSettings& GetLogSettings() const { return m_logSettings; }
228 template <typename LogSettingsT = LinkLogSettings>
229 void SetLogSettings(LogSettingsT&& value) {
230 m_logSettingsHasBeenSet = true;
231 m_logSettings = std::forward<LogSettingsT>(value);
232 }
233 template <typename LogSettingsT = LinkLogSettings>
235 SetLogSettings(std::forward<LogSettingsT>(value));
236 return *this;
237 }
239
241
244 inline ConnectivityType GetConnectivityType() const { return m_connectivityType; }
246 m_connectivityTypeHasBeenSet = true;
247 m_connectivityType = value;
248 }
254
256
257 inline const Aws::String& GetRequestId() const { return m_requestId; }
258 template <typename RequestIdT = Aws::String>
259 void SetRequestId(RequestIdT&& value) {
260 m_requestIdHasBeenSet = true;
261 m_requestId = std::forward<RequestIdT>(value);
262 }
263 template <typename RequestIdT = Aws::String>
265 SetRequestId(std::forward<RequestIdT>(value));
266 return *this;
267 }
269 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
270
271 private:
272 Aws::String m_gatewayId;
273
274 Aws::String m_linkId;
275
277
278 Aws::String m_publicEndpoint;
279
281
282 Aws::Vector<ModuleConfiguration> m_pendingFlowModules;
283
284 LinkAttributes m_attributes;
285
286 Aws::Utils::DateTime m_createdAt{};
287
288 Aws::Utils::DateTime m_updatedAt{};
289
291
292 LinkLogSettings m_logSettings;
293
295
296 Aws::String m_requestId;
297 Aws::Http::HttpResponseCode m_HttpResponseCode;
298 bool m_gatewayIdHasBeenSet = false;
299 bool m_linkIdHasBeenSet = false;
300 bool m_statusHasBeenSet = false;
301 bool m_publicEndpointHasBeenSet = false;
302 bool m_flowModulesHasBeenSet = false;
303 bool m_pendingFlowModulesHasBeenSet = false;
304 bool m_attributesHasBeenSet = false;
305 bool m_createdAtHasBeenSet = false;
306 bool m_updatedAtHasBeenSet = false;
307 bool m_tagsHasBeenSet = false;
308 bool m_logSettingsHasBeenSet = false;
309 bool m_connectivityTypeHasBeenSet = false;
310 bool m_requestIdHasBeenSet = false;
311};
312
313} // namespace Model
314} // namespace RTBFabric
315} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue