AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkspaceStatus.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/WorkspaceStatusCode.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PrometheusService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PROMETHEUSSERVICE_API WorkspaceStatus();
35 AWS_PROMETHEUSSERVICE_API WorkspaceStatus(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PROMETHEUSSERVICE_API WorkspaceStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const WorkspaceStatusCode& GetStatusCode() const{ return m_statusCode; }
45 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
46 inline void SetStatusCode(const WorkspaceStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
47 inline void SetStatusCode(WorkspaceStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
48 inline WorkspaceStatus& WithStatusCode(const WorkspaceStatusCode& value) { SetStatusCode(value); return *this;}
49 inline WorkspaceStatus& WithStatusCode(WorkspaceStatusCode&& value) { SetStatusCode(std::move(value)); return *this;}
51 private:
52
53 WorkspaceStatusCode m_statusCode;
54 bool m_statusCodeHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace PrometheusService
59} // namespace Aws
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatusCode(const WorkspaceStatusCode &value)
AWS_PROMETHEUSSERVICE_API WorkspaceStatus(Aws::Utils::Json::JsonView jsonValue)
void SetStatusCode(WorkspaceStatusCode &&value)
WorkspaceStatus & WithStatusCode(WorkspaceStatusCode &&value)
WorkspaceStatus & WithStatusCode(const WorkspaceStatusCode &value)
const WorkspaceStatusCode & GetStatusCode() const
AWS_PROMETHEUSSERVICE_API WorkspaceStatus()
AWS_PROMETHEUSSERVICE_API WorkspaceStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue