AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const DataIdentifierSeverity& GetSeverity() const{ return m_severity; }
64 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
65 inline void SetSeverity(const DataIdentifierSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
66 inline void SetSeverity(DataIdentifierSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
67 inline SeverityLevel& WithSeverity(const DataIdentifierSeverity& value) { SetSeverity(value); return *this;}
68 inline SeverityLevel& WithSeverity(DataIdentifierSeverity&& value) { SetSeverity(std::move(value)); return *this;}
70 private:
71
72 long long m_occurrencesThreshold;
73 bool m_occurrencesThresholdHasBeenSet = false;
74
75 DataIdentifierSeverity m_severity;
76 bool m_severityHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Macie2
81} // namespace Aws
long long GetOccurrencesThreshold() const
SeverityLevel & WithSeverity(const DataIdentifierSeverity &value)
void SetSeverity(const DataIdentifierSeverity &value)
const DataIdentifierSeverity & GetSeverity() const
void SetOccurrencesThreshold(long long value)
AWS_MACIE2_API SeverityLevel(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
SeverityLevel & WithSeverity(DataIdentifierSeverity &&value)
void SetSeverity(DataIdentifierSeverity &&value)
SeverityLevel & WithOccurrencesThreshold(long long value)
AWS_MACIE2_API SeverityLevel & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue