7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/SensitiveDataItemCategory.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/macie2/model/DefaultDetection.h>
66 template<
typename DetectionsT = Aws::Vector<DefaultDetection>>
67 void SetDetections(DetectionsT&& value) { m_detectionsHasBeenSet =
true; m_detections = std::forward<DetectionsT>(value); }
68 template<
typename DetectionsT = Aws::Vector<DefaultDetection>>
70 template<
typename DetectionsT = DefaultDetection>
71 SensitiveDataItem&
AddDetections(DetectionsT&& value) { m_detectionsHasBeenSet =
true; m_detections.emplace_back(std::forward<DetectionsT>(value));
return *
this; }
80 inline void SetTotalCount(
long long value) { m_totalCountHasBeenSet =
true; m_totalCount = value; }
86 bool m_categoryHasBeenSet =
false;
89 bool m_detectionsHasBeenSet =
false;
91 long long m_totalCount{0};
92 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