AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HttpGatewayRoute.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/HttpGatewayRouteAction.h>
9#include <aws/appmesh/model/HttpGatewayRouteMatch.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppMesh
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPMESH_API HttpGatewayRoute();
37 AWS_APPMESH_API HttpGatewayRoute(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const HttpGatewayRouteAction& GetAction() const{ return m_action; }
47 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
48 inline void SetAction(const HttpGatewayRouteAction& value) { m_actionHasBeenSet = true; m_action = value; }
49 inline void SetAction(HttpGatewayRouteAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
50 inline HttpGatewayRoute& WithAction(const HttpGatewayRouteAction& value) { SetAction(value); return *this;}
51 inline HttpGatewayRoute& WithAction(HttpGatewayRouteAction&& value) { SetAction(std::move(value)); return *this;}
53
55
58 inline const HttpGatewayRouteMatch& GetMatch() const{ return m_match; }
59 inline bool MatchHasBeenSet() const { return m_matchHasBeenSet; }
60 inline void SetMatch(const HttpGatewayRouteMatch& value) { m_matchHasBeenSet = true; m_match = value; }
61 inline void SetMatch(HttpGatewayRouteMatch&& value) { m_matchHasBeenSet = true; m_match = std::move(value); }
62 inline HttpGatewayRoute& WithMatch(const HttpGatewayRouteMatch& value) { SetMatch(value); return *this;}
63 inline HttpGatewayRoute& WithMatch(HttpGatewayRouteMatch&& value) { SetMatch(std::move(value)); return *this;}
65 private:
66
68 bool m_actionHasBeenSet = false;
69
71 bool m_matchHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AppMesh
76} // namespace Aws
void SetAction(HttpGatewayRouteAction &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
const HttpGatewayRouteAction & GetAction() const
HttpGatewayRoute & WithMatch(const HttpGatewayRouteMatch &value)
AWS_APPMESH_API HttpGatewayRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMatch(HttpGatewayRouteMatch &&value)
void SetAction(const HttpGatewayRouteAction &value)
const HttpGatewayRouteMatch & GetMatch() const
AWS_APPMESH_API HttpGatewayRoute(Aws::Utils::Json::JsonView jsonValue)
HttpGatewayRoute & WithAction(const HttpGatewayRouteAction &value)
HttpGatewayRoute & WithMatch(HttpGatewayRouteMatch &&value)
HttpGatewayRoute & WithAction(HttpGatewayRouteAction &&value)
void SetMatch(const HttpGatewayRouteMatch &value)
Aws::Utils::Json::JsonValue JsonValue