AWS SDK for C++  1.9.20
AWS SDK for C++
GatewayRouteVirtualService.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 Aws::String& GetVirtualServiceName() const{ return m_virtualServiceName; }
45 
49  inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; }
50 
54  inline void SetVirtualServiceName(const Aws::String& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = value; }
55 
59  inline void SetVirtualServiceName(Aws::String&& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = std::move(value); }
60 
64  inline void SetVirtualServiceName(const char* value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName.assign(value); }
65 
69  inline GatewayRouteVirtualService& WithVirtualServiceName(const Aws::String& value) { SetVirtualServiceName(value); return *this;}
70 
74  inline GatewayRouteVirtualService& WithVirtualServiceName(Aws::String&& value) { SetVirtualServiceName(std::move(value)); return *this;}
75 
79  inline GatewayRouteVirtualService& WithVirtualServiceName(const char* value) { SetVirtualServiceName(value); return *this;}
80 
81  private:
82 
83  Aws::String m_virtualServiceName;
84  bool m_virtualServiceNameHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace AppMesh
89 } // namespace Aws
Aws::AppMesh::Model::GatewayRouteVirtualService::GatewayRouteVirtualService
GatewayRouteVirtualService(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GatewayRouteVirtualService::SetVirtualServiceName
void SetVirtualServiceName(const Aws::String &value)
Definition: GatewayRouteVirtualService.h:54
AppMesh_EXPORTS.h
Aws::AppMesh::Model::GatewayRouteVirtualService::operator=
GatewayRouteVirtualService & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GatewayRouteVirtualService::GetVirtualServiceName
const Aws::String & GetVirtualServiceName() const
Definition: GatewayRouteVirtualService.h:44
Aws::AppMesh::Model::GatewayRouteVirtualService::SetVirtualServiceName
void SetVirtualServiceName(const char *value)
Definition: GatewayRouteVirtualService.h:64
Aws::AppMesh::Model::GatewayRouteVirtualService::GatewayRouteVirtualService
GatewayRouteVirtualService()
Aws::AppMesh::Model::GatewayRouteVirtualService::WithVirtualServiceName
GatewayRouteVirtualService & WithVirtualServiceName(const Aws::String &value)
Definition: GatewayRouteVirtualService.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::AppMesh::Model::GatewayRouteVirtualService::SetVirtualServiceName
void SetVirtualServiceName(Aws::String &&value)
Definition: GatewayRouteVirtualService.h:59
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::GatewayRouteVirtualService::WithVirtualServiceName
GatewayRouteVirtualService & WithVirtualServiceName(Aws::String &&value)
Definition: GatewayRouteVirtualService.h:74
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::GatewayRouteVirtualService::WithVirtualServiceName
GatewayRouteVirtualService & WithVirtualServiceName(const char *value)
Definition: GatewayRouteVirtualService.h:79
Aws::AppMesh::Model::GatewayRouteVirtualService
Definition: GatewayRouteVirtualService.h:33
Aws::AppMesh::Model::GatewayRouteVirtualService::VirtualServiceNameHasBeenSet
bool VirtualServiceNameHasBeenSet() const
Definition: GatewayRouteVirtualService.h:49
Aws::AppMesh::Model::GatewayRouteVirtualService::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28