AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
SearchResourcesBucketCriteria.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/SearchResourcesCriteriaBlock.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Macie2 {
20namespace Model {
21
30 public:
31 AWS_MACIE2_API SearchResourcesBucketCriteria() = default;
34 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const SearchResourcesCriteriaBlock& GetExcludes() const { return m_excludes; }
42 inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; }
43 template <typename ExcludesT = SearchResourcesCriteriaBlock>
44 void SetExcludes(ExcludesT&& value) {
45 m_excludesHasBeenSet = true;
46 m_excludes = std::forward<ExcludesT>(value);
47 }
48 template <typename ExcludesT = SearchResourcesCriteriaBlock>
50 SetExcludes(std::forward<ExcludesT>(value));
51 return *this;
52 }
54
56
60 inline const SearchResourcesCriteriaBlock& GetIncludes() const { return m_includes; }
61 inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; }
62 template <typename IncludesT = SearchResourcesCriteriaBlock>
63 void SetIncludes(IncludesT&& value) {
64 m_includesHasBeenSet = true;
65 m_includes = std::forward<IncludesT>(value);
66 }
67 template <typename IncludesT = SearchResourcesCriteriaBlock>
69 SetIncludes(std::forward<IncludesT>(value));
70 return *this;
71 }
73 private:
75
77 bool m_excludesHasBeenSet = false;
78 bool m_includesHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Macie2
83} // namespace Aws
const SearchResourcesCriteriaBlock & GetIncludes() const
SearchResourcesBucketCriteria & WithIncludes(IncludesT &&value)
AWS_MACIE2_API SearchResourcesBucketCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API SearchResourcesBucketCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API SearchResourcesBucketCriteria()=default
SearchResourcesBucketCriteria & WithExcludes(ExcludesT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const SearchResourcesCriteriaBlock & GetExcludes() const
Aws::Utils::Json::JsonValue JsonValue