7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GrpcRetryPolicy.h>
9#include <aws/appmesh/model/GrpcRouteAction.h>
10#include <aws/appmesh/model/GrpcRouteMatch.h>
11#include <aws/appmesh/model/GrpcTimeout.h>
43 template <
typename ActionT = GrpcRouteAction>
45 m_actionHasBeenSet =
true;
46 m_action = std::forward<ActionT>(value);
48 template <
typename ActionT = GrpcRouteAction>
61 template <
typename MatchT = GrpcRouteMatch>
63 m_matchHasBeenSet =
true;
64 m_match = std::forward<MatchT>(value);
66 template <
typename MatchT = GrpcRouteMatch>
68 SetMatch(std::forward<MatchT>(value));
79 template <
typename RetryPolicyT = GrpcRetryPolicy>
81 m_retryPolicyHasBeenSet =
true;
82 m_retryPolicy = std::forward<RetryPolicyT>(value);
84 template <
typename RetryPolicyT = GrpcRetryPolicy>
97 template <
typename TimeoutT = GrpcTimeout>
99 m_timeoutHasBeenSet =
true;
100 m_timeout = std::forward<TimeoutT>(value);
102 template <
typename TimeoutT = GrpcTimeout>
116 bool m_actionHasBeenSet =
false;
117 bool m_matchHasBeenSet =
false;
118 bool m_retryPolicyHasBeenSet =
false;
119 bool m_timeoutHasBeenSet =
false;
bool TimeoutHasBeenSet() const
void SetRetryPolicy(RetryPolicyT &&value)
bool ActionHasBeenSet() const
bool MatchHasBeenSet() const
GrpcRoute & WithAction(ActionT &&value)
void SetMatch(MatchT &&value)
void SetAction(ActionT &&value)
const GrpcRetryPolicy & GetRetryPolicy() const
GrpcRoute & WithMatch(MatchT &&value)
GrpcRoute & WithTimeout(TimeoutT &&value)
AWS_APPMESH_API GrpcRoute()=default
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API GrpcRoute(Aws::Utils::Json::JsonView jsonValue)
bool RetryPolicyHasBeenSet() const
const GrpcRouteMatch & GetMatch() const
GrpcRoute & WithRetryPolicy(RetryPolicyT &&value)
void SetTimeout(TimeoutT &&value)
const GrpcTimeout & GetTimeout() const
AWS_APPMESH_API GrpcRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
const GrpcRouteAction & GetAction() const
Aws::Utils::Json::JsonValue JsonValue