AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryObjectsRequest.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/datapipeline/DataPipelineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datapipeline/model/Query.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataPipeline
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_DATAPIPELINE_API QueryObjectsRequest();
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_DATAPIPELINE_API Aws::String SerializePayload() const override;
37
38 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
46 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
47 inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
48 inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
49 inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
50 inline QueryObjectsRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
51 inline QueryObjectsRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
52 inline QueryObjectsRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
54
56
62 inline const Query& GetQuery() const{ return m_query; }
63 inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; }
64 inline void SetQuery(const Query& value) { m_queryHasBeenSet = true; m_query = value; }
65 inline void SetQuery(Query&& value) { m_queryHasBeenSet = true; m_query = std::move(value); }
66 inline QueryObjectsRequest& WithQuery(const Query& value) { SetQuery(value); return *this;}
67 inline QueryObjectsRequest& WithQuery(Query&& value) { SetQuery(std::move(value)); return *this;}
69
71
76 inline const Aws::String& GetSphere() const{ return m_sphere; }
77 inline bool SphereHasBeenSet() const { return m_sphereHasBeenSet; }
78 inline void SetSphere(const Aws::String& value) { m_sphereHasBeenSet = true; m_sphere = value; }
79 inline void SetSphere(Aws::String&& value) { m_sphereHasBeenSet = true; m_sphere = std::move(value); }
80 inline void SetSphere(const char* value) { m_sphereHasBeenSet = true; m_sphere.assign(value); }
81 inline QueryObjectsRequest& WithSphere(const Aws::String& value) { SetSphere(value); return *this;}
82 inline QueryObjectsRequest& WithSphere(Aws::String&& value) { SetSphere(std::move(value)); return *this;}
83 inline QueryObjectsRequest& WithSphere(const char* value) { SetSphere(value); return *this;}
85
87
93 inline const Aws::String& GetMarker() const{ return m_marker; }
94 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
95 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
96 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
97 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
98 inline QueryObjectsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
99 inline QueryObjectsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
100 inline QueryObjectsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
102
104
108 inline int GetLimit() const{ return m_limit; }
109 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
110 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
111 inline QueryObjectsRequest& WithLimit(int value) { SetLimit(value); return *this;}
113 private:
114
115 Aws::String m_pipelineId;
116 bool m_pipelineIdHasBeenSet = false;
117
118 Query m_query;
119 bool m_queryHasBeenSet = false;
120
121 Aws::String m_sphere;
122 bool m_sphereHasBeenSet = false;
123
124 Aws::String m_marker;
125 bool m_markerHasBeenSet = false;
126
127 int m_limit;
128 bool m_limitHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace DataPipeline
133} // namespace Aws
QueryObjectsRequest & WithPipelineId(Aws::String &&value)
QueryObjectsRequest & WithMarker(const char *value)
QueryObjectsRequest & WithMarker(const Aws::String &value)
QueryObjectsRequest & WithPipelineId(const char *value)
QueryObjectsRequest & WithSphere(Aws::String &&value)
QueryObjectsRequest & WithPipelineId(const Aws::String &value)
QueryObjectsRequest & WithSphere(const char *value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
QueryObjectsRequest & WithQuery(const Query &value)
virtual const char * GetServiceRequestName() const override
QueryObjectsRequest & WithSphere(const Aws::String &value)
QueryObjectsRequest & WithMarker(Aws::String &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
QueryObjectsRequest & WithQuery(Query &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String