AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BucketStatisticsBySensitivity.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/SensitivityAggregations.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
36 {
37 public:
38 AWS_MACIE2_API BucketStatisticsBySensitivity() = default;
41 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const SensitivityAggregations& GetClassificationError() const { return m_classificationError; }
50 inline bool ClassificationErrorHasBeenSet() const { return m_classificationErrorHasBeenSet; }
51 template<typename ClassificationErrorT = SensitivityAggregations>
52 void SetClassificationError(ClassificationErrorT&& value) { m_classificationErrorHasBeenSet = true; m_classificationError = std::forward<ClassificationErrorT>(value); }
53 template<typename ClassificationErrorT = SensitivityAggregations>
54 BucketStatisticsBySensitivity& WithClassificationError(ClassificationErrorT&& value) { SetClassificationError(std::forward<ClassificationErrorT>(value)); return *this;}
56
58
62 inline const SensitivityAggregations& GetNotClassified() const { return m_notClassified; }
63 inline bool NotClassifiedHasBeenSet() const { return m_notClassifiedHasBeenSet; }
64 template<typename NotClassifiedT = SensitivityAggregations>
65 void SetNotClassified(NotClassifiedT&& value) { m_notClassifiedHasBeenSet = true; m_notClassified = std::forward<NotClassifiedT>(value); }
66 template<typename NotClassifiedT = SensitivityAggregations>
67 BucketStatisticsBySensitivity& WithNotClassified(NotClassifiedT&& value) { SetNotClassified(std::forward<NotClassifiedT>(value)); return *this;}
69
71
75 inline const SensitivityAggregations& GetNotSensitive() const { return m_notSensitive; }
76 inline bool NotSensitiveHasBeenSet() const { return m_notSensitiveHasBeenSet; }
77 template<typename NotSensitiveT = SensitivityAggregations>
78 void SetNotSensitive(NotSensitiveT&& value) { m_notSensitiveHasBeenSet = true; m_notSensitive = std::forward<NotSensitiveT>(value); }
79 template<typename NotSensitiveT = SensitivityAggregations>
80 BucketStatisticsBySensitivity& WithNotSensitive(NotSensitiveT&& value) { SetNotSensitive(std::forward<NotSensitiveT>(value)); return *this;}
82
84
88 inline const SensitivityAggregations& GetSensitive() const { return m_sensitive; }
89 inline bool SensitiveHasBeenSet() const { return m_sensitiveHasBeenSet; }
90 template<typename SensitiveT = SensitivityAggregations>
91 void SetSensitive(SensitiveT&& value) { m_sensitiveHasBeenSet = true; m_sensitive = std::forward<SensitiveT>(value); }
92 template<typename SensitiveT = SensitivityAggregations>
93 BucketStatisticsBySensitivity& WithSensitive(SensitiveT&& value) { SetSensitive(std::forward<SensitiveT>(value)); return *this;}
95 private:
96
97 SensitivityAggregations m_classificationError;
98 bool m_classificationErrorHasBeenSet = false;
99
100 SensitivityAggregations m_notClassified;
101 bool m_notClassifiedHasBeenSet = false;
102
103 SensitivityAggregations m_notSensitive;
104 bool m_notSensitiveHasBeenSet = false;
105
106 SensitivityAggregations m_sensitive;
107 bool m_sensitiveHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Macie2
112} // namespace Aws
AWS_MACIE2_API BucketStatisticsBySensitivity()=default
const SensitivityAggregations & GetClassificationError() const
AWS_MACIE2_API BucketStatisticsBySensitivity & operator=(Aws::Utils::Json::JsonView jsonValue)
BucketStatisticsBySensitivity & WithNotClassified(NotClassifiedT &&value)
BucketStatisticsBySensitivity & WithClassificationError(ClassificationErrorT &&value)
BucketStatisticsBySensitivity & WithSensitive(SensitiveT &&value)
AWS_MACIE2_API BucketStatisticsBySensitivity(Aws::Utils::Json::JsonView jsonValue)
BucketStatisticsBySensitivity & WithNotSensitive(NotSensitiveT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue