AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AutomationRulesFindingFieldsUpdateV2.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 AutomationRulesFindingFieldsUpdateV2() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetSeverityId() const { return m_severityId; }
47 inline bool SeverityIdHasBeenSet() const { return m_severityIdHasBeenSet; }
48 inline void SetSeverityId(int value) { m_severityIdHasBeenSet = true; m_severityId = value; }
49 inline AutomationRulesFindingFieldsUpdateV2& WithSeverityId(int value) { SetSeverityId(value); return *this;}
51
53
57 inline const Aws::String& GetComment() const { return m_comment; }
58 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
59 template<typename CommentT = Aws::String>
60 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
61 template<typename CommentT = Aws::String>
62 AutomationRulesFindingFieldsUpdateV2& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
64
66
69 inline int GetStatusId() const { return m_statusId; }
70 inline bool StatusIdHasBeenSet() const { return m_statusIdHasBeenSet; }
71 inline void SetStatusId(int value) { m_statusIdHasBeenSet = true; m_statusId = value; }
72 inline AutomationRulesFindingFieldsUpdateV2& WithStatusId(int value) { SetStatusId(value); return *this;}
74 private:
75
76 int m_severityId{0};
77 bool m_severityIdHasBeenSet = false;
78
79 Aws::String m_comment;
80 bool m_commentHasBeenSet = false;
81
82 int m_statusId{0};
83 bool m_statusIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SecurityHub
88} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdateV2(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdateV2()=default
AutomationRulesFindingFieldsUpdateV2 & WithComment(CommentT &&value)
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdateV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue