AWS SDK for C++  1.9.131
AWS SDK for C++
GatewayRouteHostnameRewrite.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppMesh
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const DefaultGatewayRouteRewrite& GetDefaultTargetHostname() const{ return m_defaultTargetHostname; }
45 
49  inline bool DefaultTargetHostnameHasBeenSet() const { return m_defaultTargetHostnameHasBeenSet; }
50 
54  inline void SetDefaultTargetHostname(const DefaultGatewayRouteRewrite& value) { m_defaultTargetHostnameHasBeenSet = true; m_defaultTargetHostname = value; }
55 
59  inline void SetDefaultTargetHostname(DefaultGatewayRouteRewrite&& value) { m_defaultTargetHostnameHasBeenSet = true; m_defaultTargetHostname = std::move(value); }
60 
64  inline GatewayRouteHostnameRewrite& WithDefaultTargetHostname(const DefaultGatewayRouteRewrite& value) { SetDefaultTargetHostname(value); return *this;}
65 
69  inline GatewayRouteHostnameRewrite& WithDefaultTargetHostname(DefaultGatewayRouteRewrite&& value) { SetDefaultTargetHostname(std::move(value)); return *this;}
70 
71  private:
72 
73  DefaultGatewayRouteRewrite m_defaultTargetHostname;
74  bool m_defaultTargetHostnameHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace AppMesh
79 } // namespace Aws
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::GatewayRouteHostnameRewrite
GatewayRouteHostnameRewrite()
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::operator=
GatewayRouteHostnameRewrite & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::DefaultGatewayRouteRewrite
DefaultGatewayRouteRewrite
Definition: DefaultGatewayRouteRewrite.h:17
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::WithDefaultTargetHostname
GatewayRouteHostnameRewrite & WithDefaultTargetHostname(DefaultGatewayRouteRewrite &&value)
Definition: GatewayRouteHostnameRewrite.h:69
AppMesh_EXPORTS.h
Aws::AppMesh::Model::GatewayRouteHostnameRewrite
Definition: GatewayRouteHostnameRewrite.h:33
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::DefaultTargetHostnameHasBeenSet
bool DefaultTargetHostnameHasBeenSet() const
Definition: GatewayRouteHostnameRewrite.h:49
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::SetDefaultTargetHostname
void SetDefaultTargetHostname(const DefaultGatewayRouteRewrite &value)
Definition: GatewayRouteHostnameRewrite.h:54
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::GetDefaultTargetHostname
const DefaultGatewayRouteRewrite & GetDefaultTargetHostname() const
Definition: GatewayRouteHostnameRewrite.h:44
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::SetDefaultTargetHostname
void SetDefaultTargetHostname(DefaultGatewayRouteRewrite &&value)
Definition: GatewayRouteHostnameRewrite.h:59
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::GatewayRouteHostnameRewrite
GatewayRouteHostnameRewrite(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::GatewayRouteHostnameRewrite::WithDefaultTargetHostname
GatewayRouteHostnameRewrite & WithDefaultTargetHostname(const DefaultGatewayRouteRewrite &value)
Definition: GatewayRouteHostnameRewrite.h:64
DefaultGatewayRouteRewrite.h
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28