AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
60 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
61 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
62 inline SensitiveDataDetections& WithType(const Aws::String& value) { SetType(value); return *this;}
63 inline SensitiveDataDetections& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
64 inline SensitiveDataDetections& WithType(const char* value) { SetType(value); return *this;}
66
68
71 inline const Occurrences& GetOccurrences() const{ return m_occurrences; }
72 inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
73 inline void SetOccurrences(const Occurrences& value) { m_occurrencesHasBeenSet = true; m_occurrences = value; }
74 inline void SetOccurrences(Occurrences&& value) { m_occurrencesHasBeenSet = true; m_occurrences = std::move(value); }
75 inline SensitiveDataDetections& WithOccurrences(const Occurrences& value) { SetOccurrences(value); return *this;}
76 inline SensitiveDataDetections& WithOccurrences(Occurrences&& value) { SetOccurrences(std::move(value)); return *this;}
78 private:
79
80 long long m_count;
81 bool m_countHasBeenSet = false;
82
83 Aws::String m_type;
84 bool m_typeHasBeenSet = false;
85
86 Occurrences m_occurrences;
87 bool m_occurrencesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SecurityHub
92} // namespace Aws
SensitiveDataDetections & WithOccurrences(Occurrences &&value)
SensitiveDataDetections & WithOccurrences(const Occurrences &value)
SensitiveDataDetections & WithType(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SensitiveDataDetections & WithType(const Aws::String &value)
AWS_SECURITYHUB_API SensitiveDataDetections(Aws::Utils::Json::JsonView jsonValue)
SensitiveDataDetections & WithCount(long long value)
SensitiveDataDetections & WithType(Aws::String &&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