AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdvancedFieldSelector.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 CloudTrail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDTRAIL_API AdvancedFieldSelector();
39 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
195 inline const Aws::String& GetField() const{ return m_field; }
196 inline bool FieldHasBeenSet() const { return m_fieldHasBeenSet; }
197 inline void SetField(const Aws::String& value) { m_fieldHasBeenSet = true; m_field = value; }
198 inline void SetField(Aws::String&& value) { m_fieldHasBeenSet = true; m_field = std::move(value); }
199 inline void SetField(const char* value) { m_fieldHasBeenSet = true; m_field.assign(value); }
200 inline AdvancedFieldSelector& WithField(const Aws::String& value) { SetField(value); return *this;}
201 inline AdvancedFieldSelector& WithField(Aws::String&& value) { SetField(std::move(value)); return *this;}
202 inline AdvancedFieldSelector& WithField(const char* value) { SetField(value); return *this;}
204
206
212 inline const Aws::Vector<Aws::String>& GetEquals() const{ return m_equals; }
213 inline bool EqualsHasBeenSet() const { return m_equalsHasBeenSet; }
214 inline void SetEquals(const Aws::Vector<Aws::String>& value) { m_equalsHasBeenSet = true; m_equals = value; }
215 inline void SetEquals(Aws::Vector<Aws::String>&& value) { m_equalsHasBeenSet = true; m_equals = std::move(value); }
216 inline AdvancedFieldSelector& WithEquals(const Aws::Vector<Aws::String>& value) { SetEquals(value); return *this;}
217 inline AdvancedFieldSelector& WithEquals(Aws::Vector<Aws::String>&& value) { SetEquals(std::move(value)); return *this;}
218 inline AdvancedFieldSelector& AddEquals(const Aws::String& value) { m_equalsHasBeenSet = true; m_equals.push_back(value); return *this; }
219 inline AdvancedFieldSelector& AddEquals(Aws::String&& value) { m_equalsHasBeenSet = true; m_equals.push_back(std::move(value)); return *this; }
220 inline AdvancedFieldSelector& AddEquals(const char* value) { m_equalsHasBeenSet = true; m_equals.push_back(value); return *this; }
222
224
228 inline const Aws::Vector<Aws::String>& GetStartsWith() const{ return m_startsWith; }
229 inline bool StartsWithHasBeenSet() const { return m_startsWithHasBeenSet; }
230 inline void SetStartsWith(const Aws::Vector<Aws::String>& value) { m_startsWithHasBeenSet = true; m_startsWith = value; }
231 inline void SetStartsWith(Aws::Vector<Aws::String>&& value) { m_startsWithHasBeenSet = true; m_startsWith = std::move(value); }
232 inline AdvancedFieldSelector& WithStartsWith(const Aws::Vector<Aws::String>& value) { SetStartsWith(value); return *this;}
233 inline AdvancedFieldSelector& WithStartsWith(Aws::Vector<Aws::String>&& value) { SetStartsWith(std::move(value)); return *this;}
234 inline AdvancedFieldSelector& AddStartsWith(const Aws::String& value) { m_startsWithHasBeenSet = true; m_startsWith.push_back(value); return *this; }
235 inline AdvancedFieldSelector& AddStartsWith(Aws::String&& value) { m_startsWithHasBeenSet = true; m_startsWith.push_back(std::move(value)); return *this; }
236 inline AdvancedFieldSelector& AddStartsWith(const char* value) { m_startsWithHasBeenSet = true; m_startsWith.push_back(value); return *this; }
238
240
244 inline const Aws::Vector<Aws::String>& GetEndsWith() const{ return m_endsWith; }
245 inline bool EndsWithHasBeenSet() const { return m_endsWithHasBeenSet; }
246 inline void SetEndsWith(const Aws::Vector<Aws::String>& value) { m_endsWithHasBeenSet = true; m_endsWith = value; }
247 inline void SetEndsWith(Aws::Vector<Aws::String>&& value) { m_endsWithHasBeenSet = true; m_endsWith = std::move(value); }
248 inline AdvancedFieldSelector& WithEndsWith(const Aws::Vector<Aws::String>& value) { SetEndsWith(value); return *this;}
249 inline AdvancedFieldSelector& WithEndsWith(Aws::Vector<Aws::String>&& value) { SetEndsWith(std::move(value)); return *this;}
250 inline AdvancedFieldSelector& AddEndsWith(const Aws::String& value) { m_endsWithHasBeenSet = true; m_endsWith.push_back(value); return *this; }
251 inline AdvancedFieldSelector& AddEndsWith(Aws::String&& value) { m_endsWithHasBeenSet = true; m_endsWith.push_back(std::move(value)); return *this; }
252 inline AdvancedFieldSelector& AddEndsWith(const char* value) { m_endsWithHasBeenSet = true; m_endsWith.push_back(value); return *this; }
254
256
260 inline const Aws::Vector<Aws::String>& GetNotEquals() const{ return m_notEquals; }
261 inline bool NotEqualsHasBeenSet() const { return m_notEqualsHasBeenSet; }
262 inline void SetNotEquals(const Aws::Vector<Aws::String>& value) { m_notEqualsHasBeenSet = true; m_notEquals = value; }
263 inline void SetNotEquals(Aws::Vector<Aws::String>&& value) { m_notEqualsHasBeenSet = true; m_notEquals = std::move(value); }
264 inline AdvancedFieldSelector& WithNotEquals(const Aws::Vector<Aws::String>& value) { SetNotEquals(value); return *this;}
265 inline AdvancedFieldSelector& WithNotEquals(Aws::Vector<Aws::String>&& value) { SetNotEquals(std::move(value)); return *this;}
266 inline AdvancedFieldSelector& AddNotEquals(const Aws::String& value) { m_notEqualsHasBeenSet = true; m_notEquals.push_back(value); return *this; }
267 inline AdvancedFieldSelector& AddNotEquals(Aws::String&& value) { m_notEqualsHasBeenSet = true; m_notEquals.push_back(std::move(value)); return *this; }
268 inline AdvancedFieldSelector& AddNotEquals(const char* value) { m_notEqualsHasBeenSet = true; m_notEquals.push_back(value); return *this; }
270
272
276 inline const Aws::Vector<Aws::String>& GetNotStartsWith() const{ return m_notStartsWith; }
277 inline bool NotStartsWithHasBeenSet() const { return m_notStartsWithHasBeenSet; }
278 inline void SetNotStartsWith(const Aws::Vector<Aws::String>& value) { m_notStartsWithHasBeenSet = true; m_notStartsWith = value; }
279 inline void SetNotStartsWith(Aws::Vector<Aws::String>&& value) { m_notStartsWithHasBeenSet = true; m_notStartsWith = std::move(value); }
281 inline AdvancedFieldSelector& WithNotStartsWith(Aws::Vector<Aws::String>&& value) { SetNotStartsWith(std::move(value)); return *this;}
282 inline AdvancedFieldSelector& AddNotStartsWith(const Aws::String& value) { m_notStartsWithHasBeenSet = true; m_notStartsWith.push_back(value); return *this; }
283 inline AdvancedFieldSelector& AddNotStartsWith(Aws::String&& value) { m_notStartsWithHasBeenSet = true; m_notStartsWith.push_back(std::move(value)); return *this; }
284 inline AdvancedFieldSelector& AddNotStartsWith(const char* value) { m_notStartsWithHasBeenSet = true; m_notStartsWith.push_back(value); return *this; }
286
288
292 inline const Aws::Vector<Aws::String>& GetNotEndsWith() const{ return m_notEndsWith; }
293 inline bool NotEndsWithHasBeenSet() const { return m_notEndsWithHasBeenSet; }
294 inline void SetNotEndsWith(const Aws::Vector<Aws::String>& value) { m_notEndsWithHasBeenSet = true; m_notEndsWith = value; }
295 inline void SetNotEndsWith(Aws::Vector<Aws::String>&& value) { m_notEndsWithHasBeenSet = true; m_notEndsWith = std::move(value); }
297 inline AdvancedFieldSelector& WithNotEndsWith(Aws::Vector<Aws::String>&& value) { SetNotEndsWith(std::move(value)); return *this;}
298 inline AdvancedFieldSelector& AddNotEndsWith(const Aws::String& value) { m_notEndsWithHasBeenSet = true; m_notEndsWith.push_back(value); return *this; }
299 inline AdvancedFieldSelector& AddNotEndsWith(Aws::String&& value) { m_notEndsWithHasBeenSet = true; m_notEndsWith.push_back(std::move(value)); return *this; }
300 inline AdvancedFieldSelector& AddNotEndsWith(const char* value) { m_notEndsWithHasBeenSet = true; m_notEndsWith.push_back(value); return *this; }
302 private:
303
304 Aws::String m_field;
305 bool m_fieldHasBeenSet = false;
306
308 bool m_equalsHasBeenSet = false;
309
310 Aws::Vector<Aws::String> m_startsWith;
311 bool m_startsWithHasBeenSet = false;
312
313 Aws::Vector<Aws::String> m_endsWith;
314 bool m_endsWithHasBeenSet = false;
315
316 Aws::Vector<Aws::String> m_notEquals;
317 bool m_notEqualsHasBeenSet = false;
318
319 Aws::Vector<Aws::String> m_notStartsWith;
320 bool m_notStartsWithHasBeenSet = false;
321
322 Aws::Vector<Aws::String> m_notEndsWith;
323 bool m_notEndsWithHasBeenSet = false;
324 };
325
326} // namespace Model
327} // namespace CloudTrail
328} // namespace Aws
void SetEquals(Aws::Vector< Aws::String > &&value)
void SetEquals(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & WithNotStartsWith(Aws::Vector< Aws::String > &&value)
AdvancedFieldSelector & AddNotEquals(const char *value)
AdvancedFieldSelector & WithNotEquals(Aws::Vector< Aws::String > &&value)
AWS_CLOUDTRAIL_API AdvancedFieldSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API AdvancedFieldSelector(Aws::Utils::Json::JsonView jsonValue)
AdvancedFieldSelector & AddNotStartsWith(const Aws::String &value)
AdvancedFieldSelector & AddStartsWith(const char *value)
AdvancedFieldSelector & AddNotEquals(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEndsWith() const
void SetNotStartsWith(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & WithStartsWith(Aws::Vector< Aws::String > &&value)
void SetNotEquals(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & AddNotStartsWith(const char *value)
AdvancedFieldSelector & WithEndsWith(Aws::Vector< Aws::String > &&value)
void SetEndsWith(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetNotEquals() const
void SetNotEndsWith(Aws::Vector< Aws::String > &&value)
void SetStartsWith(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & WithEndsWith(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & WithNotEndsWith(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & AddEquals(Aws::String &&value)
AdvancedFieldSelector & AddEquals(const char *value)
AdvancedFieldSelector & AddEndsWith(Aws::String &&value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetNotStartsWith() const
void SetNotEquals(Aws::Vector< Aws::String > &&value)
AdvancedFieldSelector & WithEquals(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & AddStartsWith(const Aws::String &value)
AdvancedFieldSelector & WithField(const char *value)
void SetStartsWith(Aws::Vector< Aws::String > &&value)
void SetNotEndsWith(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & WithField(const Aws::String &value)
AdvancedFieldSelector & AddNotEndsWith(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEquals() const
AdvancedFieldSelector & AddEndsWith(const Aws::String &value)
const Aws::Vector< Aws::String > & GetStartsWith() const
AdvancedFieldSelector & AddStartsWith(Aws::String &&value)
const Aws::Vector< Aws::String > & GetNotEndsWith() const
AdvancedFieldSelector & AddNotEndsWith(Aws::String &&value)
AdvancedFieldSelector & AddNotStartsWith(Aws::String &&value)
AdvancedFieldSelector & AddEndsWith(const char *value)
AdvancedFieldSelector & AddNotEndsWith(const char *value)
AdvancedFieldSelector & WithField(Aws::String &&value)
AdvancedFieldSelector & AddNotEquals(Aws::String &&value)
AdvancedFieldSelector & AddEquals(const Aws::String &value)
void SetNotStartsWith(Aws::Vector< Aws::String > &&value)
AdvancedFieldSelector & WithNotEndsWith(Aws::Vector< Aws::String > &&value)
void SetEndsWith(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & WithEquals(Aws::Vector< Aws::String > &&value)
AdvancedFieldSelector & WithNotStartsWith(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & WithNotEquals(const Aws::Vector< Aws::String > &value)
AdvancedFieldSelector & WithStartsWith(const Aws::Vector< 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