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/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ApiGatewayV2 {
38 template <
typename ActionsT = Aws::Vector<RoutingRuleAction>>
40 m_actionsHasBeenSet =
true;
41 m_actions = std::forward<ActionsT>(value);
43 template <
typename ActionsT = Aws::Vector<RoutingRuleAction>>
48 template <
typename ActionsT = RoutingRuleAction>
50 m_actionsHasBeenSet =
true;
51 m_actions.emplace_back(std::forward<ActionsT>(value));
61 template <
typename ConditionsT = Aws::Vector<RoutingRuleCondition>>
63 m_conditionsHasBeenSet =
true;
64 m_conditions = std::forward<ConditionsT>(value);
66 template <
typename ConditionsT = Aws::Vector<RoutingRuleCondition>>
71 template <
typename ConditionsT = RoutingRuleCondition>
73 m_conditionsHasBeenSet =
true;
74 m_conditions.emplace_back(std::forward<ConditionsT>(value));
85 m_priorityHasBeenSet =
true;
99 template <
typename RoutingRuleArnT = Aws::String>
101 m_routingRuleArnHasBeenSet =
true;
102 m_routingRuleArn = std::forward<RoutingRuleArnT>(value);
104 template <
typename RoutingRuleArnT = Aws::String>
116 template <
typename RoutingRuleIdT = Aws::String>
118 m_routingRuleIdHasBeenSet =
true;
119 m_routingRuleId = std::forward<RoutingRuleIdT>(value);
121 template <
typename RoutingRuleIdT = Aws::String>
131 template <
typename RequestIdT = Aws::String>
133 m_requestIdHasBeenSet =
true;
134 m_requestId = std::forward<RequestIdT>(value);
136 template <
typename RequestIdT = Aws::String>
157 bool m_actionsHasBeenSet =
false;
158 bool m_conditionsHasBeenSet =
false;
159 bool m_priorityHasBeenSet =
false;
160 bool m_routingRuleArnHasBeenSet =
false;
161 bool m_routingRuleIdHasBeenSet =
false;
162 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRoutingRuleArn(RoutingRuleArnT &&value)
AWS_APIGATEWAYV2_API PutRoutingRuleResult()=default
PutRoutingRuleResult & AddConditions(ConditionsT &&value)
const Aws::Vector< RoutingRuleCondition > & GetConditions() const
PutRoutingRuleResult & WithRequestId(RequestIdT &&value)
void SetActions(ActionsT &&value)
PutRoutingRuleResult & WithRoutingRuleArn(RoutingRuleArnT &&value)
void SetRequestId(RequestIdT &&value)
void SetPriority(int value)
PutRoutingRuleResult & WithRoutingRuleId(RoutingRuleIdT &&value)
const Aws::Vector< RoutingRuleAction > & GetActions() const
AWS_APIGATEWAYV2_API PutRoutingRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAYV2_API PutRoutingRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRoutingRuleResult & WithPriority(int value)
const Aws::String & GetRoutingRuleId() const
PutRoutingRuleResult & WithConditions(ConditionsT &&value)
PutRoutingRuleResult & AddActions(ActionsT &&value)
void SetConditions(ConditionsT &&value)
const Aws::String & GetRequestId() const
PutRoutingRuleResult & WithActions(ActionsT &&value)
void SetRoutingRuleId(RoutingRuleIdT &&value)
const Aws::String & GetRoutingRuleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue