AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDetections(const Aws::Vector<CustomDetection>& value) { m_detectionsHasBeenSet = true; m_detections = value; }
51 inline void SetDetections(Aws::Vector<CustomDetection>&& value) { m_detectionsHasBeenSet = true; m_detections = std::move(value); }
53 inline CustomDataIdentifiers& WithDetections(Aws::Vector<CustomDetection>&& value) { SetDetections(std::move(value)); return *this;}
54 inline CustomDataIdentifiers& AddDetections(const CustomDetection& value) { m_detectionsHasBeenSet = true; m_detections.push_back(value); return *this; }
55 inline CustomDataIdentifiers& AddDetections(CustomDetection&& value) { m_detectionsHasBeenSet = true; m_detections.push_back(std::move(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;
74 bool m_totalCountHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
CustomDataIdentifiers & WithDetections(Aws::Vector< CustomDetection > &&value)
CustomDataIdentifiers & AddDetections(const CustomDetection &value)
CustomDataIdentifiers & WithDetections(const Aws::Vector< CustomDetection > &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API CustomDataIdentifiers & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetections(const Aws::Vector< CustomDetection > &value)
AWS_MACIE2_API CustomDataIdentifiers(Aws::Utils::Json::JsonView jsonValue)
CustomDataIdentifiers & WithTotalCount(long long value)
const Aws::Vector< CustomDetection > & GetDetections() const
void SetDetections(Aws::Vector< CustomDetection > &&value)
CustomDataIdentifiers & AddDetections(CustomDetection &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue