AWS SDK for C++  1.8.129
AWS SDK for C++
Query.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace DataPipeline
23 {
24 namespace Model
25 {
26 
33  {
34  public:
35  Query();
39 
40 
45  inline const Aws::Vector<Selector>& GetSelectors() const{ return m_selectors; }
46 
51  inline bool SelectorsHasBeenSet() const { return m_selectorsHasBeenSet; }
52 
57  inline void SetSelectors(const Aws::Vector<Selector>& value) { m_selectorsHasBeenSet = true; m_selectors = value; }
58 
63  inline void SetSelectors(Aws::Vector<Selector>&& value) { m_selectorsHasBeenSet = true; m_selectors = std::move(value); }
64 
69  inline Query& WithSelectors(const Aws::Vector<Selector>& value) { SetSelectors(value); return *this;}
70 
75  inline Query& WithSelectors(Aws::Vector<Selector>&& value) { SetSelectors(std::move(value)); return *this;}
76 
81  inline Query& AddSelectors(const Selector& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(value); return *this; }
82 
87  inline Query& AddSelectors(Selector&& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(std::move(value)); return *this; }
88 
89  private:
90 
91  Aws::Vector<Selector> m_selectors;
92  bool m_selectorsHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace DataPipeline
97 } // namespace Aws
Selector.h
Aws::DataPipeline::Model::Query::WithSelectors
Query & WithSelectors(const Aws::Vector< Selector > &value)
Definition: Query.h:69
Aws::DataPipeline::Model::Query::Query
Query(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataPipeline::Model::Query::operator=
Query & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
Aws::DataPipeline::Model::Query::SetSelectors
void SetSelectors(Aws::Vector< Selector > &&value)
Definition: Query.h:63
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::Query::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DataPipeline::Model::Query::AddSelectors
Query & AddSelectors(const Selector &value)
Definition: Query.h:81
Aws::DataPipeline::Model::Query
Definition: Query.h:33
Aws::DataPipeline::Model::Query::WithSelectors
Query & WithSelectors(Aws::Vector< Selector > &&value)
Definition: Query.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::Selector
Definition: Selector.h:34
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::DataPipeline::Model::Query::Query
Query()
Aws::DataPipeline::Model::Query::SetSelectors
void SetSelectors(const Aws::Vector< Selector > &value)
Definition: Query.h:57
Aws::DataPipeline::Model::Query::AddSelectors
Query & AddSelectors(Selector &&value)
Definition: Query.h:87
Aws::DataPipeline::Model::Query::GetSelectors
const Aws::Vector< Selector > & GetSelectors() const
Definition: Query.h:45
Aws::DataPipeline::Model::Query::SelectorsHasBeenSet
bool SelectorsHasBeenSet() const
Definition: Query.h:51