AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindingCriteria.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/CriterionAdditionalProperties.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Macie2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MACIE2_API FindingCriteria();
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Map<Aws::String, CriterionAdditionalProperties>& GetCriterion() const{ return m_criterion; }
49 inline bool CriterionHasBeenSet() const { return m_criterionHasBeenSet; }
50 inline void SetCriterion(const Aws::Map<Aws::String, CriterionAdditionalProperties>& value) { m_criterionHasBeenSet = true; m_criterion = value; }
51 inline void SetCriterion(Aws::Map<Aws::String, CriterionAdditionalProperties>&& value) { m_criterionHasBeenSet = true; m_criterion = std::move(value); }
54 inline FindingCriteria& AddCriterion(const Aws::String& key, const CriterionAdditionalProperties& value) { m_criterionHasBeenSet = true; m_criterion.emplace(key, value); return *this; }
55 inline FindingCriteria& AddCriterion(Aws::String&& key, const CriterionAdditionalProperties& value) { m_criterionHasBeenSet = true; m_criterion.emplace(std::move(key), value); return *this; }
56 inline FindingCriteria& AddCriterion(const Aws::String& key, CriterionAdditionalProperties&& value) { m_criterionHasBeenSet = true; m_criterion.emplace(key, std::move(value)); return *this; }
57 inline FindingCriteria& AddCriterion(Aws::String&& key, CriterionAdditionalProperties&& value) { m_criterionHasBeenSet = true; m_criterion.emplace(std::move(key), std::move(value)); return *this; }
58 inline FindingCriteria& AddCriterion(const char* key, CriterionAdditionalProperties&& value) { m_criterionHasBeenSet = true; m_criterion.emplace(key, std::move(value)); return *this; }
59 inline FindingCriteria& AddCriterion(const char* key, const CriterionAdditionalProperties& value) { m_criterionHasBeenSet = true; m_criterion.emplace(key, value); return *this; }
61 private:
62
64 bool m_criterionHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Macie2
69} // namespace Aws
AWS_MACIE2_API FindingCriteria(Aws::Utils::Json::JsonView jsonValue)
void SetCriterion(const Aws::Map< Aws::String, CriterionAdditionalProperties > &value)
const Aws::Map< Aws::String, CriterionAdditionalProperties > & GetCriterion() const
FindingCriteria & AddCriterion(const char *key, const CriterionAdditionalProperties &value)
FindingCriteria & AddCriterion(const char *key, CriterionAdditionalProperties &&value)
FindingCriteria & AddCriterion(Aws::String &&key, CriterionAdditionalProperties &&value)
void SetCriterion(Aws::Map< Aws::String, CriterionAdditionalProperties > &&value)
FindingCriteria & AddCriterion(const Aws::String &key, const CriterionAdditionalProperties &value)
AWS_MACIE2_API FindingCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingCriteria & AddCriterion(const Aws::String &key, CriterionAdditionalProperties &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
FindingCriteria & WithCriterion(const Aws::Map< Aws::String, CriterionAdditionalProperties > &value)
FindingCriteria & AddCriterion(Aws::String &&key, const CriterionAdditionalProperties &value)
FindingCriteria & WithCriterion(Aws::Map< Aws::String, CriterionAdditionalProperties > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue