AWS SDK for C++  1.8.129
AWS SDK for C++
QueryObjectsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DataPipeline
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "QueryObjects"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
45 
49  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
50 
54  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
55 
59  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
60 
64  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
65 
69  inline QueryObjectsRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
70 
74  inline QueryObjectsRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
75 
79  inline QueryObjectsRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
80 
81 
88  inline const Query& GetQuery() const{ return m_query; }
89 
96  inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; }
97 
104  inline void SetQuery(const Query& value) { m_queryHasBeenSet = true; m_query = value; }
105 
112  inline void SetQuery(Query&& value) { m_queryHasBeenSet = true; m_query = std::move(value); }
113 
120  inline QueryObjectsRequest& WithQuery(const Query& value) { SetQuery(value); return *this;}
121 
128  inline QueryObjectsRequest& WithQuery(Query&& value) { SetQuery(std::move(value)); return *this;}
129 
130 
136  inline const Aws::String& GetSphere() const{ return m_sphere; }
137 
143  inline bool SphereHasBeenSet() const { return m_sphereHasBeenSet; }
144 
150  inline void SetSphere(const Aws::String& value) { m_sphereHasBeenSet = true; m_sphere = value; }
151 
157  inline void SetSphere(Aws::String&& value) { m_sphereHasBeenSet = true; m_sphere = std::move(value); }
158 
164  inline void SetSphere(const char* value) { m_sphereHasBeenSet = true; m_sphere.assign(value); }
165 
171  inline QueryObjectsRequest& WithSphere(const Aws::String& value) { SetSphere(value); return *this;}
172 
178  inline QueryObjectsRequest& WithSphere(Aws::String&& value) { SetSphere(std::move(value)); return *this;}
179 
185  inline QueryObjectsRequest& WithSphere(const char* value) { SetSphere(value); return *this;}
186 
187 
194  inline const Aws::String& GetMarker() const{ return m_marker; }
195 
202  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
203 
210  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
211 
218  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
219 
226  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
227 
234  inline QueryObjectsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
235 
242  inline QueryObjectsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
243 
250  inline QueryObjectsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
251 
252 
257  inline int GetLimit() const{ return m_limit; }
258 
263  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
264 
269  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
270 
275  inline QueryObjectsRequest& WithLimit(int value) { SetLimit(value); return *this;}
276 
277  private:
278 
279  Aws::String m_pipelineId;
280  bool m_pipelineIdHasBeenSet;
281 
282  Query m_query;
283  bool m_queryHasBeenSet;
284 
285  Aws::String m_sphere;
286  bool m_sphereHasBeenSet;
287 
288  Aws::String m_marker;
289  bool m_markerHasBeenSet;
290 
291  int m_limit;
292  bool m_limitHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace DataPipeline
297 } // namespace Aws
Aws::DataPipeline::Model::QueryObjectsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: QueryObjectsRequest.h:218
Aws::DataPipeline::Model::QueryObjectsRequest::SetLimit
void SetLimit(int value)
Definition: QueryObjectsRequest.h:269
Aws::DataPipeline::Model::QueryObjectsRequest::WithQuery
QueryObjectsRequest & WithQuery(Query &&value)
Definition: QueryObjectsRequest.h:128
Aws::DataPipeline::Model::QueryObjectsRequest::SphereHasBeenSet
bool SphereHasBeenSet() const
Definition: QueryObjectsRequest.h:143
Aws::DataPipeline::Model::QueryObjectsRequest::WithSphere
QueryObjectsRequest & WithSphere(const char *value)
Definition: QueryObjectsRequest.h:185
Aws::DataPipeline::Model::QueryObjectsRequest::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: QueryObjectsRequest.h:44
Aws::DataPipeline::Model::QueryObjectsRequest
Definition: QueryObjectsRequest.h:26
Aws::DataPipeline::Model::QueryObjectsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: QueryObjectsRequest.h:263
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::QueryObjectsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: QueryObjectsRequest.h:202
Aws::DataPipeline::Model::QueryObjectsRequest::GetSphere
const Aws::String & GetSphere() const
Definition: QueryObjectsRequest.h:136
Aws::DataPipeline::Model::QueryObjectsRequest::WithPipelineId
QueryObjectsRequest & WithPipelineId(Aws::String &&value)
Definition: QueryObjectsRequest.h:74
Aws::DataPipeline::Model::QueryObjectsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataPipeline::Model::QueryObjectsRequest::SetSphere
void SetSphere(const char *value)
Definition: QueryObjectsRequest.h:164
Aws::DataPipeline::Model::QueryObjectsRequest::GetLimit
int GetLimit() const
Definition: QueryObjectsRequest.h:257
Aws::DataPipeline::Model::QueryObjectsRequest::SetMarker
void SetMarker(const char *value)
Definition: QueryObjectsRequest.h:226
Aws::DataPipeline::Model::QueryObjectsRequest::SetQuery
void SetQuery(const Query &value)
Definition: QueryObjectsRequest.h:104
Aws::DataPipeline::Model::QueryObjectsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataPipeline::Model::QueryObjectsRequest::SetSphere
void SetSphere(Aws::String &&value)
Definition: QueryObjectsRequest.h:157
Aws::DataPipeline::Model::QueryObjectsRequest::WithMarker
QueryObjectsRequest & WithMarker(Aws::String &&value)
Definition: QueryObjectsRequest.h:242
Aws::DataPipeline::Model::QueryObjectsRequest::WithSphere
QueryObjectsRequest & WithSphere(const Aws::String &value)
Definition: QueryObjectsRequest.h:171
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::QueryObjectsRequest::QueryHasBeenSet
bool QueryHasBeenSet() const
Definition: QueryObjectsRequest.h:96
Aws::DataPipeline::Model::QueryObjectsRequest::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: QueryObjectsRequest.h:59
Aws::DataPipeline::Model::QueryObjectsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: QueryObjectsRequest.h:194
Aws::DataPipeline::Model::QueryObjectsRequest::SetQuery
void SetQuery(Query &&value)
Definition: QueryObjectsRequest.h:112
Aws::DataPipeline::Model::QueryObjectsRequest::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: QueryObjectsRequest.h:54
DataPipelineRequest.h
Aws::DataPipeline::Model::QueryObjectsRequest::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: QueryObjectsRequest.h:49
Aws::DataPipeline::Model::QueryObjectsRequest::SetSphere
void SetSphere(const Aws::String &value)
Definition: QueryObjectsRequest.h:150
Aws::DataPipeline::Model::QueryObjectsRequest::WithPipelineId
QueryObjectsRequest & WithPipelineId(const char *value)
Definition: QueryObjectsRequest.h:79
Aws::DataPipeline::Model::QueryObjectsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: QueryObjectsRequest.h:34
AWSString.h
Aws::DataPipeline::Model::QueryObjectsRequest::GetQuery
const Query & GetQuery() const
Definition: QueryObjectsRequest.h:88
Aws::DataPipeline::Model::Query
Definition: Query.h:33
Aws::DataPipeline::Model::QueryObjectsRequest::SetPipelineId
void SetPipelineId(const char *value)
Definition: QueryObjectsRequest.h:64
Aws::DataPipeline::Model::QueryObjectsRequest::WithSphere
QueryObjectsRequest & WithSphere(Aws::String &&value)
Definition: QueryObjectsRequest.h:178
Aws::DataPipeline::Model::QueryObjectsRequest::WithQuery
QueryObjectsRequest & WithQuery(const Query &value)
Definition: QueryObjectsRequest.h:120
Aws::DataPipeline::Model::QueryObjectsRequest::QueryObjectsRequest
QueryObjectsRequest()
Query.h
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::QueryObjectsRequest::WithMarker
QueryObjectsRequest & WithMarker(const Aws::String &value)
Definition: QueryObjectsRequest.h:234
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataPipeline::Model::QueryObjectsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: QueryObjectsRequest.h:210
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::QueryObjectsRequest::WithLimit
QueryObjectsRequest & WithLimit(int value)
Definition: QueryObjectsRequest.h:275
Aws::DataPipeline::Model::QueryObjectsRequest::WithPipelineId
QueryObjectsRequest & WithPipelineId(const Aws::String &value)
Definition: QueryObjectsRequest.h:69
Aws::DataPipeline::Model::QueryObjectsRequest::WithMarker
QueryObjectsRequest & WithMarker(const char *value)
Definition: QueryObjectsRequest.h:250