7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/TcpRouteAction.h>
9#include <aws/appmesh/model/TcpRouteMatch.h>
10#include <aws/appmesh/model/TcpTimeout.h>
48 template<
typename ActionT = TcpRouteAction>
49 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
50 template<
typename ActionT = TcpRouteAction>
60 template<
typename MatchT = TcpRouteMatch>
61 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
62 template<
typename MatchT = TcpRouteMatch>
72 template<
typename TimeoutT = TcpTimeout>
73 void SetTimeout(TimeoutT&& value) { m_timeoutHasBeenSet =
true; m_timeout = std::forward<TimeoutT>(value); }
74 template<
typename TimeoutT = TcpTimeout>
80 bool m_actionHasBeenSet =
false;
83 bool m_matchHasBeenSet =
false;
86 bool m_timeoutHasBeenSet =
false;
void SetAction(ActionT &&value)
void SetTimeout(TimeoutT &&value)
bool ActionHasBeenSet() const
AWS_APPMESH_API TcpRoute()=default
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeoutHasBeenSet() const
TcpRoute & WithTimeout(TimeoutT &&value)
TcpRoute & WithAction(ActionT &&value)
AWS_APPMESH_API TcpRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMatch(MatchT &&value)
const TcpTimeout & GetTimeout() const
bool MatchHasBeenSet() const
AWS_APPMESH_API TcpRoute(Aws::Utils::Json::JsonView jsonValue)
TcpRoute & WithMatch(MatchT &&value)
const TcpRouteAction & GetAction() const
const TcpRouteMatch & GetMatch() const
Aws::Utils::Json::JsonValue JsonValue