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