AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CustomDataIdentifiersDetections.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/Occurrences.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API CustomDataIdentifiersDetections() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline long long GetCount() const { return m_count; }
41 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
42 inline void SetCount(long long value) {
43 m_countHasBeenSet = true;
44 m_count = value;
45 }
46 inline CustomDataIdentifiersDetections& WithCount(long long value) {
47 SetCount(value);
48 return *this;
49 }
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) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Occurrences& GetOccurrences() const { return m_occurrences; }
94 inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
95 template <typename OccurrencesT = Occurrences>
96 void SetOccurrences(OccurrencesT&& value) {
97 m_occurrencesHasBeenSet = true;
98 m_occurrences = std::forward<OccurrencesT>(value);
99 }
100 template <typename OccurrencesT = Occurrences>
102 SetOccurrences(std::forward<OccurrencesT>(value));
103 return *this;
104 }
106 private:
107 long long m_count{0};
108
109 Aws::String m_arn;
110
111 Aws::String m_name;
112
113 Occurrences m_occurrences;
114 bool m_countHasBeenSet = false;
115 bool m_arnHasBeenSet = false;
116 bool m_nameHasBeenSet = false;
117 bool m_occurrencesHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SecurityHub
122} // 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