AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetGraphSummaryResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
10#include <aws/neptune-graph/model/GraphDataSummary.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 NeptuneGraph {
24namespace Model {
26 public:
27 AWS_NEPTUNEGRAPH_API GetGraphSummaryResult() = default;
30
32
35 inline const Aws::String& GetVersion() const { return m_version; }
36 template <typename VersionT = Aws::String>
37 void SetVersion(VersionT&& value) {
38 m_versionHasBeenSet = true;
39 m_version = std::forward<VersionT>(value);
40 }
41 template <typename VersionT = Aws::String>
43 SetVersion(std::forward<VersionT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::Utils::DateTime& GetLastStatisticsComputationTime() const { return m_lastStatisticsComputationTime; }
54 template <typename LastStatisticsComputationTimeT = Aws::Utils::DateTime>
55 void SetLastStatisticsComputationTime(LastStatisticsComputationTimeT&& value) {
56 m_lastStatisticsComputationTimeHasBeenSet = true;
57 m_lastStatisticsComputationTime = std::forward<LastStatisticsComputationTimeT>(value);
58 }
59 template <typename LastStatisticsComputationTimeT = Aws::Utils::DateTime>
60 GetGraphSummaryResult& WithLastStatisticsComputationTime(LastStatisticsComputationTimeT&& value) {
61 SetLastStatisticsComputationTime(std::forward<LastStatisticsComputationTimeT>(value));
62 return *this;
63 }
65
67
70 inline const GraphDataSummary& GetGraphSummary() const { return m_graphSummary; }
71 template <typename GraphSummaryT = GraphDataSummary>
72 void SetGraphSummary(GraphSummaryT&& value) {
73 m_graphSummaryHasBeenSet = true;
74 m_graphSummary = std::forward<GraphSummaryT>(value);
75 }
76 template <typename GraphSummaryT = GraphDataSummary>
77 GetGraphSummaryResult& WithGraphSummary(GraphSummaryT&& value) {
78 SetGraphSummary(std::forward<GraphSummaryT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
92 GetGraphSummaryResult& WithRequestId(RequestIdT&& value) {
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_version;
99
100 Aws::Utils::DateTime m_lastStatisticsComputationTime{};
101
102 GraphDataSummary m_graphSummary;
103
104 Aws::String m_requestId;
105 bool m_versionHasBeenSet = false;
106 bool m_lastStatisticsComputationTimeHasBeenSet = false;
107 bool m_graphSummaryHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace NeptuneGraph
113} // namespace Aws
GetGraphSummaryResult & WithGraphSummary(GraphSummaryT &&value)
void SetLastStatisticsComputationTime(LastStatisticsComputationTimeT &&value)
GetGraphSummaryResult & WithLastStatisticsComputationTime(LastStatisticsComputationTimeT &&value)
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