AWS SDK for C++

AWS SDK for C++ Version 1.11.789

Loading...
Searching...
No Matches
GetGraphSummaryResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
11#include <aws/neptune-graph/model/GraphDataSummary.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NeptuneGraph {
25namespace Model {
27 public:
28 AWS_NEPTUNEGRAPH_API GetGraphSummaryResult() = default;
31
33
36 inline const Aws::String& GetVersion() const { return m_version; }
37 template <typename VersionT = Aws::String>
38 void SetVersion(VersionT&& value) {
39 m_versionHasBeenSet = true;
40 m_version = std::forward<VersionT>(value);
41 }
42 template <typename VersionT = Aws::String>
44 SetVersion(std::forward<VersionT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::Utils::DateTime& GetLastStatisticsComputationTime() const { return m_lastStatisticsComputationTime; }
55 template <typename LastStatisticsComputationTimeT = Aws::Utils::DateTime>
56 void SetLastStatisticsComputationTime(LastStatisticsComputationTimeT&& value) {
57 m_lastStatisticsComputationTimeHasBeenSet = true;
58 m_lastStatisticsComputationTime = std::forward<LastStatisticsComputationTimeT>(value);
59 }
60 template <typename LastStatisticsComputationTimeT = Aws::Utils::DateTime>
61 GetGraphSummaryResult& WithLastStatisticsComputationTime(LastStatisticsComputationTimeT&& value) {
62 SetLastStatisticsComputationTime(std::forward<LastStatisticsComputationTimeT>(value));
63 return *this;
64 }
66
68
71 inline const GraphDataSummary& GetGraphSummary() const { return m_graphSummary; }
72 template <typename GraphSummaryT = GraphDataSummary>
73 void SetGraphSummary(GraphSummaryT&& value) {
74 m_graphSummaryHasBeenSet = true;
75 m_graphSummary = std::forward<GraphSummaryT>(value);
76 }
77 template <typename GraphSummaryT = GraphDataSummary>
78 GetGraphSummaryResult& WithGraphSummary(GraphSummaryT&& value) {
79 SetGraphSummary(std::forward<GraphSummaryT>(value));
80 return *this;
81 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template <typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) {
89 m_requestIdHasBeenSet = true;
90 m_requestId = std::forward<RequestIdT>(value);
91 }
92 template <typename RequestIdT = Aws::String>
93 GetGraphSummaryResult& WithRequestId(RequestIdT&& value) {
94 SetRequestId(std::forward<RequestIdT>(value));
95 return *this;
96 }
98 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
99
100 private:
101 Aws::String m_version;
102
103 Aws::Utils::DateTime m_lastStatisticsComputationTime{};
104
105 GraphDataSummary m_graphSummary;
106
107 Aws::String m_requestId;
108 Aws::Http::HttpResponseCode m_HttpResponseCode;
109 bool m_versionHasBeenSet = false;
110 bool m_lastStatisticsComputationTimeHasBeenSet = false;
111 bool m_graphSummaryHasBeenSet = false;
112 bool m_requestIdHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace NeptuneGraph
117} // namespace Aws
GetGraphSummaryResult & WithGraphSummary(GraphSummaryT &&value)
void SetLastStatisticsComputationTime(LastStatisticsComputationTimeT &&value)
GetGraphSummaryResult & WithLastStatisticsComputationTime(LastStatisticsComputationTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetGraphSummaryResult & WithVersion(VersionT &&value)
AWS_NEPTUNEGRAPH_API GetGraphSummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NEPTUNEGRAPH_API GetGraphSummaryResult()=default
AWS_NEPTUNEGRAPH_API GetGraphSummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastStatisticsComputationTime() const
GetGraphSummaryResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue