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/LinkDirection.h>
16#include <aws/rtbfabric/model/LinkLogSettings.h>
17#include <aws/rtbfabric/model/LinkStatus.h>
18#include <aws/rtbfabric/model/ModuleConfiguration.h>
23template <
typename RESULT_TYPE>
24class AmazonWebServiceResult;
44 template <
typename GatewayIdT = Aws::String>
46 m_gatewayIdHasBeenSet =
true;
47 m_gatewayId = std::forward<GatewayIdT>(value);
49 template <
typename GatewayIdT = Aws::String>
61 template <
typename PeerGatewayIdT = Aws::String>
63 m_peerGatewayIdHasBeenSet =
true;
64 m_peerGatewayId = std::forward<PeerGatewayIdT>(value);
66 template <
typename PeerGatewayIdT = Aws::String>
79 m_statusHasBeenSet =
true;
93 template <
typename CreatedAtT = Aws::Utils::DateTime>
95 m_createdAtHasBeenSet =
true;
96 m_createdAt = std::forward<CreatedAtT>(value);
98 template <
typename CreatedAtT = Aws::Utils::DateTime>
110 template <
typename UpdatedAtT = Aws::Utils::DateTime>
112 m_updatedAtHasBeenSet =
true;
113 m_updatedAt = std::forward<UpdatedAtT>(value);
115 template <
typename UpdatedAtT = Aws::Utils::DateTime>
128 m_directionHasBeenSet =
true;
142 template <
typename FlowModulesT = Aws::Vector<ModuleConfiguration>>
144 m_flowModulesHasBeenSet =
true;
145 m_flowModules = std::forward<FlowModulesT>(value);
147 template <
typename FlowModulesT = Aws::Vector<ModuleConfiguration>>
152 template <
typename FlowModulesT = ModuleConfiguration>
154 m_flowModulesHasBeenSet =
true;
155 m_flowModules.emplace_back(std::forward<FlowModulesT>(value));
165 template <
typename PendingFlowModulesT = Aws::Vector<ModuleConfiguration>>
167 m_pendingFlowModulesHasBeenSet =
true;
168 m_pendingFlowModules = std::forward<PendingFlowModulesT>(value);
170 template <
typename PendingFlowModulesT = Aws::Vector<ModuleConfiguration>>
175 template <
typename PendingFlowModulesT = ModuleConfiguration>
177 m_pendingFlowModulesHasBeenSet =
true;
178 m_pendingFlowModules.emplace_back(std::forward<PendingFlowModulesT>(value));
188 template <
typename AttributesT = LinkAttributes>
190 m_attributesHasBeenSet =
true;
191 m_attributes = std::forward<AttributesT>(value);
193 template <
typename AttributesT = LinkAttributes>
205 template <
typename LogSettingsT = LinkLogSettings>
207 m_logSettingsHasBeenSet =
true;
208 m_logSettings = std::forward<LogSettingsT>(value);
210 template <
typename LogSettingsT = LinkLogSettings>
223 m_connectivityTypeHasBeenSet =
true;
224 m_connectivityType = value;
237 template <
typename LinkIdT = Aws::String>
239 m_linkIdHasBeenSet =
true;
240 m_linkId = std::forward<LinkIdT>(value);
242 template <
typename LinkIdT = Aws::String>
255 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
257 m_tagsHasBeenSet =
true;
258 m_tags = std::forward<TagsT>(value);
260 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
262 SetTags(std::forward<TagsT>(value));
265 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
267 m_tagsHasBeenSet =
true;
268 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
279 m_httpResponderAllowedHasBeenSet =
true;
280 m_httpResponderAllowed = value;
294 m_timeoutInMillisHasBeenSet =
true;
295 m_timeoutInMillis = value;
306 template <
typename RequestIdT = Aws::String>
308 m_requestIdHasBeenSet =
true;
309 m_requestId = std::forward<RequestIdT>(value);
311 template <
typename RequestIdT = Aws::String>
336 LinkAttributes m_attributes;
338 LinkLogSettings m_logSettings;
346 bool m_httpResponderAllowed{
false};
348 long long m_timeoutInMillis{0};
352 bool m_gatewayIdHasBeenSet =
false;
353 bool m_peerGatewayIdHasBeenSet =
false;
354 bool m_statusHasBeenSet =
false;
355 bool m_createdAtHasBeenSet =
false;
356 bool m_updatedAtHasBeenSet =
false;
357 bool m_directionHasBeenSet =
false;
358 bool m_flowModulesHasBeenSet =
false;
359 bool m_pendingFlowModulesHasBeenSet =
false;
360 bool m_attributesHasBeenSet =
false;
361 bool m_logSettingsHasBeenSet =
false;
362 bool m_connectivityTypeHasBeenSet =
false;
363 bool m_linkIdHasBeenSet =
false;
364 bool m_tagsHasBeenSet =
false;
365 bool m_httpResponderAllowedHasBeenSet =
false;
366 bool m_timeoutInMillisHasBeenSet =
false;
367 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetPeerGatewayId() const
LinkStatus GetStatus() const
const LinkAttributes & GetAttributes() const
GetLinkResult & WithGatewayId(GatewayIdT &&value)
GetLinkResult & WithConnectivityType(ConnectivityType value)
void SetGatewayId(GatewayIdT &&value)
void SetFlowModules(FlowModulesT &&value)
const LinkLogSettings & GetLogSettings() const
const Aws::String & GetLinkId() const
GetLinkResult & WithPeerGatewayId(PeerGatewayIdT &&value)
const Aws::Vector< ModuleConfiguration > & GetPendingFlowModules() const
GetLinkResult & WithTimeoutInMillis(long long value)
void SetPeerGatewayId(PeerGatewayIdT &&value)
GetLinkResult & WithLinkId(LinkIdT &&value)
const Aws::String & GetRequestId() const
long long GetTimeoutInMillis() const
void SetConnectivityType(ConnectivityType value)
GetLinkResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetHttpResponderAllowed(bool value)
void SetTimeoutInMillis(long long value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetTags(TagsT &&value)
ConnectivityType GetConnectivityType() const
LinkDirection GetDirection() const
void SetPendingFlowModules(PendingFlowModulesT &&value)
GetLinkResult & WithLogSettings(LogSettingsT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_RTBFABRIC_API GetLinkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLogSettings(LogSettingsT &&value)
const Aws::Vector< ModuleConfiguration > & GetFlowModules() const
GetLinkResult & WithUpdatedAt(UpdatedAtT &&value)
GetLinkResult & WithHttpResponderAllowed(bool value)
bool GetHttpResponderAllowed() const
void SetStatus(LinkStatus value)
GetLinkResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetLinkId(LinkIdT &&value)
GetLinkResult & WithPendingFlowModules(PendingFlowModulesT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetGatewayId() const
GetLinkResult & WithFlowModules(FlowModulesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetLinkResult & WithDirection(LinkDirection value)
GetLinkResult & WithAttributes(AttributesT &&value)
void SetAttributes(AttributesT &&value)
GetLinkResult & WithCreatedAt(CreatedAtT &&value)
GetLinkResult & AddPendingFlowModules(PendingFlowModulesT &&value)
GetLinkResult & AddFlowModules(FlowModulesT &&value)
AWS_RTBFABRIC_API GetLinkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_RTBFABRIC_API GetLinkResult()=default
void SetDirection(LinkDirection value)
GetLinkResult & WithStatus(LinkStatus value)
GetLinkResult & WithTags(TagsT &&value)
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