7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/Occurrences.h>
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
60 inline long long GetCount()
const {
return m_count; }
63 m_countHasBeenSet =
true;
78 template <
typename NameT = Aws::String>
80 m_nameHasBeenSet =
true;
81 m_name = std::forward<NameT>(value);
83 template <
typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
98 template <
typename OccurrencesT = Occurrences>
100 m_occurrencesHasBeenSet =
true;
101 m_occurrences = std::forward<OccurrencesT>(value);
103 template <
typename OccurrencesT = Occurrences>
112 long long m_count{0};
116 Occurrences m_occurrences;
117 bool m_arnHasBeenSet =
false;
118 bool m_countHasBeenSet =
false;
119 bool m_nameHasBeenSet =
false;
120 bool m_occurrencesHasBeenSet =
false;
CustomDetection & WithOccurrences(OccurrencesT &&value)
AWS_MACIE2_API CustomDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
AWS_MACIE2_API CustomDetection(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API CustomDetection()=default
CustomDetection & WithCount(long long value)
bool ArnHasBeenSet() const
void SetArn(ArnT &&value)
bool CountHasBeenSet() const
void SetCount(long long value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Occurrences & GetOccurrences() const
CustomDetection & WithArn(ArnT &&value)
CustomDetection & WithName(NameT &&value)
long long GetCount() const
void SetOccurrences(OccurrencesT &&value)
bool OccurrencesHasBeenSet() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue