AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Query.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datapipeline/model/Selector.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 DataPipeline
23{
24namespace Model
25{
26
32 class Query
33 {
34 public:
35 AWS_DATAPIPELINE_API Query();
36 AWS_DATAPIPELINE_API Query(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAPIPELINE_API Query& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<Selector>& GetSelectors() const{ return m_selectors; }
47 inline bool SelectorsHasBeenSet() const { return m_selectorsHasBeenSet; }
48 inline void SetSelectors(const Aws::Vector<Selector>& value) { m_selectorsHasBeenSet = true; m_selectors = value; }
49 inline void SetSelectors(Aws::Vector<Selector>&& value) { m_selectorsHasBeenSet = true; m_selectors = std::move(value); }
50 inline Query& WithSelectors(const Aws::Vector<Selector>& value) { SetSelectors(value); return *this;}
51 inline Query& WithSelectors(Aws::Vector<Selector>&& value) { SetSelectors(std::move(value)); return *this;}
52 inline Query& AddSelectors(const Selector& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(value); return *this; }
53 inline Query& AddSelectors(Selector&& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<Selector> m_selectors;
58 bool m_selectorsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace DataPipeline
63} // namespace Aws
AWS_DATAPIPELINE_API Query & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAPIPELINE_API Query()
AWS_DATAPIPELINE_API Query(Aws::Utils::Json::JsonView jsonValue)
Query & WithSelectors(Aws::Vector< Selector > &&value)
Definition Query.h:51
void SetSelectors(const Aws::Vector< Selector > &value)
Definition Query.h:48
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
Query & WithSelectors(const Aws::Vector< Selector > &value)
Definition Query.h:50
bool SelectorsHasBeenSet() const
Definition Query.h:47
Query & AddSelectors(Selector &&value)
Definition Query.h:53
Query & AddSelectors(const Selector &value)
Definition Query.h:52
const Aws::Vector< Selector > & GetSelectors() const
Definition Query.h:46
void SetSelectors(Aws::Vector< Selector > &&value)
Definition Query.h:49
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue