AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
CriterionAdditionalProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Macie2 {
21namespace Model {
22
34 public:
35 AWS_MACIE2_API CriterionAdditionalProperties() = default;
38 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::Vector<Aws::String>& GetEq() const { return m_eq; }
46 inline bool EqHasBeenSet() const { return m_eqHasBeenSet; }
47 template <typename EqT = Aws::Vector<Aws::String>>
48 void SetEq(EqT&& value) {
49 m_eqHasBeenSet = true;
50 m_eq = std::forward<EqT>(value);
51 }
52 template <typename EqT = Aws::Vector<Aws::String>>
54 SetEq(std::forward<EqT>(value));
55 return *this;
56 }
57 template <typename EqT = Aws::String>
59 m_eqHasBeenSet = true;
60 m_eq.emplace_back(std::forward<EqT>(value));
61 return *this;
62 }
64
66
76 inline const Aws::Vector<Aws::String>& GetEqExactMatch() const { return m_eqExactMatch; }
77 inline bool EqExactMatchHasBeenSet() const { return m_eqExactMatchHasBeenSet; }
78 template <typename EqExactMatchT = Aws::Vector<Aws::String>>
79 void SetEqExactMatch(EqExactMatchT&& value) {
80 m_eqExactMatchHasBeenSet = true;
81 m_eqExactMatch = std::forward<EqExactMatchT>(value);
82 }
83 template <typename EqExactMatchT = Aws::Vector<Aws::String>>
85 SetEqExactMatch(std::forward<EqExactMatchT>(value));
86 return *this;
87 }
88 template <typename EqExactMatchT = Aws::String>
90 m_eqExactMatchHasBeenSet = true;
91 m_eqExactMatch.emplace_back(std::forward<EqExactMatchT>(value));
92 return *this;
93 }
95
97
100 inline long long GetGt() const { return m_gt; }
101 inline bool GtHasBeenSet() const { return m_gtHasBeenSet; }
102 inline void SetGt(long long value) {
103 m_gtHasBeenSet = true;
104 m_gt = value;
105 }
106 inline CriterionAdditionalProperties& WithGt(long long value) {
107 SetGt(value);
108 return *this;
109 }
111
113
117 inline long long GetGte() const { return m_gte; }
118 inline bool GteHasBeenSet() const { return m_gteHasBeenSet; }
119 inline void SetGte(long long value) {
120 m_gteHasBeenSet = true;
121 m_gte = value;
122 }
123 inline CriterionAdditionalProperties& WithGte(long long value) {
124 SetGte(value);
125 return *this;
126 }
128
130
133 inline long long GetLt() const { return m_lt; }
134 inline bool LtHasBeenSet() const { return m_ltHasBeenSet; }
135 inline void SetLt(long long value) {
136 m_ltHasBeenSet = true;
137 m_lt = value;
138 }
139 inline CriterionAdditionalProperties& WithLt(long long value) {
140 SetLt(value);
141 return *this;
142 }
144
146
149 inline long long GetLte() const { return m_lte; }
150 inline bool LteHasBeenSet() const { return m_lteHasBeenSet; }
151 inline void SetLte(long long value) {
152 m_lteHasBeenSet = true;
153 m_lte = value;
154 }
155 inline CriterionAdditionalProperties& WithLte(long long value) {
156 SetLte(value);
157 return *this;
158 }
160
162
166 inline const Aws::Vector<Aws::String>& GetNeq() const { return m_neq; }
167 inline bool NeqHasBeenSet() const { return m_neqHasBeenSet; }
168 template <typename NeqT = Aws::Vector<Aws::String>>
169 void SetNeq(NeqT&& value) {
170 m_neqHasBeenSet = true;
171 m_neq = std::forward<NeqT>(value);
172 }
173 template <typename NeqT = Aws::Vector<Aws::String>>
175 SetNeq(std::forward<NeqT>(value));
176 return *this;
177 }
178 template <typename NeqT = Aws::String>
180 m_neqHasBeenSet = true;
181 m_neq.emplace_back(std::forward<NeqT>(value));
182 return *this;
183 }
185 private:
187
188 Aws::Vector<Aws::String> m_eqExactMatch;
189
190 long long m_gt{0};
191
192 long long m_gte{0};
193
194 long long m_lt{0};
195
196 long long m_lte{0};
197
199 bool m_eqHasBeenSet = false;
200 bool m_eqExactMatchHasBeenSet = false;
201 bool m_gtHasBeenSet = false;
202 bool m_gteHasBeenSet = false;
203 bool m_ltHasBeenSet = false;
204 bool m_lteHasBeenSet = false;
205 bool m_neqHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace Macie2
210} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
CriterionAdditionalProperties & AddNeq(NeqT &&value)
const Aws::Vector< Aws::String > & GetEqExactMatch() const
CriterionAdditionalProperties & WithGt(long long value)
CriterionAdditionalProperties & WithGte(long long value)
CriterionAdditionalProperties & WithLt(long long value)
CriterionAdditionalProperties & AddEqExactMatch(EqExactMatchT &&value)
CriterionAdditionalProperties & WithEqExactMatch(EqExactMatchT &&value)
AWS_MACIE2_API CriterionAdditionalProperties()=default
AWS_MACIE2_API CriterionAdditionalProperties(Aws::Utils::Json::JsonView jsonValue)
CriterionAdditionalProperties & WithNeq(NeqT &&value)
CriterionAdditionalProperties & AddEq(EqT &&value)
AWS_MACIE2_API CriterionAdditionalProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
CriterionAdditionalProperties & WithLte(long long value)
CriterionAdditionalProperties & WithEq(EqT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue