AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGremlinQueriesResult.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptunedata/model/GremlinQueryStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace neptunedata
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NEPTUNEDATA_API ListGremlinQueriesResult();
35
36
38
42 inline int GetAcceptedQueryCount() const{ return m_acceptedQueryCount; }
43 inline void SetAcceptedQueryCount(int value) { m_acceptedQueryCount = value; }
44 inline ListGremlinQueriesResult& WithAcceptedQueryCount(int value) { SetAcceptedQueryCount(value); return *this;}
46
48
51 inline int GetRunningQueryCount() const{ return m_runningQueryCount; }
52 inline void SetRunningQueryCount(int value) { m_runningQueryCount = value; }
53 inline ListGremlinQueriesResult& WithRunningQueryCount(int value) { SetRunningQueryCount(value); return *this;}
55
57
60 inline const Aws::Vector<GremlinQueryStatus>& GetQueries() const{ return m_queries; }
61 inline void SetQueries(const Aws::Vector<GremlinQueryStatus>& value) { m_queries = value; }
62 inline void SetQueries(Aws::Vector<GremlinQueryStatus>&& value) { m_queries = std::move(value); }
64 inline ListGremlinQueriesResult& WithQueries(Aws::Vector<GremlinQueryStatus>&& value) { SetQueries(std::move(value)); return *this;}
65 inline ListGremlinQueriesResult& AddQueries(const GremlinQueryStatus& value) { m_queries.push_back(value); return *this; }
66 inline ListGremlinQueriesResult& AddQueries(GremlinQueryStatus&& value) { m_queries.push_back(std::move(value)); return *this; }
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline ListGremlinQueriesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline ListGremlinQueriesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline ListGremlinQueriesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 int m_acceptedQueryCount;
82
83 int m_runningQueryCount;
84
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace neptunedata
92} // namespace Aws
AWS_NEPTUNEDATA_API ListGremlinQueriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueries(Aws::Vector< GremlinQueryStatus > &&value)
ListGremlinQueriesResult & WithRequestId(const char *value)
const Aws::Vector< GremlinQueryStatus > & GetQueries() const
void SetQueries(const Aws::Vector< GremlinQueryStatus > &value)
ListGremlinQueriesResult & WithRequestId(Aws::String &&value)
ListGremlinQueriesResult & AddQueries(const GremlinQueryStatus &value)
ListGremlinQueriesResult & WithQueries(const Aws::Vector< GremlinQueryStatus > &value)
ListGremlinQueriesResult & WithQueries(Aws::Vector< GremlinQueryStatus > &&value)
ListGremlinQueriesResult & WithRequestId(const Aws::String &value)
AWS_NEPTUNEDATA_API ListGremlinQueriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListGremlinQueriesResult & WithAcceptedQueryCount(int value)
ListGremlinQueriesResult & AddQueries(GremlinQueryStatus &&value)
ListGremlinQueriesResult & WithRunningQueryCount(int 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