AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SeverityLevel.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/DataIdentifierSeverity.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 Macie2
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_MACIE2_API SeverityLevel() = default;
38 AWS_MACIE2_API SeverityLevel(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline long long GetOccurrencesThreshold() const { return m_occurrencesThreshold; }
50 inline bool OccurrencesThresholdHasBeenSet() const { return m_occurrencesThresholdHasBeenSet; }
51 inline void SetOccurrencesThreshold(long long value) { m_occurrencesThresholdHasBeenSet = true; m_occurrencesThreshold = value; }
52 inline SeverityLevel& WithOccurrencesThreshold(long long value) { SetOccurrencesThreshold(value); return *this;}
54
56
63 inline DataIdentifierSeverity GetSeverity() const { return m_severity; }
64 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
65 inline void SetSeverity(DataIdentifierSeverity value) { m_severityHasBeenSet = true; m_severity = value; }
66 inline SeverityLevel& WithSeverity(DataIdentifierSeverity value) { SetSeverity(value); return *this;}
68 private:
69
70 long long m_occurrencesThreshold{0};
71 bool m_occurrencesThresholdHasBeenSet = false;
72
74 bool m_severityHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
SeverityLevel & WithSeverity(DataIdentifierSeverity value)
long long GetOccurrencesThreshold() const
AWS_MACIE2_API SeverityLevel()=default
void SetOccurrencesThreshold(long long value)
AWS_MACIE2_API SeverityLevel(Aws::Utils::Json::JsonView jsonValue)
DataIdentifierSeverity GetSeverity() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSeverity(DataIdentifierSeverity value)
SeverityLevel & WithOccurrencesThreshold(long long value)
AWS_MACIE2_API SeverityLevel & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue