AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SeverityUpdate.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/SeverityLabel.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 SeverityUpdate() = default;
36 AWS_SECURITYHUB_API SeverityUpdate(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API SeverityUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline int GetNormalized() const { return m_normalized; }
52 inline bool NormalizedHasBeenSet() const { return m_normalizedHasBeenSet; }
53 inline void SetNormalized(int value) { m_normalizedHasBeenSet = true; m_normalized = value; }
54 inline SeverityUpdate& WithNormalized(int value) { SetNormalized(value); return *this;}
56
58
62 inline double GetProduct() const { return m_product; }
63 inline bool ProductHasBeenSet() const { return m_productHasBeenSet; }
64 inline void SetProduct(double value) { m_productHasBeenSet = true; m_product = value; }
65 inline SeverityUpdate& WithProduct(double value) { SetProduct(value); return *this;}
67
69
78 inline SeverityLabel GetLabel() const { return m_label; }
79 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
80 inline void SetLabel(SeverityLabel value) { m_labelHasBeenSet = true; m_label = value; }
81 inline SeverityUpdate& WithLabel(SeverityLabel value) { SetLabel(value); return *this;}
83 private:
84
85 int m_normalized{0};
86 bool m_normalizedHasBeenSet = false;
87
88 double m_product{0.0};
89 bool m_productHasBeenSet = false;
90
92 bool m_labelHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SecurityHub
97} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SeverityUpdate & WithProduct(double value)
SeverityUpdate & WithNormalized(int value)
SeverityUpdate & WithLabel(SeverityLabel value)
AWS_SECURITYHUB_API SeverityUpdate()=default
AWS_SECURITYHUB_API SeverityUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API SeverityUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue