AWS SDK for C++  1.9.106
AWS SDK for C++
SensitiveDataDetections.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SecurityHub
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline long long GetCount() const{ return m_count; }
46 
50  inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
51 
55  inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; }
56 
60  inline SensitiveDataDetections& WithCount(long long value) { SetCount(value); return *this;}
61 
62 
67  inline const Aws::String& GetType() const{ return m_type; }
68 
73  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 
79  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
80 
85  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
86 
91  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
92 
97  inline SensitiveDataDetections& WithType(const Aws::String& value) { SetType(value); return *this;}
98 
103  inline SensitiveDataDetections& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
104 
109  inline SensitiveDataDetections& WithType(const char* value) { SetType(value); return *this;}
110 
111 
115  inline const Occurrences& GetOccurrences() const{ return m_occurrences; }
116 
120  inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
121 
125  inline void SetOccurrences(const Occurrences& value) { m_occurrencesHasBeenSet = true; m_occurrences = value; }
126 
130  inline void SetOccurrences(Occurrences&& value) { m_occurrencesHasBeenSet = true; m_occurrences = std::move(value); }
131 
135  inline SensitiveDataDetections& WithOccurrences(const Occurrences& value) { SetOccurrences(value); return *this;}
136 
140  inline SensitiveDataDetections& WithOccurrences(Occurrences&& value) { SetOccurrences(std::move(value)); return *this;}
141 
142  private:
143 
144  long long m_count;
145  bool m_countHasBeenSet;
146 
147  Aws::String m_type;
148  bool m_typeHasBeenSet;
149 
150  Occurrences m_occurrences;
151  bool m_occurrencesHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace SecurityHub
156 } // namespace Aws
Aws::SecurityHub::Model::SensitiveDataDetections::CountHasBeenSet
bool CountHasBeenSet() const
Definition: SensitiveDataDetections.h:50
Aws::SecurityHub::Model::SensitiveDataDetections::SetOccurrences
void SetOccurrences(Occurrences &&value)
Definition: SensitiveDataDetections.h:130
Aws::SecurityHub::Model::SensitiveDataDetections::GetCount
long long GetCount() const
Definition: SensitiveDataDetections.h:45
Aws::SecurityHub::Model::SensitiveDataDetections::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::SensitiveDataDetections::WithOccurrences
SensitiveDataDetections & WithOccurrences(Occurrences &&value)
Definition: SensitiveDataDetections.h:140
Aws::SecurityHub::Model::Occurrences
Definition: Occurrences.h:36
Aws::SecurityHub::Model::SensitiveDataDetections::SetType
void SetType(const Aws::String &value)
Definition: SensitiveDataDetections.h:79
Aws::SecurityHub::Model::SensitiveDataDetections::WithType
SensitiveDataDetections & WithType(const Aws::String &value)
Definition: SensitiveDataDetections.h:97
Aws::SecurityHub::Model::SensitiveDataDetections::operator=
SensitiveDataDetections & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::SensitiveDataDetections::GetOccurrences
const Occurrences & GetOccurrences() const
Definition: SensitiveDataDetections.h:115
Aws::SecurityHub::Model::SensitiveDataDetections::SetType
void SetType(Aws::String &&value)
Definition: SensitiveDataDetections.h:85
Aws::SecurityHub::Model::SensitiveDataDetections::SetCount
void SetCount(long long value)
Definition: SensitiveDataDetections.h:55
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::SensitiveDataDetections
Definition: SensitiveDataDetections.h:34
Aws::SecurityHub::Model::SensitiveDataDetections::WithCount
SensitiveDataDetections & WithCount(long long value)
Definition: SensitiveDataDetections.h:60
Aws::SecurityHub::Model::SensitiveDataDetections::OccurrencesHasBeenSet
bool OccurrencesHasBeenSet() const
Definition: SensitiveDataDetections.h:120
Aws::SecurityHub::Model::SensitiveDataDetections::SensitiveDataDetections
SensitiveDataDetections(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::SensitiveDataDetections::SetOccurrences
void SetOccurrences(const Occurrences &value)
Definition: SensitiveDataDetections.h:125
Aws::SecurityHub::Model::SensitiveDataDetections::WithOccurrences
SensitiveDataDetections & WithOccurrences(const Occurrences &value)
Definition: SensitiveDataDetections.h:135
Aws::SecurityHub::Model::SensitiveDataDetections::WithType
SensitiveDataDetections & WithType(Aws::String &&value)
Definition: SensitiveDataDetections.h:103
Aws::SecurityHub::Model::SensitiveDataDetections::WithType
SensitiveDataDetections & WithType(const char *value)
Definition: SensitiveDataDetections.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::SensitiveDataDetections::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: SensitiveDataDetections.h:73
Aws::SecurityHub::Model::SensitiveDataDetections::SetType
void SetType(const char *value)
Definition: SensitiveDataDetections.h:91
Aws::SecurityHub::Model::SensitiveDataDetections::GetType
const Aws::String & GetType() const
Definition: SensitiveDataDetections.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::SensitiveDataDetections::SensitiveDataDetections
SensitiveDataDetections()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Occurrences.h