7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/HttpRouteAction.h>
9#include <aws/appmesh/model/HttpRouteMatch.h>
10#include <aws/appmesh/model/HttpRetryPolicy.h>
11#include <aws/appmesh/model/HttpTimeout.h>
50 template<
typename ActionT = HttpRouteAction>
51 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
52 template<
typename ActionT = HttpRouteAction>
62 template<
typename MatchT = HttpRouteMatch>
63 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
64 template<
typename MatchT = HttpRouteMatch>
74 template<
typename RetryPolicyT = HttpRetryPolicy>
75 void SetRetryPolicy(RetryPolicyT&& value) { m_retryPolicyHasBeenSet =
true; m_retryPolicy = std::forward<RetryPolicyT>(value); }
76 template<
typename RetryPolicyT = HttpRetryPolicy>
86 template<
typename TimeoutT = HttpTimeout>
87 void SetTimeout(TimeoutT&& value) { m_timeoutHasBeenSet =
true; m_timeout = std::forward<TimeoutT>(value); }
88 template<
typename TimeoutT = HttpTimeout>
94 bool m_actionHasBeenSet =
false;
97 bool m_matchHasBeenSet =
false;
100 bool m_retryPolicyHasBeenSet =
false;
103 bool m_timeoutHasBeenSet =
false;
bool MatchHasBeenSet() const
bool ActionHasBeenSet() const
const HttpRetryPolicy & GetRetryPolicy() const
void SetAction(ActionT &&value)
HttpRoute & WithAction(ActionT &&value)
const HttpTimeout & GetTimeout() const
const HttpRouteMatch & GetMatch() const
AWS_APPMESH_API HttpRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API HttpRoute()=default
AWS_APPMESH_API HttpRoute(Aws::Utils::Json::JsonView jsonValue)
HttpRoute & WithTimeout(TimeoutT &&value)
HttpRoute & WithMatch(MatchT &&value)
HttpRoute & WithRetryPolicy(RetryPolicyT &&value)
void SetTimeout(TimeoutT &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeoutHasBeenSet() const
bool RetryPolicyHasBeenSet() const
void SetRetryPolicy(RetryPolicyT &&value)
void SetMatch(MatchT &&value)
const HttpRouteAction & GetAction() const
Aws::Utils::Json::JsonValue JsonValue