AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SimpleCriterionForJob.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/JobComparator.h>
9#include <aws/macie2/model/SimpleCriterionKeyForJob.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Macie2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MACIE2_API SimpleCriterionForJob();
41 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const JobComparator& GetComparator() const{ return m_comparator; }
50 inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; }
51 inline void SetComparator(const JobComparator& value) { m_comparatorHasBeenSet = true; m_comparator = value; }
52 inline void SetComparator(JobComparator&& value) { m_comparatorHasBeenSet = true; m_comparator = std::move(value); }
53 inline SimpleCriterionForJob& WithComparator(const JobComparator& value) { SetComparator(value); return *this;}
54 inline SimpleCriterionForJob& WithComparator(JobComparator&& value) { SetComparator(std::move(value)); return *this;}
56
58
61 inline const SimpleCriterionKeyForJob& GetKey() const{ return m_key; }
62 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
63 inline void SetKey(const SimpleCriterionKeyForJob& value) { m_keyHasBeenSet = true; m_key = value; }
64 inline void SetKey(SimpleCriterionKeyForJob&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
65 inline SimpleCriterionForJob& WithKey(const SimpleCriterionKeyForJob& value) { SetKey(value); return *this;}
66 inline SimpleCriterionForJob& WithKey(SimpleCriterionKeyForJob&& value) { SetKey(std::move(value)); return *this;}
68
70
86 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
87 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
88 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
89 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
90 inline SimpleCriterionForJob& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
91 inline SimpleCriterionForJob& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
92 inline SimpleCriterionForJob& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
93 inline SimpleCriterionForJob& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
94 inline SimpleCriterionForJob& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
96 private:
97
98 JobComparator m_comparator;
99 bool m_comparatorHasBeenSet = false;
100
102 bool m_keyHasBeenSet = false;
103
105 bool m_valuesHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Macie2
110} // namespace Aws
const SimpleCriterionKeyForJob & GetKey() const
void SetValues(Aws::Vector< Aws::String > &&value)
SimpleCriterionForJob & WithValues(const Aws::Vector< Aws::String > &value)
SimpleCriterionForJob & WithValues(Aws::Vector< Aws::String > &&value)
SimpleCriterionForJob & WithKey(SimpleCriterionKeyForJob &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValues(const Aws::Vector< Aws::String > &value)
SimpleCriterionForJob & WithComparator(JobComparator &&value)
SimpleCriterionForJob & AddValues(Aws::String &&value)
const Aws::Vector< Aws::String > & GetValues() const
void SetKey(SimpleCriterionKeyForJob &&value)
SimpleCriterionForJob & AddValues(const Aws::String &value)
SimpleCriterionForJob & WithComparator(const JobComparator &value)
AWS_MACIE2_API SimpleCriterionForJob(Aws::Utils::Json::JsonView jsonValue)
SimpleCriterionForJob & WithKey(const SimpleCriterionKeyForJob &value)
void SetComparator(const JobComparator &value)
void SetKey(const SimpleCriterionKeyForJob &value)
SimpleCriterionForJob & AddValues(const char *value)
AWS_MACIE2_API SimpleCriterionForJob & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue