AWS SDK for C++

AWS SDK for C++ Version 1.11.757

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
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
32 public:
33 AWS_MACIE2_API BucketStatisticsBySensitivity() = default;
36 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const SensitivityAggregations& GetClassificationError() const { return m_classificationError; }
44 inline bool ClassificationErrorHasBeenSet() const { return m_classificationErrorHasBeenSet; }
45 template <typename ClassificationErrorT = SensitivityAggregations>
46 void SetClassificationError(ClassificationErrorT&& value) {
47 m_classificationErrorHasBeenSet = true;
48 m_classificationError = std::forward<ClassificationErrorT>(value);
49 }
50 template <typename ClassificationErrorT = SensitivityAggregations>
52 SetClassificationError(std::forward<ClassificationErrorT>(value));
53 return *this;
54 }
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) {
66 m_notClassifiedHasBeenSet = true;
67 m_notClassified = std::forward<NotClassifiedT>(value);
68 }
69 template <typename NotClassifiedT = SensitivityAggregations>
71 SetNotClassified(std::forward<NotClassifiedT>(value));
72 return *this;
73 }
75
77
81 inline const SensitivityAggregations& GetNotSensitive() const { return m_notSensitive; }
82 inline bool NotSensitiveHasBeenSet() const { return m_notSensitiveHasBeenSet; }
83 template <typename NotSensitiveT = SensitivityAggregations>
84 void SetNotSensitive(NotSensitiveT&& value) {
85 m_notSensitiveHasBeenSet = true;
86 m_notSensitive = std::forward<NotSensitiveT>(value);
87 }
88 template <typename NotSensitiveT = SensitivityAggregations>
90 SetNotSensitive(std::forward<NotSensitiveT>(value));
91 return *this;
92 }
94
96
100 inline const SensitivityAggregations& GetSensitive() const { return m_sensitive; }
101 inline bool SensitiveHasBeenSet() const { return m_sensitiveHasBeenSet; }
102 template <typename SensitiveT = SensitivityAggregations>
103 void SetSensitive(SensitiveT&& value) {
104 m_sensitiveHasBeenSet = true;
105 m_sensitive = std::forward<SensitiveT>(value);
106 }
107 template <typename SensitiveT = SensitivityAggregations>
109 SetSensitive(std::forward<SensitiveT>(value));
110 return *this;
111 }
113 private:
114 SensitivityAggregations m_classificationError;
115
116 SensitivityAggregations m_notClassified;
117
118 SensitivityAggregations m_notSensitive;
119
120 SensitivityAggregations m_sensitive;
121 bool m_classificationErrorHasBeenSet = false;
122 bool m_notClassifiedHasBeenSet = false;
123 bool m_notSensitiveHasBeenSet = false;
124 bool m_sensitiveHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace Macie2
129} // 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