7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rtbfabric/RTBFabricRequest.h>
11#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
12#include <aws/rtbfabric/model/RuleCondition.h>
49 template <
typename ClientTokenT = Aws::String>
51 m_clientTokenHasBeenSet =
true;
52 m_clientToken = std::forward<ClientTokenT>(value);
54 template <
typename ClientTokenT = Aws::String>
67 template <
typename GatewayIdT = Aws::String>
69 m_gatewayIdHasBeenSet =
true;
70 m_gatewayId = std::forward<GatewayIdT>(value);
72 template <
typename GatewayIdT = Aws::String>
85 template <
typename LinkIdT = Aws::String>
87 m_linkIdHasBeenSet =
true;
88 m_linkId = std::forward<LinkIdT>(value);
90 template <
typename LinkIdT = Aws::String>
106 m_priorityHasBeenSet =
true;
122 template <
typename ConditionsT = RuleCondition>
124 m_conditionsHasBeenSet =
true;
125 m_conditions = std::forward<ConditionsT>(value);
127 template <
typename ConditionsT = RuleCondition>
141 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 m_tagsHasBeenSet =
true;
144 m_tags = std::forward<TagsT>(value);
146 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 SetTags(std::forward<TagsT>(value));
151 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
153 m_tagsHasBeenSet =
true;
154 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
167 RuleCondition m_conditions;
170 bool m_clientTokenHasBeenSet =
true;
171 bool m_gatewayIdHasBeenSet =
false;
172 bool m_linkIdHasBeenSet =
false;
173 bool m_priorityHasBeenSet =
false;
174 bool m_conditionsHasBeenSet =
false;
175 bool m_tagsHasBeenSet =
false;
CreateLinkRoutingRuleRequest & WithClientToken(ClientTokenT &&value)
CreateLinkRoutingRuleRequest & WithGatewayId(GatewayIdT &&value)
AWS_RTBFABRIC_API Aws::String SerializePayload() const override
CreateLinkRoutingRuleRequest & WithPriority(int value)
bool PriorityHasBeenSet() const
AWS_RTBFABRIC_API CreateLinkRoutingRuleRequest()=default
CreateLinkRoutingRuleRequest & WithConditions(ConditionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ClientTokenHasBeenSet() const
void SetGatewayId(GatewayIdT &&value)
void SetLinkId(LinkIdT &&value)
bool TagsHasBeenSet() const
void SetConditions(ConditionsT &&value)
CreateLinkRoutingRuleRequest & WithTags(TagsT &&value)
void SetPriority(int value)
void SetTags(TagsT &&value)
bool GatewayIdHasBeenSet() const
bool ConditionsHasBeenSet() const
const Aws::String & GetLinkId() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
CreateLinkRoutingRuleRequest & WithLinkId(LinkIdT &&value)
void SetClientToken(ClientTokenT &&value)
const RuleCondition & GetConditions() const
bool LinkIdHasBeenSet() const
const Aws::String & GetGatewayId() const
CreateLinkRoutingRuleRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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