AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomDataIdentifiersResult.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/CustomDataIdentifiersDetections.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API CustomDataIdentifiersResult() = default;
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<CustomDataIdentifiersDetections>& GetDetections() const { return m_detections; }
47 inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; }
48 template<typename DetectionsT = Aws::Vector<CustomDataIdentifiersDetections>>
49 void SetDetections(DetectionsT&& value) { m_detectionsHasBeenSet = true; m_detections = std::forward<DetectionsT>(value); }
50 template<typename DetectionsT = Aws::Vector<CustomDataIdentifiersDetections>>
51 CustomDataIdentifiersResult& WithDetections(DetectionsT&& value) { SetDetections(std::forward<DetectionsT>(value)); return *this;}
52 template<typename DetectionsT = CustomDataIdentifiersDetections>
53 CustomDataIdentifiersResult& AddDetections(DetectionsT&& value) { m_detectionsHasBeenSet = true; m_detections.emplace_back(std::forward<DetectionsT>(value)); return *this; }
55
57
60 inline long long GetTotalCount() const { return m_totalCount; }
61 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
62 inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
63 inline CustomDataIdentifiersResult& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
65 private:
66
68 bool m_detectionsHasBeenSet = false;
69
70 long long m_totalCount{0};
71 bool m_totalCountHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SecurityHub
76} // namespace Aws
CustomDataIdentifiersResult & AddDetections(DetectionsT &&value)
CustomDataIdentifiersResult & WithTotalCount(long long value)
const Aws::Vector< CustomDataIdentifiersDetections > & GetDetections() const
AWS_SECURITYHUB_API CustomDataIdentifiersResult(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
CustomDataIdentifiersResult & WithDetections(DetectionsT &&value)
AWS_SECURITYHUB_API CustomDataIdentifiersResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API CustomDataIdentifiersResult()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue