AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AllowListCriteria.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/S3WordsList.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_MACIE2_API AllowListCriteria();
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetRegex() const{ return m_regex; }
49 inline bool RegexHasBeenSet() const { return m_regexHasBeenSet; }
50 inline void SetRegex(const Aws::String& value) { m_regexHasBeenSet = true; m_regex = value; }
51 inline void SetRegex(Aws::String&& value) { m_regexHasBeenSet = true; m_regex = std::move(value); }
52 inline void SetRegex(const char* value) { m_regexHasBeenSet = true; m_regex.assign(value); }
53 inline AllowListCriteria& WithRegex(const Aws::String& value) { SetRegex(value); return *this;}
54 inline AllowListCriteria& WithRegex(Aws::String&& value) { SetRegex(std::move(value)); return *this;}
55 inline AllowListCriteria& WithRegex(const char* value) { SetRegex(value); return *this;}
57
59
63 inline const S3WordsList& GetS3WordsList() const{ return m_s3WordsList; }
64 inline bool S3WordsListHasBeenSet() const { return m_s3WordsListHasBeenSet; }
65 inline void SetS3WordsList(const S3WordsList& value) { m_s3WordsListHasBeenSet = true; m_s3WordsList = value; }
66 inline void SetS3WordsList(S3WordsList&& value) { m_s3WordsListHasBeenSet = true; m_s3WordsList = std::move(value); }
67 inline AllowListCriteria& WithS3WordsList(const S3WordsList& value) { SetS3WordsList(value); return *this;}
68 inline AllowListCriteria& WithS3WordsList(S3WordsList&& value) { SetS3WordsList(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_regex;
73 bool m_regexHasBeenSet = false;
74
75 S3WordsList m_s3WordsList;
76 bool m_s3WordsListHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Macie2
81} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AllowListCriteria & WithRegex(Aws::String &&value)
const S3WordsList & GetS3WordsList() const
AllowListCriteria & WithRegex(const char *value)
AllowListCriteria & WithS3WordsList(const S3WordsList &value)
AWS_MACIE2_API AllowListCriteria(Aws::Utils::Json::JsonView jsonValue)
void SetS3WordsList(S3WordsList &&value)
const Aws::String & GetRegex() const
AllowListCriteria & WithRegex(const Aws::String &value)
AWS_MACIE2_API AllowListCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegex(const Aws::String &value)
void SetS3WordsList(const S3WordsList &value)
AllowListCriteria & WithS3WordsList(S3WordsList &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue