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>
42 template <
typename ActionT = TcpRouteAction>
44 m_actionHasBeenSet =
true;
45 m_action = std::forward<ActionT>(value);
47 template <
typename ActionT = TcpRouteAction>
60 template <
typename MatchT = TcpRouteMatch>
62 m_matchHasBeenSet =
true;
63 m_match = std::forward<MatchT>(value);
65 template <
typename MatchT = TcpRouteMatch>
67 SetMatch(std::forward<MatchT>(value));
78 template <
typename TimeoutT = TcpTimeout>
80 m_timeoutHasBeenSet =
true;
81 m_timeout = std::forward<TimeoutT>(value);
83 template <
typename TimeoutT = TcpTimeout>
95 bool m_actionHasBeenSet =
false;
96 bool m_matchHasBeenSet =
false;
97 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