AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CriterionAdditionalProperties.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
38 {
39 public:
43 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<Aws::String>& GetEq() const{ return m_eq; }
52 inline bool EqHasBeenSet() const { return m_eqHasBeenSet; }
53 inline void SetEq(const Aws::Vector<Aws::String>& value) { m_eqHasBeenSet = true; m_eq = value; }
54 inline void SetEq(Aws::Vector<Aws::String>&& value) { m_eqHasBeenSet = true; m_eq = std::move(value); }
55 inline CriterionAdditionalProperties& WithEq(const Aws::Vector<Aws::String>& value) { SetEq(value); return *this;}
56 inline CriterionAdditionalProperties& WithEq(Aws::Vector<Aws::String>&& value) { SetEq(std::move(value)); return *this;}
57 inline CriterionAdditionalProperties& AddEq(const Aws::String& value) { m_eqHasBeenSet = true; m_eq.push_back(value); return *this; }
58 inline CriterionAdditionalProperties& AddEq(Aws::String&& value) { m_eqHasBeenSet = true; m_eq.push_back(std::move(value)); return *this; }
59 inline CriterionAdditionalProperties& AddEq(const char* value) { m_eqHasBeenSet = true; m_eq.push_back(value); return *this; }
61
63
73 inline const Aws::Vector<Aws::String>& GetEqExactMatch() const{ return m_eqExactMatch; }
74 inline bool EqExactMatchHasBeenSet() const { return m_eqExactMatchHasBeenSet; }
75 inline void SetEqExactMatch(const Aws::Vector<Aws::String>& value) { m_eqExactMatchHasBeenSet = true; m_eqExactMatch = value; }
76 inline void SetEqExactMatch(Aws::Vector<Aws::String>&& value) { m_eqExactMatchHasBeenSet = true; m_eqExactMatch = std::move(value); }
79 inline CriterionAdditionalProperties& AddEqExactMatch(const Aws::String& value) { m_eqExactMatchHasBeenSet = true; m_eqExactMatch.push_back(value); return *this; }
80 inline CriterionAdditionalProperties& AddEqExactMatch(Aws::String&& value) { m_eqExactMatchHasBeenSet = true; m_eqExactMatch.push_back(std::move(value)); return *this; }
81 inline CriterionAdditionalProperties& AddEqExactMatch(const char* value) { m_eqExactMatchHasBeenSet = true; m_eqExactMatch.push_back(value); return *this; }
83
85
88 inline long long GetGt() const{ return m_gt; }
89 inline bool GtHasBeenSet() const { return m_gtHasBeenSet; }
90 inline void SetGt(long long value) { m_gtHasBeenSet = true; m_gt = value; }
91 inline CriterionAdditionalProperties& WithGt(long long value) { SetGt(value); return *this;}
93
95
99 inline long long GetGte() const{ return m_gte; }
100 inline bool GteHasBeenSet() const { return m_gteHasBeenSet; }
101 inline void SetGte(long long value) { m_gteHasBeenSet = true; m_gte = value; }
102 inline CriterionAdditionalProperties& WithGte(long long value) { SetGte(value); return *this;}
104
106
109 inline long long GetLt() const{ return m_lt; }
110 inline bool LtHasBeenSet() const { return m_ltHasBeenSet; }
111 inline void SetLt(long long value) { m_ltHasBeenSet = true; m_lt = value; }
112 inline CriterionAdditionalProperties& WithLt(long long value) { SetLt(value); return *this;}
114
116
119 inline long long GetLte() const{ return m_lte; }
120 inline bool LteHasBeenSet() const { return m_lteHasBeenSet; }
121 inline void SetLte(long long value) { m_lteHasBeenSet = true; m_lte = value; }
122 inline CriterionAdditionalProperties& WithLte(long long value) { SetLte(value); return *this;}
124
126
130 inline const Aws::Vector<Aws::String>& GetNeq() const{ return m_neq; }
131 inline bool NeqHasBeenSet() const { return m_neqHasBeenSet; }
132 inline void SetNeq(const Aws::Vector<Aws::String>& value) { m_neqHasBeenSet = true; m_neq = value; }
133 inline void SetNeq(Aws::Vector<Aws::String>&& value) { m_neqHasBeenSet = true; m_neq = std::move(value); }
134 inline CriterionAdditionalProperties& WithNeq(const Aws::Vector<Aws::String>& value) { SetNeq(value); return *this;}
135 inline CriterionAdditionalProperties& WithNeq(Aws::Vector<Aws::String>&& value) { SetNeq(std::move(value)); return *this;}
136 inline CriterionAdditionalProperties& AddNeq(const Aws::String& value) { m_neqHasBeenSet = true; m_neq.push_back(value); return *this; }
137 inline CriterionAdditionalProperties& AddNeq(Aws::String&& value) { m_neqHasBeenSet = true; m_neq.push_back(std::move(value)); return *this; }
138 inline CriterionAdditionalProperties& AddNeq(const char* value) { m_neqHasBeenSet = true; m_neq.push_back(value); return *this; }
140 private:
141
143 bool m_eqHasBeenSet = false;
144
145 Aws::Vector<Aws::String> m_eqExactMatch;
146 bool m_eqExactMatchHasBeenSet = false;
147
148 long long m_gt;
149 bool m_gtHasBeenSet = false;
150
151 long long m_gte;
152 bool m_gteHasBeenSet = false;
153
154 long long m_lt;
155 bool m_ltHasBeenSet = false;
156
157 long long m_lte;
158 bool m_lteHasBeenSet = false;
159
161 bool m_neqHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Macie2
166} // namespace Aws
CriterionAdditionalProperties & WithEqExactMatch(const Aws::Vector< Aws::String > &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
CriterionAdditionalProperties & WithEq(Aws::Vector< Aws::String > &&value)
CriterionAdditionalProperties & AddEqExactMatch(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEqExactMatch() const
CriterionAdditionalProperties & WithEq(const Aws::Vector< Aws::String > &value)
CriterionAdditionalProperties & WithNeq(const Aws::Vector< Aws::String > &value)
CriterionAdditionalProperties & WithGt(long long value)
void SetEq(const Aws::Vector< Aws::String > &value)
CriterionAdditionalProperties & AddNeq(Aws::String &&value)
CriterionAdditionalProperties & WithGte(long long value)
CriterionAdditionalProperties & WithLt(long long value)
void SetEqExactMatch(Aws::Vector< Aws::String > &&value)
CriterionAdditionalProperties & WithEqExactMatch(Aws::Vector< Aws::String > &&value)
CriterionAdditionalProperties & AddNeq(const Aws::String &value)
CriterionAdditionalProperties & AddEq(Aws::String &&value)
CriterionAdditionalProperties & AddNeq(const char *value)
CriterionAdditionalProperties & AddEq(const Aws::String &value)
AWS_MACIE2_API CriterionAdditionalProperties(Aws::Utils::Json::JsonView jsonValue)
CriterionAdditionalProperties & AddEq(const char *value)
void SetEqExactMatch(const Aws::Vector< Aws::String > &value)
CriterionAdditionalProperties & AddEqExactMatch(const char *value)
CriterionAdditionalProperties & WithNeq(Aws::Vector< Aws::String > &&value)
void SetNeq(const Aws::Vector< Aws::String > &value)
AWS_MACIE2_API CriterionAdditionalProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
CriterionAdditionalProperties & WithLte(long long value)
CriterionAdditionalProperties & AddEqExactMatch(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue