AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScanResourceCriteria.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/guardduty/model/ScanCriterionKey.h>
10#include <aws/guardduty/model/ScanCondition.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 ScanResourceCriteria();
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Map<ScanCriterionKey, ScanCondition>& GetInclude() const{ return m_include; }
49 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
50 inline void SetInclude(const Aws::Map<ScanCriterionKey, ScanCondition>& value) { m_includeHasBeenSet = true; m_include = value; }
51 inline void SetInclude(Aws::Map<ScanCriterionKey, ScanCondition>&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
53 inline ScanResourceCriteria& WithInclude(Aws::Map<ScanCriterionKey, ScanCondition>&& value) { SetInclude(std::move(value)); return *this;}
54 inline ScanResourceCriteria& AddInclude(const ScanCriterionKey& key, const ScanCondition& value) { m_includeHasBeenSet = true; m_include.emplace(key, value); return *this; }
55 inline ScanResourceCriteria& AddInclude(ScanCriterionKey&& key, const ScanCondition& value) { m_includeHasBeenSet = true; m_include.emplace(std::move(key), value); return *this; }
56 inline ScanResourceCriteria& AddInclude(const ScanCriterionKey& key, ScanCondition&& value) { m_includeHasBeenSet = true; m_include.emplace(key, std::move(value)); return *this; }
57 inline ScanResourceCriteria& AddInclude(ScanCriterionKey&& key, ScanCondition&& value) { m_includeHasBeenSet = true; m_include.emplace(std::move(key), std::move(value)); return *this; }
59
61
65 inline const Aws::Map<ScanCriterionKey, ScanCondition>& GetExclude() const{ return m_exclude; }
66 inline bool ExcludeHasBeenSet() const { return m_excludeHasBeenSet; }
67 inline void SetExclude(const Aws::Map<ScanCriterionKey, ScanCondition>& value) { m_excludeHasBeenSet = true; m_exclude = value; }
68 inline void SetExclude(Aws::Map<ScanCriterionKey, ScanCondition>&& value) { m_excludeHasBeenSet = true; m_exclude = std::move(value); }
70 inline ScanResourceCriteria& WithExclude(Aws::Map<ScanCriterionKey, ScanCondition>&& value) { SetExclude(std::move(value)); return *this;}
71 inline ScanResourceCriteria& AddExclude(const ScanCriterionKey& key, const ScanCondition& value) { m_excludeHasBeenSet = true; m_exclude.emplace(key, value); return *this; }
72 inline ScanResourceCriteria& AddExclude(ScanCriterionKey&& key, const ScanCondition& value) { m_excludeHasBeenSet = true; m_exclude.emplace(std::move(key), value); return *this; }
73 inline ScanResourceCriteria& AddExclude(const ScanCriterionKey& key, ScanCondition&& value) { m_excludeHasBeenSet = true; m_exclude.emplace(key, std::move(value)); return *this; }
74 inline ScanResourceCriteria& AddExclude(ScanCriterionKey&& key, ScanCondition&& value) { m_excludeHasBeenSet = true; m_exclude.emplace(std::move(key), std::move(value)); return *this; }
76 private:
77
79 bool m_includeHasBeenSet = false;
80
82 bool m_excludeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace GuardDuty
87} // namespace Aws
AWS_GUARDDUTY_API ScanResourceCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInclude(Aws::Map< ScanCriterionKey, ScanCondition > &&value)
const Aws::Map< ScanCriterionKey, ScanCondition > & GetExclude() const
ScanResourceCriteria & AddInclude(ScanCriterionKey &&key, ScanCondition &&value)
ScanResourceCriteria & AddInclude(const ScanCriterionKey &key, const ScanCondition &value)
ScanResourceCriteria & AddInclude(const ScanCriterionKey &key, ScanCondition &&value)
ScanResourceCriteria & WithExclude(Aws::Map< ScanCriterionKey, ScanCondition > &&value)
ScanResourceCriteria & WithInclude(Aws::Map< ScanCriterionKey, ScanCondition > &&value)
void SetExclude(const Aws::Map< ScanCriterionKey, ScanCondition > &value)
ScanResourceCriteria & WithExclude(const Aws::Map< ScanCriterionKey, ScanCondition > &value)
ScanResourceCriteria & AddInclude(ScanCriterionKey &&key, const ScanCondition &value)
const Aws::Map< ScanCriterionKey, ScanCondition > & GetInclude() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExclude(Aws::Map< ScanCriterionKey, ScanCondition > &&value)
ScanResourceCriteria & AddExclude(const ScanCriterionKey &key, const ScanCondition &value)
void SetInclude(const Aws::Map< ScanCriterionKey, ScanCondition > &value)
ScanResourceCriteria & AddExclude(const ScanCriterionKey &key, ScanCondition &&value)
AWS_GUARDDUTY_API ScanResourceCriteria(Aws::Utils::Json::JsonView jsonValue)
ScanResourceCriteria & AddExclude(ScanCriterionKey &&key, ScanCondition &&value)
ScanResourceCriteria & WithInclude(const Aws::Map< ScanCriterionKey, ScanCondition > &value)
ScanResourceCriteria & AddExclude(ScanCriterionKey &&key, const ScanCondition &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue