AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindingProviderSeverity.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/SeverityLabel.h>
9#include <aws/core/utils/memory/stl/AWSString.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
54 {
55 public:
56 AWS_SECURITYHUB_API FindingProviderSeverity();
59 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
60
61
63
66 inline const SeverityLabel& GetLabel() const{ return m_label; }
67 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
68 inline void SetLabel(const SeverityLabel& value) { m_labelHasBeenSet = true; m_label = value; }
69 inline void SetLabel(SeverityLabel&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
70 inline FindingProviderSeverity& WithLabel(const SeverityLabel& value) { SetLabel(value); return *this;}
71 inline FindingProviderSeverity& WithLabel(SeverityLabel&& value) { SetLabel(std::move(value)); return *this;}
73
75
79 inline const Aws::String& GetOriginal() const{ return m_original; }
80 inline bool OriginalHasBeenSet() const { return m_originalHasBeenSet; }
81 inline void SetOriginal(const Aws::String& value) { m_originalHasBeenSet = true; m_original = value; }
82 inline void SetOriginal(Aws::String&& value) { m_originalHasBeenSet = true; m_original = std::move(value); }
83 inline void SetOriginal(const char* value) { m_originalHasBeenSet = true; m_original.assign(value); }
84 inline FindingProviderSeverity& WithOriginal(const Aws::String& value) { SetOriginal(value); return *this;}
85 inline FindingProviderSeverity& WithOriginal(Aws::String&& value) { SetOriginal(std::move(value)); return *this;}
86 inline FindingProviderSeverity& WithOriginal(const char* value) { SetOriginal(value); return *this;}
88 private:
89
90 SeverityLabel m_label;
91 bool m_labelHasBeenSet = false;
92
93 Aws::String m_original;
94 bool m_originalHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SecurityHub
99} // namespace Aws
FindingProviderSeverity & WithLabel(const SeverityLabel &value)
FindingProviderSeverity & WithOriginal(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
FindingProviderSeverity & WithOriginal(Aws::String &&value)
AWS_SECURITYHUB_API FindingProviderSeverity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API FindingProviderSeverity(Aws::Utils::Json::JsonView jsonValue)
FindingProviderSeverity & WithLabel(SeverityLabel &&value)
FindingProviderSeverity & WithOriginal(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue