AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GraphSnapshotSummary.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace NeptuneGraph
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_NEPTUNEGRAPH_API GraphSnapshotSummary() = default;
37 AWS_NEPTUNEGRAPH_API GraphSnapshotSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 GraphSnapshotSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 GraphSnapshotSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetArn() const { return m_arn; }
74 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
75 template<typename ArnT = Aws::String>
76 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
77 template<typename ArnT = Aws::String>
78 GraphSnapshotSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
80
82
85 inline const Aws::String& GetSourceGraphId() const { return m_sourceGraphId; }
86 inline bool SourceGraphIdHasBeenSet() const { return m_sourceGraphIdHasBeenSet; }
87 template<typename SourceGraphIdT = Aws::String>
88 void SetSourceGraphId(SourceGraphIdT&& value) { m_sourceGraphIdHasBeenSet = true; m_sourceGraphId = std::forward<SourceGraphIdT>(value); }
89 template<typename SourceGraphIdT = Aws::String>
90 GraphSnapshotSummary& WithSourceGraphId(SourceGraphIdT&& value) { SetSourceGraphId(std::forward<SourceGraphIdT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
98 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
99 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
100 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
101 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
102 GraphSnapshotSummary& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) { SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value)); return *this;}
104
106
109 inline SnapshotStatus GetStatus() const { return m_status; }
110 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
111 inline void SetStatus(SnapshotStatus value) { m_statusHasBeenSet = true; m_status = value; }
112 inline GraphSnapshotSummary& WithStatus(SnapshotStatus value) { SetStatus(value); return *this;}
114
116
119 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
120 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
121 template<typename KmsKeyIdentifierT = Aws::String>
122 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
123 template<typename KmsKeyIdentifierT = Aws::String>
124 GraphSnapshotSummary& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
126 private:
127
128 Aws::String m_id;
129 bool m_idHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_arn;
135 bool m_arnHasBeenSet = false;
136
137 Aws::String m_sourceGraphId;
138 bool m_sourceGraphIdHasBeenSet = false;
139
140 Aws::Utils::DateTime m_snapshotCreateTime{};
141 bool m_snapshotCreateTimeHasBeenSet = false;
142
144 bool m_statusHasBeenSet = false;
145
146 Aws::String m_kmsKeyIdentifier;
147 bool m_kmsKeyIdentifierHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace NeptuneGraph
152} // namespace Aws
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
AWS_NEPTUNEGRAPH_API GraphSnapshotSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
GraphSnapshotSummary & WithName(NameT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GraphSnapshotSummary & WithId(IdT &&value)
GraphSnapshotSummary & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
AWS_NEPTUNEGRAPH_API GraphSnapshotSummary()=default
GraphSnapshotSummary & WithArn(ArnT &&value)
GraphSnapshotSummary & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
GraphSnapshotSummary & WithSourceGraphId(SourceGraphIdT &&value)
AWS_NEPTUNEGRAPH_API GraphSnapshotSummary(Aws::Utils::Json::JsonView jsonValue)
GraphSnapshotSummary & WithStatus(SnapshotStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue