AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryObjectsResult.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataPipeline
25{
26namespace Model
27{
34 {
35 public:
36 AWS_DATAPIPELINE_API QueryObjectsResult();
39
40
42
45 inline const Aws::Vector<Aws::String>& GetIds() const{ return m_ids; }
46 inline void SetIds(const Aws::Vector<Aws::String>& value) { m_ids = value; }
47 inline void SetIds(Aws::Vector<Aws::String>&& value) { m_ids = std::move(value); }
48 inline QueryObjectsResult& WithIds(const Aws::Vector<Aws::String>& value) { SetIds(value); return *this;}
49 inline QueryObjectsResult& WithIds(Aws::Vector<Aws::String>&& value) { SetIds(std::move(value)); return *this;}
50 inline QueryObjectsResult& AddIds(const Aws::String& value) { m_ids.push_back(value); return *this; }
51 inline QueryObjectsResult& AddIds(Aws::String&& value) { m_ids.push_back(std::move(value)); return *this; }
52 inline QueryObjectsResult& AddIds(const char* value) { m_ids.push_back(value); return *this; }
54
56
61 inline const Aws::String& GetMarker() const{ return m_marker; }
62 inline void SetMarker(const Aws::String& value) { m_marker = value; }
63 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
64 inline void SetMarker(const char* value) { m_marker.assign(value); }
65 inline QueryObjectsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
66 inline QueryObjectsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
67 inline QueryObjectsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
69
71
75 inline bool GetHasMoreResults() const{ return m_hasMoreResults; }
76 inline void SetHasMoreResults(bool value) { m_hasMoreResults = value; }
77 inline QueryObjectsResult& WithHasMoreResults(bool value) { SetHasMoreResults(value); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline QueryObjectsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline QueryObjectsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline QueryObjectsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
93
94 Aws::String m_marker;
95
96 bool m_hasMoreResults;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace DataPipeline
103} // namespace Aws
const Aws::Vector< Aws::String > & GetIds() const
void SetRequestId(const Aws::String &value)
QueryObjectsResult & WithRequestId(Aws::String &&value)
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(const Aws::String &value)
void SetIds(Aws::Vector< Aws::String > &&value)
void SetIds(const Aws::Vector< Aws::String > &value)
QueryObjectsResult & WithRequestId(const char *value)
QueryObjectsResult & WithMarker(const char *value)
QueryObjectsResult & AddIds(const char *value)
QueryObjectsResult & WithIds(const Aws::Vector< Aws::String > &value)
QueryObjectsResult & WithMarker(Aws::String &&value)
QueryObjectsResult & AddIds(Aws::String &&value)
QueryObjectsResult & WithMarker(const Aws::String &value)
QueryObjectsResult & WithIds(Aws::Vector< Aws::String > &&value)
QueryObjectsResult & WithRequestId(const Aws::String &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