AWS SDK for C++  1.9.106
AWS SDK for C++
CustomDataIdentifiersDetections.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 CustomDataIdentifiersDetections& WithCount(long long value) { SetCount(value); return *this;}
61 
62 
67  inline const Aws::String& GetArn() const{ return m_arn; }
68 
73  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
74 
79  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
80 
85  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
86 
91  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
92 
97  inline CustomDataIdentifiersDetections& WithArn(const Aws::String& value) { SetArn(value); return *this;}
98 
103  inline CustomDataIdentifiersDetections& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
104 
109  inline CustomDataIdentifiersDetections& WithArn(const char* value) { SetArn(value); return *this;}
110 
111 
115  inline const Aws::String& GetName() const{ return m_name; }
116 
120  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
121 
125  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
126 
130  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
131 
135  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
136 
140  inline CustomDataIdentifiersDetections& WithName(const Aws::String& value) { SetName(value); return *this;}
141 
145  inline CustomDataIdentifiersDetections& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
146 
150  inline CustomDataIdentifiersDetections& WithName(const char* value) { SetName(value); return *this;}
151 
152 
156  inline const Occurrences& GetOccurrences() const{ return m_occurrences; }
157 
161  inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
162 
166  inline void SetOccurrences(const Occurrences& value) { m_occurrencesHasBeenSet = true; m_occurrences = value; }
167 
171  inline void SetOccurrences(Occurrences&& value) { m_occurrencesHasBeenSet = true; m_occurrences = std::move(value); }
172 
176  inline CustomDataIdentifiersDetections& WithOccurrences(const Occurrences& value) { SetOccurrences(value); return *this;}
177 
181  inline CustomDataIdentifiersDetections& WithOccurrences(Occurrences&& value) { SetOccurrences(std::move(value)); return *this;}
182 
183  private:
184 
185  long long m_count;
186  bool m_countHasBeenSet;
187 
188  Aws::String m_arn;
189  bool m_arnHasBeenSet;
190 
191  Aws::String m_name;
192  bool m_nameHasBeenSet;
193 
194  Occurrences m_occurrences;
195  bool m_occurrencesHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace SecurityHub
200 } // namespace Aws
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: CustomDataIdentifiersDetections.h:73
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithName
CustomDataIdentifiersDetections & WithName(const char *value)
Definition: CustomDataIdentifiersDetections.h:150
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithArn
CustomDataIdentifiersDetections & WithArn(const Aws::String &value)
Definition: CustomDataIdentifiersDetections.h:97
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::CustomDataIdentifiersDetections
CustomDataIdentifiersDetections(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Occurrences
Definition: Occurrences.h:36
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetArn
void SetArn(const Aws::String &value)
Definition: CustomDataIdentifiersDetections.h:79
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::OccurrencesHasBeenSet
bool OccurrencesHasBeenSet() const
Definition: CustomDataIdentifiersDetections.h:161
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetArn
void SetArn(const char *value)
Definition: CustomDataIdentifiersDetections.h:91
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::GetOccurrences
const Occurrences & GetOccurrences() const
Definition: CustomDataIdentifiersDetections.h:156
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithArn
CustomDataIdentifiersDetections & WithArn(Aws::String &&value)
Definition: CustomDataIdentifiersDetections.h:103
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetName
void SetName(Aws::String &&value)
Definition: CustomDataIdentifiersDetections.h:130
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithArn
CustomDataIdentifiersDetections & WithArn(const char *value)
Definition: CustomDataIdentifiersDetections.h:109
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::GetCount
long long GetCount() const
Definition: CustomDataIdentifiersDetections.h:45
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::CountHasBeenSet
bool CountHasBeenSet() const
Definition: CustomDataIdentifiersDetections.h:50
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetName
void SetName(const char *value)
Definition: CustomDataIdentifiersDetections.h:135
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithOccurrences
CustomDataIdentifiersDetections & WithOccurrences(const Occurrences &value)
Definition: CustomDataIdentifiersDetections.h:176
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetArn
void SetArn(Aws::String &&value)
Definition: CustomDataIdentifiersDetections.h:85
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetName
void SetName(const Aws::String &value)
Definition: CustomDataIdentifiersDetections.h:125
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CustomDataIdentifiersDetections.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::operator=
CustomDataIdentifiersDetections & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::CustomDataIdentifiersDetections
CustomDataIdentifiersDetections()
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetOccurrences
void SetOccurrences(const Occurrences &value)
Definition: CustomDataIdentifiersDetections.h:166
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithName
CustomDataIdentifiersDetections & WithName(const Aws::String &value)
Definition: CustomDataIdentifiersDetections.h:140
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetCount
void SetCount(long long value)
Definition: CustomDataIdentifiersDetections.h:55
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithCount
CustomDataIdentifiersDetections & WithCount(long long value)
Definition: CustomDataIdentifiersDetections.h:60
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::GetName
const Aws::String & GetName() const
Definition: CustomDataIdentifiersDetections.h:115
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithOccurrences
CustomDataIdentifiersDetections & WithOccurrences(Occurrences &&value)
Definition: CustomDataIdentifiersDetections.h:181
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::WithName
CustomDataIdentifiersDetections & WithName(Aws::String &&value)
Definition: CustomDataIdentifiersDetections.h:145
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::GetArn
const Aws::String & GetArn() const
Definition: CustomDataIdentifiersDetections.h:67
Occurrences.h
Aws::SecurityHub::Model::CustomDataIdentifiersDetections::SetOccurrences
void SetOccurrences(Occurrences &&value)
Definition: CustomDataIdentifiersDetections.h:171
Aws::SecurityHub::Model::CustomDataIdentifiersDetections
Definition: CustomDataIdentifiersDetections.h:34