7#include <aws/core/utils/memory/stl/AWSMap.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/LinkAttributes.h>
12#include <aws/rtbfabric/model/LinkLogSettings.h>
40 template <
typename GatewayIdT = Aws::String>
42 m_gatewayIdHasBeenSet =
true;
43 m_gatewayId = std::forward<GatewayIdT>(value);
45 template <
typename GatewayIdT = Aws::String>
58 template <
typename PeerGatewayIdT = Aws::String>
60 m_peerGatewayIdHasBeenSet =
true;
61 m_peerGatewayId = std::forward<PeerGatewayIdT>(value);
63 template <
typename PeerGatewayIdT = Aws::String>
76 template <
typename AttributesT = LinkAttributes>
78 m_attributesHasBeenSet =
true;
79 m_attributes = std::forward<AttributesT>(value);
81 template <
typename AttributesT = LinkAttributes>
95 m_httpResponderAllowedHasBeenSet =
true;
96 m_httpResponderAllowed = value;
111 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 m_tagsHasBeenSet =
true;
114 m_tags = std::forward<TagsT>(value);
116 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 SetTags(std::forward<TagsT>(value));
121 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
123 m_tagsHasBeenSet =
true;
124 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
140 template <
typename LogSettingsT = LinkLogSettings>
142 m_logSettingsHasBeenSet =
true;
143 m_logSettings = std::forward<LogSettingsT>(value);
145 template <
typename LogSettingsT = LinkLogSettings>
159 m_timeoutInMillisHasBeenSet =
true;
160 m_timeoutInMillis = value;
174 bool m_httpResponderAllowed{
false};
178 LinkLogSettings m_logSettings;
180 long long m_timeoutInMillis{0};
181 bool m_gatewayIdHasBeenSet =
false;
182 bool m_peerGatewayIdHasBeenSet =
false;
183 bool m_attributesHasBeenSet =
false;
184 bool m_httpResponderAllowedHasBeenSet =
false;
185 bool m_tagsHasBeenSet =
false;
186 bool m_logSettingsHasBeenSet =
false;
187 bool m_timeoutInMillisHasBeenSet =
false;
CreateLinkRequest & WithAttributes(AttributesT &&value)
bool LogSettingsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetGatewayId(GatewayIdT &&value)
bool PeerGatewayIdHasBeenSet() const
bool GatewayIdHasBeenSet() const
CreateLinkRequest & WithHttpResponderAllowed(bool value)
void SetHttpResponderAllowed(bool value)
bool GetHttpResponderAllowed() const
void SetLogSettings(LogSettingsT &&value)
bool TagsHasBeenSet() const
CreateLinkRequest & WithTimeoutInMillis(long long value)
long long GetTimeoutInMillis() const
CreateLinkRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_RTBFABRIC_API CreateLinkRequest()=default
void SetTimeoutInMillis(long long value)
void SetTags(TagsT &&value)
CreateLinkRequest & WithGatewayId(GatewayIdT &&value)
bool AttributesHasBeenSet() const
CreateLinkRequest & WithLogSettings(LogSettingsT &&value)
CreateLinkRequest & WithTags(TagsT &&value)
const LinkLogSettings & GetLogSettings() const
const Aws::String & GetPeerGatewayId() const
bool TimeoutInMillisHasBeenSet() const
void SetAttributes(AttributesT &&value)
bool HttpResponderAllowedHasBeenSet() const
void SetPeerGatewayId(PeerGatewayIdT &&value)
AWS_RTBFABRIC_API Aws::String SerializePayload() const override
const LinkAttributes & GetAttributes() const
CreateLinkRequest & WithPeerGatewayId(PeerGatewayIdT &&value)
const Aws::String & GetGatewayId() const
virtual const char * GetServiceRequestName() const override
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