AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = 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 CreateGraphSnapshotResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 CreateGraphSnapshotResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetArn() const { return m_arn; }
64 template<typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
66 template<typename ArnT = Aws::String>
67 CreateGraphSnapshotResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetSourceGraphId() const { return m_sourceGraphId; }
75 template<typename SourceGraphIdT = Aws::String>
76 void SetSourceGraphId(SourceGraphIdT&& value) { m_sourceGraphIdHasBeenSet = true; m_sourceGraphId = std::forward<SourceGraphIdT>(value); }
77 template<typename SourceGraphIdT = Aws::String>
78 CreateGraphSnapshotResult& WithSourceGraphId(SourceGraphIdT&& value) { SetSourceGraphId(std::forward<SourceGraphIdT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
86 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
87 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
88 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
89 CreateGraphSnapshotResult& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) { SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value)); return *this;}
91
93
96 inline SnapshotStatus GetStatus() const { return m_status; }
97 inline void SetStatus(SnapshotStatus value) { m_statusHasBeenSet = true; m_status = value; }
98 inline CreateGraphSnapshotResult& WithStatus(SnapshotStatus value) { SetStatus(value); return *this;}
100
102
105 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
106 template<typename KmsKeyIdentifierT = Aws::String>
107 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
108 template<typename KmsKeyIdentifierT = Aws::String>
109 CreateGraphSnapshotResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const { return m_requestId; }
115 template<typename RequestIdT = Aws::String>
116 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
117 template<typename RequestIdT = Aws::String>
118 CreateGraphSnapshotResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
120 private:
121
122 Aws::String m_id;
123 bool m_idHasBeenSet = false;
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
131 Aws::String m_sourceGraphId;
132 bool m_sourceGraphIdHasBeenSet = false;
133
134 Aws::Utils::DateTime m_snapshotCreateTime{};
135 bool m_snapshotCreateTimeHasBeenSet = false;
136
138 bool m_statusHasBeenSet = false;
139
140 Aws::String m_kmsKeyIdentifier;
141 bool m_kmsKeyIdentifierHasBeenSet = false;
142
143 Aws::String m_requestId;
144 bool m_requestIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace NeptuneGraph
149} // namespace Aws
CreateGraphSnapshotResult & WithRequestId(RequestIdT &&value)
AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGraphSnapshotResult & WithSourceGraphId(SourceGraphIdT &&value)
CreateGraphSnapshotResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CreateGraphSnapshotResult & WithName(NameT &&value)
CreateGraphSnapshotResult & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult()=default
CreateGraphSnapshotResult & WithArn(ArnT &&value)
CreateGraphSnapshotResult & WithStatus(SnapshotStatus value)
AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue