AWS SDK for C++  1.9.17
AWS SDK for C++
GrpcGatewayRouteMatch.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 
45  inline const Aws::String& GetServiceName() const{ return m_serviceName; }
46 
51  inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
52 
57  inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
58 
63  inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
64 
69  inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
70 
75  inline GrpcGatewayRouteMatch& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
76 
81  inline GrpcGatewayRouteMatch& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
82 
87  inline GrpcGatewayRouteMatch& WithServiceName(const char* value) { SetServiceName(value); return *this;}
88 
89  private:
90 
91  Aws::String m_serviceName;
92  bool m_serviceNameHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace AppMesh
97 } // namespace Aws
Aws::AppMesh::Model::GrpcGatewayRouteMatch::SetServiceName
void SetServiceName(Aws::String &&value)
Definition: GrpcGatewayRouteMatch.h:63
Aws::AppMesh::Model::GrpcGatewayRouteMatch::WithServiceName
GrpcGatewayRouteMatch & WithServiceName(const char *value)
Definition: GrpcGatewayRouteMatch.h:87
Aws::AppMesh::Model::GrpcGatewayRouteMatch::GrpcGatewayRouteMatch
GrpcGatewayRouteMatch()
AppMesh_EXPORTS.h
Aws::AppMesh::Model::GrpcGatewayRouteMatch::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::GrpcGatewayRouteMatch::WithServiceName
GrpcGatewayRouteMatch & WithServiceName(Aws::String &&value)
Definition: GrpcGatewayRouteMatch.h:81
Aws::AppMesh::Model::GrpcGatewayRouteMatch::ServiceNameHasBeenSet
bool ServiceNameHasBeenSet() const
Definition: GrpcGatewayRouteMatch.h:51
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::GrpcGatewayRouteMatch::GrpcGatewayRouteMatch
GrpcGatewayRouteMatch(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GrpcGatewayRouteMatch::SetServiceName
void SetServiceName(const Aws::String &value)
Definition: GrpcGatewayRouteMatch.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::GrpcGatewayRouteMatch::GetServiceName
const Aws::String & GetServiceName() const
Definition: GrpcGatewayRouteMatch.h:45
Aws::AppMesh::Model::GrpcGatewayRouteMatch
Definition: GrpcGatewayRouteMatch.h:33
Aws::AppMesh::Model::GrpcGatewayRouteMatch::operator=
GrpcGatewayRouteMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GrpcGatewayRouteMatch::WithServiceName
GrpcGatewayRouteMatch & WithServiceName(const Aws::String &value)
Definition: GrpcGatewayRouteMatch.h:75
Aws::AppMesh::Model::GrpcGatewayRouteMatch::SetServiceName
void SetServiceName(const char *value)
Definition: GrpcGatewayRouteMatch.h:69
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28