AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchResourcesCriteria.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/SearchResourcesSimpleCriterion.h>
9#include <aws/macie2/model/SearchResourcesTagCriterion.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 SearchResourcesCriteria();
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const SearchResourcesSimpleCriterion& GetSimpleCriterion() const{ return m_simpleCriterion; }
49 inline bool SimpleCriterionHasBeenSet() const { return m_simpleCriterionHasBeenSet; }
50 inline void SetSimpleCriterion(const SearchResourcesSimpleCriterion& value) { m_simpleCriterionHasBeenSet = true; m_simpleCriterion = value; }
51 inline void SetSimpleCriterion(SearchResourcesSimpleCriterion&& value) { m_simpleCriterionHasBeenSet = true; m_simpleCriterion = std::move(value); }
55
57
62 inline const SearchResourcesTagCriterion& GetTagCriterion() const{ return m_tagCriterion; }
63 inline bool TagCriterionHasBeenSet() const { return m_tagCriterionHasBeenSet; }
64 inline void SetTagCriterion(const SearchResourcesTagCriterion& value) { m_tagCriterionHasBeenSet = true; m_tagCriterion = value; }
65 inline void SetTagCriterion(SearchResourcesTagCriterion&& value) { m_tagCriterionHasBeenSet = true; m_tagCriterion = std::move(value); }
67 inline SearchResourcesCriteria& WithTagCriterion(SearchResourcesTagCriterion&& value) { SetTagCriterion(std::move(value)); return *this;}
69 private:
70
71 SearchResourcesSimpleCriterion m_simpleCriterion;
72 bool m_simpleCriterionHasBeenSet = false;
73
74 SearchResourcesTagCriterion m_tagCriterion;
75 bool m_tagCriterionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Macie2
80} // namespace Aws
SearchResourcesCriteria & WithSimpleCriterion(const SearchResourcesSimpleCriterion &value)
const SearchResourcesSimpleCriterion & GetSimpleCriterion() const
void SetTagCriterion(SearchResourcesTagCriterion &&value)
void SetSimpleCriterion(SearchResourcesSimpleCriterion &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API SearchResourcesCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
const SearchResourcesTagCriterion & GetTagCriterion() const
SearchResourcesCriteria & WithSimpleCriterion(SearchResourcesSimpleCriterion &&value)
SearchResourcesCriteria & WithTagCriterion(SearchResourcesTagCriterion &&value)
void SetTagCriterion(const SearchResourcesTagCriterion &value)
void SetSimpleCriterion(const SearchResourcesSimpleCriterion &value)
AWS_MACIE2_API SearchResourcesCriteria(Aws::Utils::Json::JsonView jsonValue)
SearchResourcesCriteria & WithTagCriterion(const SearchResourcesTagCriterion &value)
Aws::Utils::Json::JsonValue JsonValue