7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/Occurrences.h>
42 inline long long GetCount()
const {
return m_count; }
45 m_countHasBeenSet =
true;
62 template <
typename OccurrencesT = Occurrences>
64 m_occurrencesHasBeenSet =
true;
65 m_occurrences = std::forward<OccurrencesT>(value);
67 template <
typename OccurrencesT = Occurrences>
81 template <
typename TypeT = Aws::String>
83 m_typeHasBeenSet =
true;
84 m_type = std::forward<TypeT>(value);
86 template <
typename TypeT = Aws::String>
88 SetType(std::forward<TypeT>(value));
95 Occurrences m_occurrences;
98 bool m_countHasBeenSet =
false;
99 bool m_occurrencesHasBeenSet =
false;
100 bool m_typeHasBeenSet =
false;
DefaultDetection & WithOccurrences(OccurrencesT &&value)
void SetOccurrences(OccurrencesT &&value)
const Aws::String & GetType() const
DefaultDetection & WithCount(long long value)
bool CountHasBeenSet() const
bool OccurrencesHasBeenSet() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultDetection & WithType(TypeT &&value)
long long GetCount() const
AWS_MACIE2_API DefaultDetection()=default
void SetType(TypeT &&value)
AWS_MACIE2_API DefaultDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetCount(long long value)
const Occurrences & GetOccurrences() const
AWS_MACIE2_API DefaultDetection(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue