AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Macie2 {
20namespace Model {
21
31 public:
32 AWS_MACIE2_API SeverityLevel() = default;
33 AWS_MACIE2_API SeverityLevel(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline long long GetOccurrencesThreshold() const { return m_occurrencesThreshold; }
44 inline bool OccurrencesThresholdHasBeenSet() const { return m_occurrencesThresholdHasBeenSet; }
45 inline void SetOccurrencesThreshold(long long value) {
46 m_occurrencesThresholdHasBeenSet = true;
47 m_occurrencesThreshold = value;
48 }
49 inline SeverityLevel& WithOccurrencesThreshold(long long value) {
51 return *this;
52 }
54
56
63 inline DataIdentifierSeverity GetSeverity() const { return m_severity; }
64 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
66 m_severityHasBeenSet = true;
67 m_severity = value;
68 }
70 SetSeverity(value);
71 return *this;
72 }
74 private:
75 long long m_occurrencesThreshold{0};
76
78 bool m_occurrencesThresholdHasBeenSet = false;
79 bool m_severityHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Macie2
84} // 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