AWS SDK for C++  1.8.126
AWS SDK for C++
QueryObjectsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace DataPipeline
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
44  inline const Aws::Vector<Aws::String>& GetIds() const{ return m_ids; }
45 
49  inline void SetIds(const Aws::Vector<Aws::String>& value) { m_ids = value; }
50 
54  inline void SetIds(Aws::Vector<Aws::String>&& value) { m_ids = std::move(value); }
55 
59  inline QueryObjectsResult& WithIds(const Aws::Vector<Aws::String>& value) { SetIds(value); return *this;}
60 
64  inline QueryObjectsResult& WithIds(Aws::Vector<Aws::String>&& value) { SetIds(std::move(value)); return *this;}
65 
69  inline QueryObjectsResult& AddIds(const Aws::String& value) { m_ids.push_back(value); return *this; }
70 
74  inline QueryObjectsResult& AddIds(Aws::String&& value) { m_ids.push_back(std::move(value)); return *this; }
75 
79  inline QueryObjectsResult& AddIds(const char* value) { m_ids.push_back(value); return *this; }
80 
81 
87  inline const Aws::String& GetMarker() const{ return m_marker; }
88 
94  inline void SetMarker(const Aws::String& value) { m_marker = value; }
95 
101  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
102 
108  inline void SetMarker(const char* value) { m_marker.assign(value); }
109 
115  inline QueryObjectsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
116 
122  inline QueryObjectsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
123 
129  inline QueryObjectsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
130 
131 
136  inline bool GetHasMoreResults() const{ return m_hasMoreResults; }
137 
142  inline void SetHasMoreResults(bool value) { m_hasMoreResults = value; }
143 
148  inline QueryObjectsResult& WithHasMoreResults(bool value) { SetHasMoreResults(value); return *this;}
149 
150  private:
151 
153 
154  Aws::String m_marker;
155 
156  bool m_hasMoreResults;
157  };
158 
159 } // namespace Model
160 } // namespace DataPipeline
161 } // namespace Aws
Aws::DataPipeline::Model::QueryObjectsResult::SetHasMoreResults
void SetHasMoreResults(bool value)
Definition: QueryObjectsResult.h:142
Aws::DataPipeline::Model::QueryObjectsResult::QueryObjectsResult
QueryObjectsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DataPipeline::Model::QueryObjectsResult
Definition: QueryObjectsResult.h:34
Aws::DataPipeline::Model::QueryObjectsResult::GetIds
const Aws::Vector< Aws::String > & GetIds() const
Definition: QueryObjectsResult.h:44
Aws::DataPipeline::Model::QueryObjectsResult::SetIds
void SetIds(const Aws::Vector< Aws::String > &value)
Definition: QueryObjectsResult.h:49
Aws::DataPipeline::Model::QueryObjectsResult::WithIds
QueryObjectsResult & WithIds(Aws::Vector< Aws::String > &&value)
Definition: QueryObjectsResult.h:64
Aws::DataPipeline::Model::QueryObjectsResult::SetMarker
void SetMarker(const char *value)
Definition: QueryObjectsResult.h:108
Aws::DataPipeline::Model::QueryObjectsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: QueryObjectsResult.h:101
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataPipeline::Model::QueryObjectsResult::WithMarker
QueryObjectsResult & WithMarker(Aws::String &&value)
Definition: QueryObjectsResult.h:122
AWSVector.h
Aws::DataPipeline::Model::QueryObjectsResult::AddIds
QueryObjectsResult & AddIds(const Aws::String &value)
Definition: QueryObjectsResult.h:69
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::QueryObjectsResult::AddIds
QueryObjectsResult & AddIds(const char *value)
Definition: QueryObjectsResult.h:79
Aws::DataPipeline::Model::QueryObjectsResult::WithMarker
QueryObjectsResult & WithMarker(const Aws::String &value)
Definition: QueryObjectsResult.h:115
Aws::DataPipeline::Model::QueryObjectsResult::WithMarker
QueryObjectsResult & WithMarker(const char *value)
Definition: QueryObjectsResult.h:129
Aws::DataPipeline::Model::QueryObjectsResult::SetIds
void SetIds(Aws::Vector< Aws::String > &&value)
Definition: QueryObjectsResult.h:54
AWSString.h
Aws::DataPipeline::Model::QueryObjectsResult::WithIds
QueryObjectsResult & WithIds(const Aws::Vector< Aws::String > &value)
Definition: QueryObjectsResult.h:59
Aws::DataPipeline::Model::QueryObjectsResult::GetHasMoreResults
bool GetHasMoreResults() const
Definition: QueryObjectsResult.h:136
Aws::DataPipeline::Model::QueryObjectsResult::GetMarker
const Aws::String & GetMarker() const
Definition: QueryObjectsResult.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::QueryObjectsResult::operator=
QueryObjectsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::QueryObjectsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: QueryObjectsResult.h:94
Aws::DataPipeline::Model::QueryObjectsResult::QueryObjectsResult
QueryObjectsResult()
Aws::DataPipeline::Model::QueryObjectsResult::WithHasMoreResults
QueryObjectsResult & WithHasMoreResults(bool value)
Definition: QueryObjectsResult.h:148
Aws::DataPipeline::Model::QueryObjectsResult::AddIds
QueryObjectsResult & AddIds(Aws::String &&value)
Definition: QueryObjectsResult.h:74