AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SensitiveDataResult.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/SensitiveDataDetections.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API SensitiveDataResult() = default;
38 AWS_SECURITYHUB_API SensitiveDataResult(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetCategory() const { return m_category; }
50 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
51 template<typename CategoryT = Aws::String>
52 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
53 template<typename CategoryT = Aws::String>
54 SensitiveDataResult& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
56
58
61 inline const Aws::Vector<SensitiveDataDetections>& GetDetections() const { return m_detections; }
62 inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; }
63 template<typename DetectionsT = Aws::Vector<SensitiveDataDetections>>
64 void SetDetections(DetectionsT&& value) { m_detectionsHasBeenSet = true; m_detections = std::forward<DetectionsT>(value); }
65 template<typename DetectionsT = Aws::Vector<SensitiveDataDetections>>
66 SensitiveDataResult& WithDetections(DetectionsT&& value) { SetDetections(std::forward<DetectionsT>(value)); return *this;}
67 template<typename DetectionsT = SensitiveDataDetections>
68 SensitiveDataResult& AddDetections(DetectionsT&& value) { m_detectionsHasBeenSet = true; m_detections.emplace_back(std::forward<DetectionsT>(value)); return *this; }
70
72
75 inline long long GetTotalCount() const { return m_totalCount; }
76 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
77 inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
78 inline SensitiveDataResult& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
80 private:
81
82 Aws::String m_category;
83 bool m_categoryHasBeenSet = false;
84
86 bool m_detectionsHasBeenSet = false;
87
88 long long m_totalCount{0};
89 bool m_totalCountHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SecurityHub
94} // namespace Aws
AWS_SECURITYHUB_API SensitiveDataResult(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SensitiveDataResult & WithDetections(DetectionsT &&value)
AWS_SECURITYHUB_API SensitiveDataResult & operator=(Aws::Utils::Json::JsonView jsonValue)
SensitiveDataResult & WithCategory(CategoryT &&value)
AWS_SECURITYHUB_API SensitiveDataResult()=default
SensitiveDataResult & AddDetections(DetectionsT &&value)
SensitiveDataResult & WithTotalCount(long long value)
const Aws::Vector< SensitiveDataDetections > & GetDetections() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue