7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/RoutingRuleAction.h>
9#include <aws/apigatewayv2/model/RoutingRuleCondition.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ApiGatewayV2 {
37 template <
typename ActionsT = Aws::Vector<RoutingRuleAction>>
39 m_actionsHasBeenSet =
true;
40 m_actions = std::forward<ActionsT>(value);
42 template <
typename ActionsT = Aws::Vector<RoutingRuleAction>>
47 template <
typename ActionsT = RoutingRuleAction>
49 m_actionsHasBeenSet =
true;
50 m_actions.emplace_back(std::forward<ActionsT>(value));
63 template <
typename ConditionsT = Aws::Vector<RoutingRuleCondition>>
65 m_conditionsHasBeenSet =
true;
66 m_conditions = std::forward<ConditionsT>(value);
68 template <
typename ConditionsT = Aws::Vector<RoutingRuleCondition>>
73 template <
typename ConditionsT = RoutingRuleCondition>
75 m_conditionsHasBeenSet =
true;
76 m_conditions.emplace_back(std::forward<ConditionsT>(value));
87 m_priorityHasBeenSet =
true;
101 template <
typename RoutingRuleArnT = Aws::String>
103 m_routingRuleArnHasBeenSet =
true;
104 m_routingRuleArn = std::forward<RoutingRuleArnT>(value);
106 template <
typename RoutingRuleArnT = Aws::String>
118 template <
typename RoutingRuleIdT = Aws::String>
120 m_routingRuleIdHasBeenSet =
true;
121 m_routingRuleId = std::forward<RoutingRuleIdT>(value);
123 template <
typename RoutingRuleIdT = Aws::String>
133 template <
typename RequestIdT = Aws::String>
135 m_requestIdHasBeenSet =
true;
136 m_requestId = std::forward<RequestIdT>(value);
138 template <
typename RequestIdT = Aws::String>
156 bool m_actionsHasBeenSet =
false;
157 bool m_conditionsHasBeenSet =
false;
158 bool m_priorityHasBeenSet =
false;
159 bool m_routingRuleArnHasBeenSet =
false;
160 bool m_routingRuleIdHasBeenSet =
false;
161 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< RoutingRuleCondition > & GetConditions() const
void SetRoutingRuleId(RoutingRuleIdT &&value)
CreateRoutingRuleResult & WithPriority(int value)
const Aws::Vector< RoutingRuleAction > & GetActions() const
CreateRoutingRuleResult & WithRoutingRuleId(RoutingRuleIdT &&value)
const Aws::String & GetRoutingRuleArn() const
void SetActions(ActionsT &&value)
CreateRoutingRuleResult & WithActions(ActionsT &&value)
void SetConditions(ConditionsT &&value)
CreateRoutingRuleResult & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAYV2_API CreateRoutingRuleResult()=default
CreateRoutingRuleResult & WithConditions(ConditionsT &&value)
void SetPriority(int value)
void SetRequestId(RequestIdT &&value)
CreateRoutingRuleResult & AddConditions(ConditionsT &&value)
CreateRoutingRuleResult & AddActions(ActionsT &&value)
void SetRoutingRuleArn(RoutingRuleArnT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetRoutingRuleId() const
AWS_APIGATEWAYV2_API CreateRoutingRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAYV2_API CreateRoutingRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRoutingRuleResult & WithRoutingRuleArn(RoutingRuleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue