AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SensitiveDataItem.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Macie2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MACIE2_API SensitiveDataItem();
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const SensitiveDataItemCategory& GetCategory() const{ return m_category; }
53 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
54 inline void SetCategory(const SensitiveDataItemCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
55 inline void SetCategory(SensitiveDataItemCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
56 inline SensitiveDataItem& WithCategory(const SensitiveDataItemCategory& value) { SetCategory(value); return *this;}
57 inline SensitiveDataItem& WithCategory(SensitiveDataItemCategory&& value) { SetCategory(std::move(value)); return *this;}
59
61
66 inline const Aws::Vector<DefaultDetection>& GetDetections() const{ return m_detections; }
67 inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; }
68 inline void SetDetections(const Aws::Vector<DefaultDetection>& value) { m_detectionsHasBeenSet = true; m_detections = value; }
69 inline void SetDetections(Aws::Vector<DefaultDetection>&& value) { m_detectionsHasBeenSet = true; m_detections = std::move(value); }
70 inline SensitiveDataItem& WithDetections(const Aws::Vector<DefaultDetection>& value) { SetDetections(value); return *this;}
71 inline SensitiveDataItem& WithDetections(Aws::Vector<DefaultDetection>&& value) { SetDetections(std::move(value)); return *this;}
72 inline SensitiveDataItem& AddDetections(const DefaultDetection& value) { m_detectionsHasBeenSet = true; m_detections.push_back(value); return *this; }
73 inline SensitiveDataItem& AddDetections(DefaultDetection&& value) { m_detectionsHasBeenSet = true; m_detections.push_back(std::move(value)); return *this; }
75
77
80 inline long long GetTotalCount() const{ return m_totalCount; }
81 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
82 inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
83 inline SensitiveDataItem& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
85 private:
86
88 bool m_categoryHasBeenSet = false;
89
91 bool m_detectionsHasBeenSet = false;
92
93 long long m_totalCount;
94 bool m_totalCountHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Macie2
99} // namespace Aws
void SetCategory(SensitiveDataItemCategory &&value)
SensitiveDataItem & WithDetections(Aws::Vector< DefaultDetection > &&value)
void SetCategory(const SensitiveDataItemCategory &value)
SensitiveDataItem & WithDetections(const Aws::Vector< DefaultDetection > &value)
const Aws::Vector< DefaultDetection > & GetDetections() const
SensitiveDataItem & AddDetections(DefaultDetection &&value)
void SetDetections(Aws::Vector< DefaultDetection > &&value)
SensitiveDataItem & WithCategory(const SensitiveDataItemCategory &value)
void SetDetections(const Aws::Vector< DefaultDetection > &value)
SensitiveDataItem & AddDetections(const DefaultDetection &value)
SensitiveDataItem & WithCategory(SensitiveDataItemCategory &&value)
AWS_MACIE2_API SensitiveDataItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const SensitiveDataItemCategory & GetCategory() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API SensitiveDataItem(Aws::Utils::Json::JsonView jsonValue)
SensitiveDataItem & WithTotalCount(long long value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue