AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDetections(const Aws::Vector<CustomDataIdentifiersDetections>& value) { m_detectionsHasBeenSet = true; m_detections = value; }
49 inline void SetDetections(Aws::Vector<CustomDataIdentifiersDetections>&& value) { m_detectionsHasBeenSet = true; m_detections = std::move(value); }
52 inline CustomDataIdentifiersResult& AddDetections(const CustomDataIdentifiersDetections& value) { m_detectionsHasBeenSet = true; m_detections.push_back(value); return *this; }
53 inline CustomDataIdentifiersResult& AddDetections(CustomDataIdentifiersDetections&& value) { m_detectionsHasBeenSet = true; m_detections.push_back(std::move(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;
71 bool m_totalCountHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SecurityHub
76} // namespace Aws
void SetDetections(Aws::Vector< CustomDataIdentifiersDetections > &&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(Aws::Vector< CustomDataIdentifiersDetections > &&value)
AWS_SECURITYHUB_API CustomDataIdentifiersResult & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomDataIdentifiersResult & AddDetections(CustomDataIdentifiersDetections &&value)
void SetDetections(const Aws::Vector< CustomDataIdentifiersDetections > &value)
CustomDataIdentifiersResult & WithDetections(const Aws::Vector< CustomDataIdentifiersDetections > &value)
CustomDataIdentifiersResult & AddDetections(const CustomDataIdentifiersDetections &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue