AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGraphSnapshotResult.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 CreateGraphSnapshotResult();
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 CreateGraphSnapshotResult& WithId(const Aws::String& value) { SetId(value); return *this;}
46 inline CreateGraphSnapshotResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
47 inline CreateGraphSnapshotResult& WithId(const char* value) { SetId(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline void SetName(const Aws::String& value) { m_name = value; }
56 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
57 inline void SetName(const char* value) { m_name.assign(value); }
58 inline CreateGraphSnapshotResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline CreateGraphSnapshotResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline CreateGraphSnapshotResult& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetArn() const{ return m_arn; }
68 inline void SetArn(const Aws::String& value) { m_arn = value; }
69 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
70 inline void SetArn(const char* value) { m_arn.assign(value); }
71 inline CreateGraphSnapshotResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72 inline CreateGraphSnapshotResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
73 inline CreateGraphSnapshotResult& WithArn(const char* value) { SetArn(value); return *this;}
75
77
80 inline const Aws::String& GetSourceGraphId() const{ return m_sourceGraphId; }
81 inline void SetSourceGraphId(const Aws::String& value) { m_sourceGraphId = value; }
82 inline void SetSourceGraphId(Aws::String&& value) { m_sourceGraphId = std::move(value); }
83 inline void SetSourceGraphId(const char* value) { m_sourceGraphId.assign(value); }
84 inline CreateGraphSnapshotResult& WithSourceGraphId(const Aws::String& value) { SetSourceGraphId(value); return *this;}
85 inline CreateGraphSnapshotResult& WithSourceGraphId(Aws::String&& value) { SetSourceGraphId(std::move(value)); return *this;}
86 inline CreateGraphSnapshotResult& WithSourceGraphId(const char* value) { SetSourceGraphId(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; }
94 inline void SetSnapshotCreateTime(const Aws::Utils::DateTime& value) { m_snapshotCreateTime = value; }
95 inline void SetSnapshotCreateTime(Aws::Utils::DateTime&& value) { m_snapshotCreateTime = std::move(value); }
99
101
104 inline const SnapshotStatus& GetStatus() const{ return m_status; }
105 inline void SetStatus(const SnapshotStatus& value) { m_status = value; }
106 inline void SetStatus(SnapshotStatus&& value) { m_status = std::move(value); }
107 inline CreateGraphSnapshotResult& WithStatus(const SnapshotStatus& value) { SetStatus(value); return *this;}
108 inline CreateGraphSnapshotResult& WithStatus(SnapshotStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
116 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
117 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
118 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
120 inline CreateGraphSnapshotResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
121 inline CreateGraphSnapshotResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
123
125
126 inline const Aws::String& GetRequestId() const{ return m_requestId; }
127 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
128 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
129 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
130 inline CreateGraphSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
131 inline CreateGraphSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
132 inline CreateGraphSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
134 private:
135
136 Aws::String m_id;
137
138 Aws::String m_name;
139
140 Aws::String m_arn;
141
142 Aws::String m_sourceGraphId;
143
144 Aws::Utils::DateTime m_snapshotCreateTime;
145
146 SnapshotStatus m_status;
147
148 Aws::String m_kmsKeyIdentifier;
149
150 Aws::String m_requestId;
151 };
152
153} // namespace Model
154} // namespace NeptuneGraph
155} // namespace Aws
CreateGraphSnapshotResult & WithKmsKeyIdentifier(const Aws::String &value)
CreateGraphSnapshotResult & WithRequestId(const Aws::String &value)
CreateGraphSnapshotResult & WithArn(const Aws::String &value)
CreateGraphSnapshotResult & WithName(Aws::String &&value)
CreateGraphSnapshotResult & WithStatus(const SnapshotStatus &value)
AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGraphSnapshotResult & WithArn(Aws::String &&value)
CreateGraphSnapshotResult & WithName(const char *value)
CreateGraphSnapshotResult & WithId(const Aws::String &value)
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
CreateGraphSnapshotResult & WithName(const Aws::String &value)
CreateGraphSnapshotResult & WithSourceGraphId(const char *value)
CreateGraphSnapshotResult & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
CreateGraphSnapshotResult & WithId(Aws::String &&value)
CreateGraphSnapshotResult & WithStatus(SnapshotStatus &&value)
CreateGraphSnapshotResult & WithArn(const char *value)
CreateGraphSnapshotResult & WithRequestId(Aws::String &&value)
CreateGraphSnapshotResult & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGraphSnapshotResult & WithKmsKeyIdentifier(Aws::String &&value)
CreateGraphSnapshotResult & WithSourceGraphId(const Aws::String &value)
CreateGraphSnapshotResult & WithKmsKeyIdentifier(const char *value)
CreateGraphSnapshotResult & WithId(const char *value)
CreateGraphSnapshotResult & WithRequestId(const char *value)
CreateGraphSnapshotResult & WithSourceGraphId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue