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