AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetId() const{ return m_id; }
42 inline void SetId(const Aws::String& value) { m_id = value; }
43 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
44 inline void SetId(const char* value) { m_id.assign(value); }
45 inline GetGraphSnapshotResult& WithId(const Aws::String& value) { SetId(value); return *this;}
46 inline GetGraphSnapshotResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
47 inline GetGraphSnapshotResult& WithId(const char* value) { SetId(value); return *this;}
49
51
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline void SetName(const Aws::String& value) { m_name = value; }
59 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
60 inline void SetName(const char* value) { m_name.assign(value); }
61 inline GetGraphSnapshotResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline GetGraphSnapshotResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline GetGraphSnapshotResult& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetArn() const{ return m_arn; }
71 inline void SetArn(const Aws::String& value) { m_arn = value; }
72 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
73 inline void SetArn(const char* value) { m_arn.assign(value); }
74 inline GetGraphSnapshotResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
75 inline GetGraphSnapshotResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 inline GetGraphSnapshotResult& WithArn(const char* value) { SetArn(value); return *this;}
78
80
83 inline const Aws::String& GetSourceGraphId() const{ return m_sourceGraphId; }
84 inline void SetSourceGraphId(const Aws::String& value) { m_sourceGraphId = value; }
85 inline void SetSourceGraphId(Aws::String&& value) { m_sourceGraphId = std::move(value); }
86 inline void SetSourceGraphId(const char* value) { m_sourceGraphId.assign(value); }
87 inline GetGraphSnapshotResult& WithSourceGraphId(const Aws::String& value) { SetSourceGraphId(value); return *this;}
88 inline GetGraphSnapshotResult& WithSourceGraphId(Aws::String&& value) { SetSourceGraphId(std::move(value)); return *this;}
89 inline GetGraphSnapshotResult& WithSourceGraphId(const char* value) { SetSourceGraphId(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; }
97 inline void SetSnapshotCreateTime(const Aws::Utils::DateTime& value) { m_snapshotCreateTime = value; }
98 inline void SetSnapshotCreateTime(Aws::Utils::DateTime&& value) { m_snapshotCreateTime = std::move(value); }
102
104
107 inline const SnapshotStatus& GetStatus() const{ return m_status; }
108 inline void SetStatus(const SnapshotStatus& value) { m_status = value; }
109 inline void SetStatus(SnapshotStatus&& value) { m_status = std::move(value); }
110 inline GetGraphSnapshotResult& WithStatus(const SnapshotStatus& value) { SetStatus(value); return *this;}
111 inline GetGraphSnapshotResult& WithStatus(SnapshotStatus&& value) { SetStatus(std::move(value)); return *this;}
113
115
118 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
119 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
120 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
121 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
122 inline GetGraphSnapshotResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
123 inline GetGraphSnapshotResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
124 inline GetGraphSnapshotResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
126
128
129 inline const Aws::String& GetRequestId() const{ return m_requestId; }
130 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
131 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
132 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
133 inline GetGraphSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
134 inline GetGraphSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
135 inline GetGraphSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
137 private:
138
139 Aws::String m_id;
140
141 Aws::String m_name;
142
143 Aws::String m_arn;
144
145 Aws::String m_sourceGraphId;
146
147 Aws::Utils::DateTime m_snapshotCreateTime;
148
149 SnapshotStatus m_status;
150
151 Aws::String m_kmsKeyIdentifier;
152
153 Aws::String m_requestId;
154 };
155
156} // namespace Model
157} // namespace NeptuneGraph
158} // namespace Aws
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
GetGraphSnapshotResult & WithKmsKeyIdentifier(const char *value)
GetGraphSnapshotResult & WithRequestId(const char *value)
GetGraphSnapshotResult & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
GetGraphSnapshotResult & WithStatus(const SnapshotStatus &value)
GetGraphSnapshotResult & WithId(const char *value)
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
GetGraphSnapshotResult & WithArn(const char *value)
GetGraphSnapshotResult & WithSourceGraphId(Aws::String &&value)
GetGraphSnapshotResult & WithArn(Aws::String &&value)
GetGraphSnapshotResult & WithStatus(SnapshotStatus &&value)
GetGraphSnapshotResult & WithId(const Aws::String &value)
GetGraphSnapshotResult & WithId(Aws::String &&value)
GetGraphSnapshotResult & WithSourceGraphId(const Aws::String &value)
GetGraphSnapshotResult & WithName(Aws::String &&value)
AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphSnapshotResult & WithName(const Aws::String &value)
GetGraphSnapshotResult & WithRequestId(Aws::String &&value)
GetGraphSnapshotResult & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
GetGraphSnapshotResult & WithArn(const Aws::String &value)
GetGraphSnapshotResult & WithRequestId(const Aws::String &value)
AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphSnapshotResult & WithSourceGraphId(const char *value)
GetGraphSnapshotResult & WithKmsKeyIdentifier(const Aws::String &value)
GetGraphSnapshotResult & WithName(const char *value)
GetGraphSnapshotResult & WithKmsKeyIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue