AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
QueryObjectsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datapipeline/DataPipelineRequest.h>
9#include <aws/datapipeline/DataPipeline_EXPORTS.h>
10#include <aws/datapipeline/model/Query.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataPipeline {
16namespace Model {
17
24 public:
25 AWS_DATAPIPELINE_API QueryObjectsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "QueryObjects"; }
32
33 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
34
35 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
41 inline const Aws::String& GetPipelineId() const { return m_pipelineId; }
42 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
43 template <typename PipelineIdT = Aws::String>
44 void SetPipelineId(PipelineIdT&& value) {
45 m_pipelineIdHasBeenSet = true;
46 m_pipelineId = std::forward<PipelineIdT>(value);
47 }
48 template <typename PipelineIdT = Aws::String>
49 QueryObjectsRequest& WithPipelineId(PipelineIdT&& value) {
50 SetPipelineId(std::forward<PipelineIdT>(value));
51 return *this;
52 }
54
56
62 inline const Query& GetQuery() const { return m_query; }
63 inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; }
64 template <typename QueryT = Query>
65 void SetQuery(QueryT&& value) {
66 m_queryHasBeenSet = true;
67 m_query = std::forward<QueryT>(value);
68 }
69 template <typename QueryT = Query>
70 QueryObjectsRequest& WithQuery(QueryT&& value) {
71 SetQuery(std::forward<QueryT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::String& GetSphere() const { return m_sphere; }
83 inline bool SphereHasBeenSet() const { return m_sphereHasBeenSet; }
84 template <typename SphereT = Aws::String>
85 void SetSphere(SphereT&& value) {
86 m_sphereHasBeenSet = true;
87 m_sphere = std::forward<SphereT>(value);
88 }
89 template <typename SphereT = Aws::String>
90 QueryObjectsRequest& WithSphere(SphereT&& value) {
91 SetSphere(std::forward<SphereT>(value));
92 return *this;
93 }
95
97
103 inline const Aws::String& GetMarker() const { return m_marker; }
104 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
105 template <typename MarkerT = Aws::String>
106 void SetMarker(MarkerT&& value) {
107 m_markerHasBeenSet = true;
108 m_marker = std::forward<MarkerT>(value);
109 }
110 template <typename MarkerT = Aws::String>
111 QueryObjectsRequest& WithMarker(MarkerT&& value) {
112 SetMarker(std::forward<MarkerT>(value));
113 return *this;
114 }
116
118
122 inline int GetLimit() const { return m_limit; }
123 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
124 inline void SetLimit(int value) {
125 m_limitHasBeenSet = true;
126 m_limit = value;
127 }
128 inline QueryObjectsRequest& WithLimit(int value) {
129 SetLimit(value);
130 return *this;
131 }
133 private:
134 Aws::String m_pipelineId;
135
136 Query m_query;
137
138 Aws::String m_sphere;
139
140 Aws::String m_marker;
141
142 int m_limit{0};
143 bool m_pipelineIdHasBeenSet = false;
144 bool m_queryHasBeenSet = false;
145 bool m_sphereHasBeenSet = false;
146 bool m_markerHasBeenSet = false;
147 bool m_limitHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace DataPipeline
152} // namespace Aws
QueryObjectsRequest & WithPipelineId(PipelineIdT &&value)
QueryObjectsRequest & WithQuery(QueryT &&value)
QueryObjectsRequest & WithSphere(SphereT &&value)
QueryObjectsRequest & WithMarker(MarkerT &&value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATAPIPELINE_API QueryObjectsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String