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