AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
52 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
53 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
54 inline SensitiveDataResult& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
55 inline SensitiveDataResult& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
56 inline SensitiveDataResult& WithCategory(const char* value) { SetCategory(value); return *this;}
58
60
63 inline const Aws::Vector<SensitiveDataDetections>& GetDetections() const{ return m_detections; }
64 inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; }
65 inline void SetDetections(const Aws::Vector<SensitiveDataDetections>& value) { m_detectionsHasBeenSet = true; m_detections = value; }
66 inline void SetDetections(Aws::Vector<SensitiveDataDetections>&& value) { m_detectionsHasBeenSet = true; m_detections = std::move(value); }
68 inline SensitiveDataResult& WithDetections(Aws::Vector<SensitiveDataDetections>&& value) { SetDetections(std::move(value)); return *this;}
69 inline SensitiveDataResult& AddDetections(const SensitiveDataDetections& value) { m_detectionsHasBeenSet = true; m_detections.push_back(value); return *this; }
70 inline SensitiveDataResult& AddDetections(SensitiveDataDetections&& value) { m_detectionsHasBeenSet = true; m_detections.push_back(std::move(value)); return *this; }
72
74
77 inline long long GetTotalCount() const{ return m_totalCount; }
78 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
79 inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
80 inline SensitiveDataResult& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
82 private:
83
84 Aws::String m_category;
85 bool m_categoryHasBeenSet = false;
86
88 bool m_detectionsHasBeenSet = false;
89
90 long long m_totalCount;
91 bool m_totalCountHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SecurityHub
96} // namespace Aws
AWS_SECURITYHUB_API SensitiveDataResult(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SensitiveDataResult & AddDetections(SensitiveDataDetections &&value)
AWS_SECURITYHUB_API SensitiveDataResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetections(Aws::Vector< SensitiveDataDetections > &&value)
SensitiveDataResult & WithDetections(const Aws::Vector< SensitiveDataDetections > &value)
SensitiveDataResult & WithTotalCount(long long value)
const Aws::Vector< SensitiveDataDetections > & GetDetections() const
SensitiveDataResult & WithCategory(Aws::String &&value)
SensitiveDataResult & WithDetections(Aws::Vector< SensitiveDataDetections > &&value)
SensitiveDataResult & AddDetections(const SensitiveDataDetections &value)
SensitiveDataResult & WithCategory(const Aws::String &value)
SensitiveDataResult & WithCategory(const char *value)
void SetDetections(const Aws::Vector< SensitiveDataDetections > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue