AWS SDK for C++  1.9.131
AWS SDK for C++
GrpcGatewayRouteRewrite.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 GatewayRouteHostnameRewrite& GetHostname() const{ return m_hostname; }
45 
49  inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
50 
54  inline void SetHostname(const GatewayRouteHostnameRewrite& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
55 
59  inline void SetHostname(GatewayRouteHostnameRewrite&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
60 
64  inline GrpcGatewayRouteRewrite& WithHostname(const GatewayRouteHostnameRewrite& value) { SetHostname(value); return *this;}
65 
69  inline GrpcGatewayRouteRewrite& WithHostname(GatewayRouteHostnameRewrite&& value) { SetHostname(std::move(value)); return *this;}
70 
71  private:
72 
73  GatewayRouteHostnameRewrite m_hostname;
74  bool m_hostnameHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace AppMesh
79 } // namespace Aws
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::operator=
GrpcGatewayRouteRewrite & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayRouteHostnameRewrite.h
Aws::AppMesh::Model::GrpcGatewayRouteRewrite
Definition: GrpcGatewayRouteRewrite.h:33
AppMesh_EXPORTS.h
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::WithHostname
GrpcGatewayRouteRewrite & WithHostname(const GatewayRouteHostnameRewrite &value)
Definition: GrpcGatewayRouteRewrite.h:64
Aws::AppMesh::Model::GatewayRouteHostnameRewrite
Definition: GatewayRouteHostnameRewrite.h:33
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::GrpcGatewayRouteRewrite
GrpcGatewayRouteRewrite(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::GetHostname
const GatewayRouteHostnameRewrite & GetHostname() const
Definition: GrpcGatewayRouteRewrite.h:44
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::WithHostname
GrpcGatewayRouteRewrite & WithHostname(GatewayRouteHostnameRewrite &&value)
Definition: GrpcGatewayRouteRewrite.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::SetHostname
void SetHostname(const GatewayRouteHostnameRewrite &value)
Definition: GrpcGatewayRouteRewrite.h:54
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::HostnameHasBeenSet
bool HostnameHasBeenSet() const
Definition: GrpcGatewayRouteRewrite.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::SetHostname
void SetHostname(GatewayRouteHostnameRewrite &&value)
Definition: GrpcGatewayRouteRewrite.h:59
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::GrpcGatewayRouteRewrite
GrpcGatewayRouteRewrite()
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::GrpcGatewayRouteRewrite::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const