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