AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutomationRulesAction.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AutomationRulesActionType.h>
9#include <aws/securityhub/model/AutomationRulesFindingFieldsUpdate.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AutomationRulesAction();
37 AWS_SECURITYHUB_API AutomationRulesAction(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AutomationRulesActionType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const AutomationRulesActionType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(AutomationRulesActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline AutomationRulesAction& WithType(const AutomationRulesActionType& value) { SetType(value); return *this;}
52 inline AutomationRulesAction& WithType(AutomationRulesActionType&& value) { SetType(std::move(value)); return *this;}
54
56
60 inline const AutomationRulesFindingFieldsUpdate& GetFindingFieldsUpdate() const{ return m_findingFieldsUpdate; }
61 inline bool FindingFieldsUpdateHasBeenSet() const { return m_findingFieldsUpdateHasBeenSet; }
62 inline void SetFindingFieldsUpdate(const AutomationRulesFindingFieldsUpdate& value) { m_findingFieldsUpdateHasBeenSet = true; m_findingFieldsUpdate = value; }
63 inline void SetFindingFieldsUpdate(AutomationRulesFindingFieldsUpdate&& value) { m_findingFieldsUpdateHasBeenSet = true; m_findingFieldsUpdate = std::move(value); }
67 private:
68
70 bool m_typeHasBeenSet = false;
71
72 AutomationRulesFindingFieldsUpdate m_findingFieldsUpdate;
73 bool m_findingFieldsUpdateHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
void SetFindingFieldsUpdate(AutomationRulesFindingFieldsUpdate &&value)
AutomationRulesAction & WithType(const AutomationRulesActionType &value)
AWS_SECURITYHUB_API AutomationRulesAction(Aws::Utils::Json::JsonView jsonValue)
void SetType(AutomationRulesActionType &&value)
void SetType(const AutomationRulesActionType &value)
const AutomationRulesActionType & GetType() const
AutomationRulesAction & WithType(AutomationRulesActionType &&value)
AutomationRulesAction & WithFindingFieldsUpdate(AutomationRulesFindingFieldsUpdate &&value)
const AutomationRulesFindingFieldsUpdate & GetFindingFieldsUpdate() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFindingFieldsUpdate(const AutomationRulesFindingFieldsUpdate &value)
AWS_SECURITYHUB_API AutomationRulesAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomationRulesAction & WithFindingFieldsUpdate(const AutomationRulesFindingFieldsUpdate &value)
Aws::Utils::Json::JsonValue JsonValue