AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomDataIdentifiersDetections.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 CustomDataIdentifiersDetections();
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 CustomDataIdentifiersDetections& WithCount(long long value) { SetCount(value); return *this;}
51
53
57 inline const Aws::String& GetArn() const{ return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
60 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
62 inline CustomDataIdentifiersDetections& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 inline CustomDataIdentifiersDetections& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 inline CustomDataIdentifiersDetections& WithArn(const char* value) { SetArn(value); return *this;}
66
68
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 inline CustomDataIdentifiersDetections& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline CustomDataIdentifiersDetections& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline CustomDataIdentifiersDetections& WithName(const char* value) { SetName(value); return *this;}
80
82
85 inline const Occurrences& GetOccurrences() const{ return m_occurrences; }
86 inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
87 inline void SetOccurrences(const Occurrences& value) { m_occurrencesHasBeenSet = true; m_occurrences = value; }
88 inline void SetOccurrences(Occurrences&& value) { m_occurrencesHasBeenSet = true; m_occurrences = std::move(value); }
89 inline CustomDataIdentifiersDetections& WithOccurrences(const Occurrences& value) { SetOccurrences(value); return *this;}
90 inline CustomDataIdentifiersDetections& WithOccurrences(Occurrences&& value) { SetOccurrences(std::move(value)); return *this;}
92 private:
93
94 long long m_count;
95 bool m_countHasBeenSet = false;
96
97 Aws::String m_arn;
98 bool m_arnHasBeenSet = false;
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 Occurrences m_occurrences;
104 bool m_occurrencesHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SecurityHub
109} // namespace Aws
CustomDataIdentifiersDetections & WithArn(Aws::String &&value)
CustomDataIdentifiersDetections & WithArn(const char *value)
CustomDataIdentifiersDetections & WithOccurrences(const Occurrences &value)
CustomDataIdentifiersDetections & WithName(const Aws::String &value)
CustomDataIdentifiersDetections & WithCount(long long value)
AWS_SECURITYHUB_API CustomDataIdentifiersDetections(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API CustomDataIdentifiersDetections & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomDataIdentifiersDetections & WithArn(const Aws::String &value)
CustomDataIdentifiersDetections & WithName(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
CustomDataIdentifiersDetections & WithName(Aws::String &&value)
CustomDataIdentifiersDetections & WithOccurrences(Occurrences &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue