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/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/Condition.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 GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API FindingCriteria();
38 AWS_GUARDDUTY_API FindingCriteria(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Map<Aws::String, Condition>& GetCriterion() const{ return m_criterion; }
49 inline bool CriterionHasBeenSet() const { return m_criterionHasBeenSet; }
50 inline void SetCriterion(const Aws::Map<Aws::String, Condition>& value) { m_criterionHasBeenSet = true; m_criterion = value; }
51 inline void SetCriterion(Aws::Map<Aws::String, Condition>&& value) { m_criterionHasBeenSet = true; m_criterion = std::move(value); }
52 inline FindingCriteria& WithCriterion(const Aws::Map<Aws::String, Condition>& value) { SetCriterion(value); return *this;}
53 inline FindingCriteria& WithCriterion(Aws::Map<Aws::String, Condition>&& value) { SetCriterion(std::move(value)); return *this;}
54 inline FindingCriteria& AddCriterion(const Aws::String& key, const Condition& value) { m_criterionHasBeenSet = true; m_criterion.emplace(key, value); return *this; }
55 inline FindingCriteria& AddCriterion(Aws::String&& key, const Condition& value) { m_criterionHasBeenSet = true; m_criterion.emplace(std::move(key), value); return *this; }
56 inline FindingCriteria& AddCriterion(const Aws::String& key, Condition&& value) { m_criterionHasBeenSet = true; m_criterion.emplace(key, std::move(value)); return *this; }
57 inline FindingCriteria& AddCriterion(Aws::String&& key, Condition&& value) { m_criterionHasBeenSet = true; m_criterion.emplace(std::move(key), std::move(value)); return *this; }
58 inline FindingCriteria& AddCriterion(const char* key, Condition&& value) { m_criterionHasBeenSet = true; m_criterion.emplace(key, std::move(value)); return *this; }
59 inline FindingCriteria& AddCriterion(const char* key, const Condition& 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 GuardDuty
69} // namespace Aws
AWS_GUARDDUTY_API FindingCriteria(Aws::Utils::Json::JsonView jsonValue)
void SetCriterion(Aws::Map< Aws::String, Condition > &&value)
FindingCriteria & AddCriterion(const Aws::String &key, Condition &&value)
const Aws::Map< Aws::String, Condition > & GetCriterion() const
FindingCriteria & AddCriterion(const char *key, const Condition &value)
FindingCriteria & AddCriterion(Aws::String &&key, const Condition &value)
FindingCriteria & WithCriterion(const Aws::Map< Aws::String, Condition > &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
FindingCriteria & AddCriterion(const char *key, Condition &&value)
AWS_GUARDDUTY_API FindingCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingCriteria & AddCriterion(Aws::String &&key, Condition &&value)
void SetCriterion(const Aws::Map< Aws::String, Condition > &value)
FindingCriteria & WithCriterion(Aws::Map< Aws::String, Condition > &&value)
FindingCriteria & AddCriterion(const Aws::String &key, const Condition &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