7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/Occurrences.h>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
62 inline long long GetCount()
const{
return m_count; }
64 inline void SetCount(
long long value) { m_countHasBeenSet =
true; m_count = value; }
76 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
98 bool m_arnHasBeenSet =
false;
101 bool m_countHasBeenSet =
false;
104 bool m_nameHasBeenSet =
false;
107 bool m_occurrencesHasBeenSet =
false;
AWS_MACIE2_API CustomDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomDetection & WithArn(const char *value)
CustomDetection & WithName(const Aws::String &value)
const Aws::String & GetArn() const
CustomDetection & WithOccurrences(const Occurrences &value)
void SetOccurrences(Occurrences &&value)
AWS_MACIE2_API CustomDetection(Aws::Utils::Json::JsonView jsonValue)
CustomDetection & WithOccurrences(Occurrences &&value)
CustomDetection & WithArn(Aws::String &&value)
CustomDetection & WithCount(long long value)
bool ArnHasBeenSet() const
void SetArn(const Aws::String &value)
AWS_MACIE2_API CustomDetection()
bool CountHasBeenSet() const
void SetArn(Aws::String &&value)
void SetName(const Aws::String &value)
void SetCount(long long value)
void SetName(Aws::String &&value)
void SetOccurrences(const Occurrences &value)
void SetName(const char *value)
bool NameHasBeenSet() const
CustomDetection & WithName(const char *value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Occurrences & GetOccurrences() const
CustomDetection & WithName(Aws::String &&value)
void SetArn(const char *value)
long long GetCount() const
CustomDetection & WithArn(const Aws::String &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