AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CustomDataIdentifiersResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/CustomDataIdentifiersDetections.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API CustomDataIdentifiersResult() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<CustomDataIdentifiersDetections>& GetDetections() const { return m_detections; }
41 inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; }
42 template <typename DetectionsT = Aws::Vector<CustomDataIdentifiersDetections>>
43 void SetDetections(DetectionsT&& value) {
44 m_detectionsHasBeenSet = true;
45 m_detections = std::forward<DetectionsT>(value);
46 }
47 template <typename DetectionsT = Aws::Vector<CustomDataIdentifiersDetections>>
49 SetDetections(std::forward<DetectionsT>(value));
50 return *this;
51 }
52 template <typename DetectionsT = CustomDataIdentifiersDetections>
54 m_detectionsHasBeenSet = true;
55 m_detections.emplace_back(std::forward<DetectionsT>(value));
56 return *this;
57 }
59
61
64 inline long long GetTotalCount() const { return m_totalCount; }
65 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
66 inline void SetTotalCount(long long value) {
67 m_totalCountHasBeenSet = true;
68 m_totalCount = value;
69 }
71 SetTotalCount(value);
72 return *this;
73 }
75 private:
77
78 long long m_totalCount{0};
79 bool m_detectionsHasBeenSet = false;
80 bool m_totalCountHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace SecurityHub
85} // 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