AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Workflow.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 Workflow();
36 AWS_SECURITYHUB_API Workflow(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Workflow& 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 Workflow& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;}
68 inline Workflow& 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
void SetStatus(WorkflowStatus &&value)
Definition Workflow.h:66
const WorkflowStatus & GetStatus() const
Definition Workflow.h:63
Workflow & WithStatus(WorkflowStatus &&value)
Definition Workflow.h:68
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API Workflow()
void SetStatus(const WorkflowStatus &value)
Definition Workflow.h:65
AWS_SECURITYHUB_API Workflow & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Workflow(Aws::Utils::Json::JsonView jsonValue)
Workflow & WithStatus(const WorkflowStatus &value)
Definition Workflow.h:67
Aws::Utils::Json::JsonValue JsonValue