AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CustomDataIdentifiers.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/macie2/model/CustomDetection.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_MACIE2_API CustomDataIdentifiers() = default;
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<CustomDetection>& GetDetections() const { return m_detections; }
49 inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; }
50 template<typename DetectionsT = Aws::Vector<CustomDetection>>
51 void SetDetections(DetectionsT&& value) { m_detectionsHasBeenSet = true; m_detections = std::forward<DetectionsT>(value); }
52 template<typename DetectionsT = Aws::Vector<CustomDetection>>
53 CustomDataIdentifiers& WithDetections(DetectionsT&& value) { SetDetections(std::forward<DetectionsT>(value)); return *this;}
54 template<typename DetectionsT = CustomDetection>
55 CustomDataIdentifiers& AddDetections(DetectionsT&& value) { m_detectionsHasBeenSet = true; m_detections.emplace_back(std::forward<DetectionsT>(value)); return *this; }
57
59
63 inline long long GetTotalCount() const { return m_totalCount; }
64 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
65 inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
66 inline CustomDataIdentifiers& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
68 private:
69
71 bool m_detectionsHasBeenSet = false;
72
73 long long m_totalCount{0};
74 bool m_totalCountHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
AWS_MACIE2_API CustomDataIdentifiers()=default
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API CustomDataIdentifiers & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomDataIdentifiers & AddDetections(DetectionsT &&value)
AWS_MACIE2_API CustomDataIdentifiers(Aws::Utils::Json::JsonView jsonValue)
CustomDataIdentifiers & WithTotalCount(long long value)
const Aws::Vector< CustomDetection > & GetDetections() const
CustomDataIdentifiers & WithDetections(DetectionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue