AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const SeverityLabel& GetLabel() const{ return m_label; }
79 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
80 inline void SetLabel(const SeverityLabel& value) { m_labelHasBeenSet = true; m_label = value; }
81 inline void SetLabel(SeverityLabel&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
82 inline SeverityUpdate& WithLabel(const SeverityLabel& value) { SetLabel(value); return *this;}
83 inline SeverityUpdate& WithLabel(SeverityLabel&& value) { SetLabel(std::move(value)); return *this;}
85 private:
86
87 int m_normalized;
88 bool m_normalizedHasBeenSet = false;
89
90 double m_product;
91 bool m_productHasBeenSet = false;
92
93 SeverityLabel m_label;
94 bool m_labelHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SecurityHub
99} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SeverityUpdate & WithLabel(SeverityLabel &&value)
SeverityUpdate & WithLabel(const SeverityLabel &value)
SeverityUpdate & WithProduct(double value)
SeverityUpdate & WithNormalized(int value)
const SeverityLabel & GetLabel() const
void SetLabel(SeverityLabel &&value)
AWS_SECURITYHUB_API SeverityUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLabel(const SeverityLabel &value)
AWS_SECURITYHUB_API SeverityUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue