AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SensitiveDataDetections.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/Occurrences.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 SensitiveDataDetections() = default;
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline long long GetCount() const { return m_count; }
47 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
48 inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; }
49 inline SensitiveDataDetections& WithCount(long long value) { SetCount(value); return *this;}
51
53
57 inline const Aws::String& GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 template<typename TypeT = Aws::String>
60 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
61 template<typename TypeT = Aws::String>
62 SensitiveDataDetections& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
64
66
69 inline const Occurrences& GetOccurrences() const { return m_occurrences; }
70 inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
71 template<typename OccurrencesT = Occurrences>
72 void SetOccurrences(OccurrencesT&& value) { m_occurrencesHasBeenSet = true; m_occurrences = std::forward<OccurrencesT>(value); }
73 template<typename OccurrencesT = Occurrences>
74 SensitiveDataDetections& WithOccurrences(OccurrencesT&& value) { SetOccurrences(std::forward<OccurrencesT>(value)); return *this;}
76 private:
77
78 long long m_count{0};
79 bool m_countHasBeenSet = false;
80
81 Aws::String m_type;
82 bool m_typeHasBeenSet = false;
83
84 Occurrences m_occurrences;
85 bool m_occurrencesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SecurityHub
90} // namespace Aws
SensitiveDataDetections & WithOccurrences(OccurrencesT &&value)
SensitiveDataDetections & WithType(TypeT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API SensitiveDataDetections(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API SensitiveDataDetections()=default
SensitiveDataDetections & WithCount(long long value)
AWS_SECURITYHUB_API SensitiveDataDetections & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue