AWS SDK for C++  0.14.3
AWS SDK for C++
QueryObjectsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace DataPipeline
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
42  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
43 
47  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
48 
52  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
53 
57  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
58 
62  inline QueryObjectsRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
63 
67  inline QueryObjectsRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(value); return *this;}
68 
72  inline QueryObjectsRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
73 
80  inline const Query& GetQuery() const{ return m_query; }
81 
88  inline void SetQuery(const Query& value) { m_queryHasBeenSet = true; m_query = value; }
89 
96  inline void SetQuery(Query&& value) { m_queryHasBeenSet = true; m_query = value; }
97 
104  inline QueryObjectsRequest& WithQuery(const Query& value) { SetQuery(value); return *this;}
105 
112  inline QueryObjectsRequest& WithQuery(Query&& value) { SetQuery(value); return *this;}
113 
119  inline const Aws::String& GetSphere() const{ return m_sphere; }
120 
126  inline void SetSphere(const Aws::String& value) { m_sphereHasBeenSet = true; m_sphere = value; }
127 
133  inline void SetSphere(Aws::String&& value) { m_sphereHasBeenSet = true; m_sphere = value; }
134 
140  inline void SetSphere(const char* value) { m_sphereHasBeenSet = true; m_sphere.assign(value); }
141 
147  inline QueryObjectsRequest& WithSphere(const Aws::String& value) { SetSphere(value); return *this;}
148 
154  inline QueryObjectsRequest& WithSphere(Aws::String&& value) { SetSphere(value); return *this;}
155 
161  inline QueryObjectsRequest& WithSphere(const char* value) { SetSphere(value); return *this;}
162 
169  inline const Aws::String& GetMarker() const{ return m_marker; }
170 
177  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
178 
185  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
186 
193  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
194 
201  inline QueryObjectsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
202 
209  inline QueryObjectsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
210 
217  inline QueryObjectsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
218 
223  inline int GetLimit() const{ return m_limit; }
224 
229  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
230 
235  inline QueryObjectsRequest& WithLimit(int value) { SetLimit(value); return *this;}
236 
237  private:
238  Aws::String m_pipelineId;
239  bool m_pipelineIdHasBeenSet;
240  Query m_query;
241  bool m_queryHasBeenSet;
242  Aws::String m_sphere;
243  bool m_sphereHasBeenSet;
244  Aws::String m_marker;
245  bool m_markerHasBeenSet;
246  int m_limit;
247  bool m_limitHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace DataPipeline
252 } // namespace Aws
QueryObjectsRequest & WithQuery(const Query &value)
QueryObjectsRequest & WithPipelineId(const char *value)
QueryObjectsRequest & WithLimit(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
#define AWS_DATAPIPELINE_API
QueryObjectsRequest & WithPipelineId(Aws::String &&value)
QueryObjectsRequest & WithMarker(const Aws::String &value)
QueryObjectsRequest & WithSphere(const Aws::String &value)
QueryObjectsRequest & WithMarker(const char *value)
QueryObjectsRequest & WithSphere(const char *value)
QueryObjectsRequest & WithPipelineId(const Aws::String &value)
QueryObjectsRequest & WithQuery(Query &&value)
QueryObjectsRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetPipelineId(const Aws::String &value)
QueryObjectsRequest & WithSphere(Aws::String &&value)
JSON (JavaScript Object Notation).