AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowUpdate.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/WorkflowStatus.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 SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API WorkflowUpdate();
36 AWS_SECURITYHUB_API WorkflowUpdate(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API WorkflowUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
63 inline const WorkflowStatus& GetStatus() const{ return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(const WorkflowStatus& value) { m_statusHasBeenSet = true; m_status = value; }
66 inline void SetStatus(WorkflowStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
67 inline WorkflowUpdate& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;}
68 inline WorkflowUpdate& WithStatus(WorkflowStatus&& value) { SetStatus(std::move(value)); return *this;}
70 private:
71
72 WorkflowStatus m_status;
73 bool m_statusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
AWS_SECURITYHUB_API WorkflowUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const WorkflowStatus &value)
WorkflowUpdate & WithStatus(const WorkflowStatus &value)
AWS_SECURITYHUB_API WorkflowUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowUpdate & WithStatus(WorkflowStatus &&value)
void SetStatus(WorkflowStatus &&value)
const WorkflowStatus & GetStatus() const
Aws::Utils::Json::JsonValue JsonValue