AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline GraphSnapshotSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline GraphSnapshotSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline GraphSnapshotSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline GraphSnapshotSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline GraphSnapshotSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline GraphSnapshotSummary& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const Aws::String& GetArn() const{ return m_arn; }
78 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
79 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
80 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
81 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
82 inline GraphSnapshotSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
83 inline GraphSnapshotSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
84 inline GraphSnapshotSummary& WithArn(const char* value) { SetArn(value); return *this;}
86
88
91 inline const Aws::String& GetSourceGraphId() const{ return m_sourceGraphId; }
92 inline bool SourceGraphIdHasBeenSet() const { return m_sourceGraphIdHasBeenSet; }
93 inline void SetSourceGraphId(const Aws::String& value) { m_sourceGraphIdHasBeenSet = true; m_sourceGraphId = value; }
94 inline void SetSourceGraphId(Aws::String&& value) { m_sourceGraphIdHasBeenSet = true; m_sourceGraphId = std::move(value); }
95 inline void SetSourceGraphId(const char* value) { m_sourceGraphIdHasBeenSet = true; m_sourceGraphId.assign(value); }
96 inline GraphSnapshotSummary& WithSourceGraphId(const Aws::String& value) { SetSourceGraphId(value); return *this;}
97 inline GraphSnapshotSummary& WithSourceGraphId(Aws::String&& value) { SetSourceGraphId(std::move(value)); return *this;}
98 inline GraphSnapshotSummary& WithSourceGraphId(const char* value) { SetSourceGraphId(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; }
106 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
107 inline void SetSnapshotCreateTime(const Aws::Utils::DateTime& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = value; }
108 inline void SetSnapshotCreateTime(Aws::Utils::DateTime&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::move(value); }
112
114
117 inline const SnapshotStatus& GetStatus() const{ return m_status; }
118 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
119 inline void SetStatus(const SnapshotStatus& value) { m_statusHasBeenSet = true; m_status = value; }
120 inline void SetStatus(SnapshotStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
121 inline GraphSnapshotSummary& WithStatus(const SnapshotStatus& value) { SetStatus(value); return *this;}
122 inline GraphSnapshotSummary& WithStatus(SnapshotStatus&& value) { SetStatus(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
130 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
131 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
132 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
133 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
134 inline GraphSnapshotSummary& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
135 inline GraphSnapshotSummary& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
136 inline GraphSnapshotSummary& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
138 private:
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Aws::String m_arn;
147 bool m_arnHasBeenSet = false;
148
149 Aws::String m_sourceGraphId;
150 bool m_sourceGraphIdHasBeenSet = false;
151
152 Aws::Utils::DateTime m_snapshotCreateTime;
153 bool m_snapshotCreateTimeHasBeenSet = false;
154
155 SnapshotStatus m_status;
156 bool m_statusHasBeenSet = false;
157
158 Aws::String m_kmsKeyIdentifier;
159 bool m_kmsKeyIdentifierHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace NeptuneGraph
164} // namespace Aws
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
GraphSnapshotSummary & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
AWS_NEPTUNEGRAPH_API GraphSnapshotSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
GraphSnapshotSummary & WithStatus(const SnapshotStatus &value)
GraphSnapshotSummary & WithKmsKeyIdentifier(Aws::String &&value)
GraphSnapshotSummary & WithKmsKeyIdentifier(const Aws::String &value)
GraphSnapshotSummary & WithSourceGraphId(Aws::String &&value)
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
GraphSnapshotSummary & WithName(const char *value)
GraphSnapshotSummary & WithSourceGraphId(const char *value)
GraphSnapshotSummary & WithName(const Aws::String &value)
GraphSnapshotSummary & WithName(Aws::String &&value)
AWS_NEPTUNEGRAPH_API GraphSnapshotSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
GraphSnapshotSummary & WithArn(const char *value)
GraphSnapshotSummary & WithKmsKeyIdentifier(const char *value)
GraphSnapshotSummary & WithArn(const Aws::String &value)
GraphSnapshotSummary & WithId(const char *value)
GraphSnapshotSummary & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
GraphSnapshotSummary & WithId(const Aws::String &value)
GraphSnapshotSummary & WithStatus(SnapshotStatus &&value)
GraphSnapshotSummary & WithSourceGraphId(const Aws::String &value)
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
GraphSnapshotSummary & WithId(Aws::String &&value)
GraphSnapshotSummary & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue