AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 CustomDataIdentifiersDetections& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 CustomDataIdentifiersDetections& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline const Occurrences& GetOccurrences() const { return m_occurrences; }
82 inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
83 template<typename OccurrencesT = Occurrences>
84 void SetOccurrences(OccurrencesT&& value) { m_occurrencesHasBeenSet = true; m_occurrences = std::forward<OccurrencesT>(value); }
85 template<typename OccurrencesT = Occurrences>
86 CustomDataIdentifiersDetections& WithOccurrences(OccurrencesT&& value) { SetOccurrences(std::forward<OccurrencesT>(value)); return *this;}
88 private:
89
90 long long m_count{0};
91 bool m_countHasBeenSet = false;
92
93 Aws::String m_arn;
94 bool m_arnHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Occurrences m_occurrences;
100 bool m_occurrencesHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SecurityHub
105} // namespace Aws
CustomDataIdentifiersDetections & WithName(NameT &&value)
AWS_SECURITYHUB_API CustomDataIdentifiersDetections()=default
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 & WithOccurrences(OccurrencesT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue