AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename PipelineIdT = Aws::String>
48 void SetPipelineId(PipelineIdT&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::forward<PipelineIdT>(value); }
49 template<typename PipelineIdT = Aws::String>
50 QueryObjectsRequest& WithPipelineId(PipelineIdT&& value) { SetPipelineId(std::forward<PipelineIdT>(value)); return *this;}
52
54
60 inline const Query& GetQuery() const { return m_query; }
61 inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; }
62 template<typename QueryT = Query>
63 void SetQuery(QueryT&& value) { m_queryHasBeenSet = true; m_query = std::forward<QueryT>(value); }
64 template<typename QueryT = Query>
65 QueryObjectsRequest& WithQuery(QueryT&& value) { SetQuery(std::forward<QueryT>(value)); return *this;}
67
69
74 inline const Aws::String& GetSphere() const { return m_sphere; }
75 inline bool SphereHasBeenSet() const { return m_sphereHasBeenSet; }
76 template<typename SphereT = Aws::String>
77 void SetSphere(SphereT&& value) { m_sphereHasBeenSet = true; m_sphere = std::forward<SphereT>(value); }
78 template<typename SphereT = Aws::String>
79 QueryObjectsRequest& WithSphere(SphereT&& value) { SetSphere(std::forward<SphereT>(value)); return *this;}
81
83
89 inline const Aws::String& GetMarker() const { return m_marker; }
90 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
91 template<typename MarkerT = Aws::String>
92 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
93 template<typename MarkerT = Aws::String>
94 QueryObjectsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
96
98
102 inline int GetLimit() const { return m_limit; }
103 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
104 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
105 inline QueryObjectsRequest& WithLimit(int value) { SetLimit(value); return *this;}
107 private:
108
109 Aws::String m_pipelineId;
110 bool m_pipelineIdHasBeenSet = false;
111
112 Query m_query;
113 bool m_queryHasBeenSet = false;
114
115 Aws::String m_sphere;
116 bool m_sphereHasBeenSet = false;
117
118 Aws::String m_marker;
119 bool m_markerHasBeenSet = false;
120
121 int m_limit{0};
122 bool m_limitHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace DataPipeline
127} // 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