7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/HttpRetryPolicy.h>
9#include <aws/appmesh/model/HttpRouteAction.h>
10#include <aws/appmesh/model/HttpRouteMatch.h>
11#include <aws/appmesh/model/HttpTimeout.h>
44 template <
typename ActionT = HttpRouteAction>
46 m_actionHasBeenSet =
true;
47 m_action = std::forward<ActionT>(value);
49 template <
typename ActionT = HttpRouteAction>
62 template <
typename MatchT = HttpRouteMatch>
64 m_matchHasBeenSet =
true;
65 m_match = std::forward<MatchT>(value);
67 template <
typename MatchT = HttpRouteMatch>
69 SetMatch(std::forward<MatchT>(value));
80 template <
typename RetryPolicyT = HttpRetryPolicy>
82 m_retryPolicyHasBeenSet =
true;
83 m_retryPolicy = std::forward<RetryPolicyT>(value);
85 template <
typename RetryPolicyT = HttpRetryPolicy>
98 template <
typename TimeoutT = HttpTimeout>
100 m_timeoutHasBeenSet =
true;
101 m_timeout = std::forward<TimeoutT>(value);
103 template <
typename TimeoutT = HttpTimeout>
117 bool m_actionHasBeenSet =
false;
118 bool m_matchHasBeenSet =
false;
119 bool m_retryPolicyHasBeenSet =
false;
120 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