7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GrpcRouteAction.h>
9#include <aws/appmesh/model/GrpcRouteMatch.h>
10#include <aws/appmesh/model/GrpcRetryPolicy.h>
11#include <aws/appmesh/model/GrpcTimeout.h>
49 template<
typename ActionT = GrpcRouteAction>
50 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
51 template<
typename ActionT = GrpcRouteAction>
61 template<
typename MatchT = GrpcRouteMatch>
62 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
63 template<
typename MatchT = GrpcRouteMatch>
73 template<
typename RetryPolicyT = GrpcRetryPolicy>
74 void SetRetryPolicy(RetryPolicyT&& value) { m_retryPolicyHasBeenSet =
true; m_retryPolicy = std::forward<RetryPolicyT>(value); }
75 template<
typename RetryPolicyT = GrpcRetryPolicy>
85 template<
typename TimeoutT = GrpcTimeout>
86 void SetTimeout(TimeoutT&& value) { m_timeoutHasBeenSet =
true; m_timeout = std::forward<TimeoutT>(value); }
87 template<
typename TimeoutT = GrpcTimeout>
93 bool m_actionHasBeenSet =
false;
96 bool m_matchHasBeenSet =
false;
99 bool m_retryPolicyHasBeenSet =
false;
102 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