AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetPropertygraphStatisticsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptunedata/Neptunedata_EXPORTS.h>
10#include <aws/neptunedata/model/Statistics.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace neptunedata {
24namespace Model {
26 public:
27 AWS_NEPTUNEDATA_API GetPropertygraphStatisticsResult() = default;
30
32
38 inline const Aws::String& GetStatus() const { return m_status; }
39 template <typename StatusT = Aws::String>
40 void SetStatus(StatusT&& value) {
41 m_statusHasBeenSet = true;
42 m_status = std::forward<StatusT>(value);
43 }
44 template <typename StatusT = Aws::String>
46 SetStatus(std::forward<StatusT>(value));
47 return *this;
48 }
50
52
55 inline const Statistics& GetPayload() const { return m_payload; }
56 template <typename PayloadT = Statistics>
57 void SetPayload(PayloadT&& value) {
58 m_payloadHasBeenSet = true;
59 m_payload = std::forward<PayloadT>(value);
60 }
61 template <typename PayloadT = Statistics>
63 SetPayload(std::forward<PayloadT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_status;
86
87 Statistics m_payload;
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_statusHasBeenSet = false;
92 bool m_payloadHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace neptunedata
98} // namespace Aws
GetPropertygraphStatisticsResult & WithRequestId(RequestIdT &&value)
GetPropertygraphStatisticsResult & WithPayload(PayloadT &&value)
AWS_NEPTUNEDATA_API GetPropertygraphStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NEPTUNEDATA_API GetPropertygraphStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NEPTUNEDATA_API GetPropertygraphStatisticsResult()=default
GetPropertygraphStatisticsResult & WithStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue