AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
QueryObjectsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datapipeline/DataPipeline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace DataPipeline {
23namespace Model {
30 public:
31 AWS_DATAPIPELINE_API QueryObjectsResult() = default;
34
36
39 inline const Aws::Vector<Aws::String>& GetIds() const { return m_ids; }
40 template <typename IdsT = Aws::Vector<Aws::String>>
41 void SetIds(IdsT&& value) {
42 m_idsHasBeenSet = true;
43 m_ids = std::forward<IdsT>(value);
44 }
45 template <typename IdsT = Aws::Vector<Aws::String>>
46 QueryObjectsResult& WithIds(IdsT&& value) {
47 SetIds(std::forward<IdsT>(value));
48 return *this;
49 }
50 template <typename IdsT = Aws::String>
51 QueryObjectsResult& AddIds(IdsT&& value) {
52 m_idsHasBeenSet = true;
53 m_ids.emplace_back(std::forward<IdsT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::String& GetMarker() const { return m_marker; }
65 template <typename MarkerT = Aws::String>
66 void SetMarker(MarkerT&& value) {
67 m_markerHasBeenSet = true;
68 m_marker = std::forward<MarkerT>(value);
69 }
70 template <typename MarkerT = Aws::String>
71 QueryObjectsResult& WithMarker(MarkerT&& value) {
72 SetMarker(std::forward<MarkerT>(value));
73 return *this;
74 }
76
78
82 inline bool GetHasMoreResults() const { return m_hasMoreResults; }
83 inline void SetHasMoreResults(bool value) {
84 m_hasMoreResultsHasBeenSet = true;
85 m_hasMoreResults = value;
86 }
88 SetHasMoreResults(value);
89 return *this;
90 }
92
94
95 inline const Aws::String& GetRequestId() const { return m_requestId; }
96 template <typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) {
98 m_requestIdHasBeenSet = true;
99 m_requestId = std::forward<RequestIdT>(value);
100 }
101 template <typename RequestIdT = Aws::String>
102 QueryObjectsResult& WithRequestId(RequestIdT&& value) {
103 SetRequestId(std::forward<RequestIdT>(value));
104 return *this;
105 }
107 private:
109
110 Aws::String m_marker;
111
112 bool m_hasMoreResults{false};
113
114 Aws::String m_requestId;
115 bool m_idsHasBeenSet = false;
116 bool m_markerHasBeenSet = false;
117 bool m_hasMoreResultsHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace DataPipeline
123} // namespace Aws
const Aws::Vector< Aws::String > & GetIds() const
AWS_DATAPIPELINE_API QueryObjectsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAPIPELINE_API QueryObjectsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
QueryObjectsResult & AddIds(IdsT &&value)
QueryObjectsResult & WithRequestId(RequestIdT &&value)
AWS_DATAPIPELINE_API QueryObjectsResult()=default
QueryObjectsResult & WithMarker(MarkerT &&value)
QueryObjectsResult & WithIds(IdsT &&value)
QueryObjectsResult & WithHasMoreResults(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue