AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchExpression.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/model/Filter.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 QConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QCONNECT_API SearchExpression();
36 AWS_QCONNECT_API SearchExpression(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
46 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
47 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
48 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
49 inline SearchExpression& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
50 inline SearchExpression& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
51 inline SearchExpression& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
52 inline SearchExpression& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<Filter> m_filters;
57 bool m_filtersHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace QConnect
62} // namespace Aws
void SetFilters(const Aws::Vector< Filter > &value)
SearchExpression & AddFilters(Filter &&value)
const Aws::Vector< Filter > & GetFilters() const
AWS_QCONNECT_API SearchExpression(Aws::Utils::Json::JsonView jsonValue)
SearchExpression & WithFilters(Aws::Vector< Filter > &&value)
SearchExpression & WithFilters(const Aws::Vector< Filter > &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SearchExpression & AddFilters(const Filter &value)
void SetFilters(Aws::Vector< Filter > &&value)
AWS_QCONNECT_API SearchExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue