AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetGraphSnapshotResult.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/neptune-graph/model/SnapshotStatus.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 NeptuneGraph
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult() = default;
35
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 GetGraphSnapshotResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
55 inline const Aws::String& GetName() const { return m_name; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 GetGraphSnapshotResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetArn() const { return m_arn; }
67 template<typename ArnT = Aws::String>
68 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
69 template<typename ArnT = Aws::String>
70 GetGraphSnapshotResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
72
74
77 inline const Aws::String& GetSourceGraphId() const { return m_sourceGraphId; }
78 template<typename SourceGraphIdT = Aws::String>
79 void SetSourceGraphId(SourceGraphIdT&& value) { m_sourceGraphIdHasBeenSet = true; m_sourceGraphId = std::forward<SourceGraphIdT>(value); }
80 template<typename SourceGraphIdT = Aws::String>
81 GetGraphSnapshotResult& WithSourceGraphId(SourceGraphIdT&& value) { SetSourceGraphId(std::forward<SourceGraphIdT>(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
89 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
90 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
91 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
92 GetGraphSnapshotResult& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) { SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value)); return *this;}
94
96
99 inline SnapshotStatus GetStatus() const { return m_status; }
100 inline void SetStatus(SnapshotStatus value) { m_statusHasBeenSet = true; m_status = value; }
101 inline GetGraphSnapshotResult& WithStatus(SnapshotStatus value) { SetStatus(value); return *this;}
103
105
108 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
109 template<typename KmsKeyIdentifierT = Aws::String>
110 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
111 template<typename KmsKeyIdentifierT = Aws::String>
112 GetGraphSnapshotResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template<typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
120 template<typename RequestIdT = Aws::String>
121 GetGraphSnapshotResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
123 private:
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
128 Aws::String m_name;
129 bool m_nameHasBeenSet = false;
130
131 Aws::String m_arn;
132 bool m_arnHasBeenSet = false;
133
134 Aws::String m_sourceGraphId;
135 bool m_sourceGraphIdHasBeenSet = false;
136
137 Aws::Utils::DateTime m_snapshotCreateTime{};
138 bool m_snapshotCreateTimeHasBeenSet = false;
139
141 bool m_statusHasBeenSet = false;
142
143 Aws::String m_kmsKeyIdentifier;
144 bool m_kmsKeyIdentifierHasBeenSet = false;
145
146 Aws::String m_requestId;
147 bool m_requestIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace NeptuneGraph
152} // namespace Aws
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
GetGraphSnapshotResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetGraphSnapshotResult & WithStatus(SnapshotStatus value)
GetGraphSnapshotResult & WithSourceGraphId(SourceGraphIdT &&value)
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphSnapshotResult & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphSnapshotResult & WithName(NameT &&value)
GetGraphSnapshotResult & WithRequestId(RequestIdT &&value)
GetGraphSnapshotResult & WithArn(ArnT &&value)
AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue