7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/Occurrences.h>
49 template<
typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
51 template<
typename ArnT = Aws::String>
60 inline long long GetCount()
const {
return m_count; }
62 inline void SetCount(
long long value) { m_countHasBeenSet =
true; m_count = value; }
72 template<
typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
74 template<
typename NameT = Aws::String>
86 template<
typename OccurrencesT = Occurrences>
87 void SetOccurrences(OccurrencesT&& value) { m_occurrencesHasBeenSet =
true; m_occurrences = std::forward<OccurrencesT>(value); }
88 template<
typename OccurrencesT = Occurrences>
94 bool m_arnHasBeenSet =
false;
97 bool m_countHasBeenSet =
false;
100 bool m_nameHasBeenSet =
false;
102 Occurrences m_occurrences;
103 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