7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/DefaultDetection.h>
10#include <aws/macie2/model/SensitiveDataItemCategory.h>
49 m_categoryHasBeenSet =
true;
66 template <
typename DetectionsT = Aws::Vector<DefaultDetection>>
68 m_detectionsHasBeenSet =
true;
69 m_detections = std::forward<DetectionsT>(value);
71 template <
typename DetectionsT = Aws::Vector<DefaultDetection>>
76 template <
typename DetectionsT = DefaultDetection>
78 m_detectionsHasBeenSet =
true;
79 m_detections.emplace_back(std::forward<DetectionsT>(value));
91 m_totalCountHasBeenSet =
true;
104 long long m_totalCount{0};
105 bool m_categoryHasBeenSet =
false;
106 bool m_detectionsHasBeenSet =
false;
107 bool m_totalCountHasBeenSet =
false;
AWS_MACIE2_API SensitiveDataItem()=default
SensitiveDataItem & WithDetections(DetectionsT &&value)
SensitiveDataItem & WithCategory(SensitiveDataItemCategory value)
bool DetectionsHasBeenSet() const
const Aws::Vector< DefaultDetection > & GetDetections() const
void SetDetections(DetectionsT &&value)
void SetCategory(SensitiveDataItemCategory value)
long long GetTotalCount() const
AWS_MACIE2_API SensitiveDataItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TotalCountHasBeenSet() const
SensitiveDataItemCategory GetCategory() const
SensitiveDataItem & AddDetections(DetectionsT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTotalCount(long long value)
bool CategoryHasBeenSet() const
AWS_MACIE2_API SensitiveDataItem(Aws::Utils::Json::JsonView jsonValue)
SensitiveDataItem & WithTotalCount(long long value)
SensitiveDataItemCategory
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue