AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename RegexT = Aws::String>
51 void SetRegex(RegexT&& value) { m_regexHasBeenSet = true; m_regex = std::forward<RegexT>(value); }
52 template<typename RegexT = Aws::String>
53 AllowListCriteria& WithRegex(RegexT&& value) { SetRegex(std::forward<RegexT>(value)); return *this;}
55
57
61 inline const S3WordsList& GetS3WordsList() const { return m_s3WordsList; }
62 inline bool S3WordsListHasBeenSet() const { return m_s3WordsListHasBeenSet; }
63 template<typename S3WordsListT = S3WordsList>
64 void SetS3WordsList(S3WordsListT&& value) { m_s3WordsListHasBeenSet = true; m_s3WordsList = std::forward<S3WordsListT>(value); }
65 template<typename S3WordsListT = S3WordsList>
66 AllowListCriteria& WithS3WordsList(S3WordsListT&& value) { SetS3WordsList(std::forward<S3WordsListT>(value)); return *this;}
68 private:
69
70 Aws::String m_regex;
71 bool m_regexHasBeenSet = false;
72
73 S3WordsList m_s3WordsList;
74 bool m_s3WordsListHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AllowListCriteria & WithS3WordsList(S3WordsListT &&value)
const S3WordsList & GetS3WordsList() const
AWS_MACIE2_API AllowListCriteria(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRegex() const
AllowListCriteria & WithRegex(RegexT &&value)
AWS_MACIE2_API AllowListCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API AllowListCriteria()=default
void SetS3WordsList(S3WordsListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue