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