AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SensitiveDataDetections.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/Occurrences.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 SensitiveDataDetections() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline long long GetCount() const { return m_count; }
41 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
42 inline void SetCount(long long value) {
43 m_countHasBeenSet = true;
44 m_count = value;
45 }
46 inline SensitiveDataDetections& WithCount(long long value) {
47 SetCount(value);
48 return *this;
49 }
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) {
61 m_typeHasBeenSet = true;
62 m_type = std::forward<TypeT>(value);
63 }
64 template <typename TypeT = Aws::String>
66 SetType(std::forward<TypeT>(value));
67 return *this;
68 }
70
72
75 inline const Occurrences& GetOccurrences() const { return m_occurrences; }
76 inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
77 template <typename OccurrencesT = Occurrences>
78 void SetOccurrences(OccurrencesT&& value) {
79 m_occurrencesHasBeenSet = true;
80 m_occurrences = std::forward<OccurrencesT>(value);
81 }
82 template <typename OccurrencesT = Occurrences>
84 SetOccurrences(std::forward<OccurrencesT>(value));
85 return *this;
86 }
88 private:
89 long long m_count{0};
90
91 Aws::String m_type;
92
93 Occurrences m_occurrences;
94 bool m_countHasBeenSet = false;
95 bool m_typeHasBeenSet = false;
96 bool m_occurrencesHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SecurityHub
101} // 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