AWS SDK for C++  1.9.130
AWS SDK for C++
Workflow.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 SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
62  inline const WorkflowStatus& GetStatus() const{ return m_status; }
63 
85  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 
108  inline void SetStatus(const WorkflowStatus& value) { m_statusHasBeenSet = true; m_status = value; }
109 
131  inline void SetStatus(WorkflowStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 
154  inline Workflow& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;}
155 
177  inline Workflow& WithStatus(WorkflowStatus&& value) { SetStatus(std::move(value)); return *this;}
178 
179  private:
180 
181  WorkflowStatus m_status;
182  bool m_statusHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace SecurityHub
187 } // namespace Aws
Aws::SecurityHub::Model::Workflow
Definition: Workflow.h:33
Aws::SecurityHub::Model::Workflow::GetStatus
const WorkflowStatus & GetStatus() const
Definition: Workflow.h:62
Aws::SecurityHub::Model::Workflow::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::Workflow::operator=
Workflow & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::Workflow::SetStatus
void SetStatus(WorkflowStatus &&value)
Definition: Workflow.h:131
Aws::SecurityHub::Model::Workflow::Workflow
Workflow()
Aws::SecurityHub::Model::Workflow::WithStatus
Workflow & WithStatus(WorkflowStatus &&value)
Definition: Workflow.h:177
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::WorkflowStatus
WorkflowStatus
Definition: WorkflowStatus.h:17
Aws::SecurityHub::Model::Workflow::WithStatus
Workflow & WithStatus(const WorkflowStatus &value)
Definition: Workflow.h:154
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::Workflow::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Workflow.h:85
WorkflowStatus.h
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::Workflow::Workflow
Workflow(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Workflow::SetStatus
void SetStatus(const WorkflowStatus &value)
Definition: Workflow.h:108