AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetKxDatabaseResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/Finspace_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace finspace {
23namespace Model {
25 public:
26 AWS_FINSPACE_API GetKxDatabaseResult() = default;
29
31
34 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
35 template <typename DatabaseNameT = Aws::String>
36 void SetDatabaseName(DatabaseNameT&& value) {
37 m_databaseNameHasBeenSet = true;
38 m_databaseName = std::forward<DatabaseNameT>(value);
39 }
40 template <typename DatabaseNameT = Aws::String>
41 GetKxDatabaseResult& WithDatabaseName(DatabaseNameT&& value) {
42 SetDatabaseName(std::forward<DatabaseNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetDatabaseArn() const { return m_databaseArn; }
52 template <typename DatabaseArnT = Aws::String>
53 void SetDatabaseArn(DatabaseArnT&& value) {
54 m_databaseArnHasBeenSet = true;
55 m_databaseArn = std::forward<DatabaseArnT>(value);
56 }
57 template <typename DatabaseArnT = Aws::String>
58 GetKxDatabaseResult& WithDatabaseArn(DatabaseArnT&& value) {
59 SetDatabaseArn(std::forward<DatabaseArnT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
69 template <typename EnvironmentIdT = Aws::String>
70 void SetEnvironmentId(EnvironmentIdT&& value) {
71 m_environmentIdHasBeenSet = true;
72 m_environmentId = std::forward<EnvironmentIdT>(value);
73 }
74 template <typename EnvironmentIdT = Aws::String>
75 GetKxDatabaseResult& WithEnvironmentId(EnvironmentIdT&& value) {
76 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetDescription() const { return m_description; }
86 template <typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) {
88 m_descriptionHasBeenSet = true;
89 m_description = std::forward<DescriptionT>(value);
90 }
91 template <typename DescriptionT = Aws::String>
92 GetKxDatabaseResult& WithDescription(DescriptionT&& value) {
93 SetDescription(std::forward<DescriptionT>(value));
94 return *this;
95 }
97
99
104 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
105 template <typename CreatedTimestampT = Aws::Utils::DateTime>
106 void SetCreatedTimestamp(CreatedTimestampT&& value) {
107 m_createdTimestampHasBeenSet = true;
108 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
109 }
110 template <typename CreatedTimestampT = Aws::Utils::DateTime>
111 GetKxDatabaseResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
112 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
113 return *this;
114 }
116
118
123 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
124 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
125 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
126 m_lastModifiedTimestampHasBeenSet = true;
127 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
128 }
129 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
130 GetKxDatabaseResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
131 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetLastCompletedChangesetId() const { return m_lastCompletedChangesetId; }
141 template <typename LastCompletedChangesetIdT = Aws::String>
142 void SetLastCompletedChangesetId(LastCompletedChangesetIdT&& value) {
143 m_lastCompletedChangesetIdHasBeenSet = true;
144 m_lastCompletedChangesetId = std::forward<LastCompletedChangesetIdT>(value);
145 }
146 template <typename LastCompletedChangesetIdT = Aws::String>
147 GetKxDatabaseResult& WithLastCompletedChangesetId(LastCompletedChangesetIdT&& value) {
148 SetLastCompletedChangesetId(std::forward<LastCompletedChangesetIdT>(value));
149 return *this;
150 }
152
154
157 inline long long GetNumBytes() const { return m_numBytes; }
158 inline void SetNumBytes(long long value) {
159 m_numBytesHasBeenSet = true;
160 m_numBytes = value;
161 }
162 inline GetKxDatabaseResult& WithNumBytes(long long value) {
163 SetNumBytes(value);
164 return *this;
165 }
167
169
172 inline int GetNumChangesets() const { return m_numChangesets; }
173 inline void SetNumChangesets(int value) {
174 m_numChangesetsHasBeenSet = true;
175 m_numChangesets = value;
176 }
178 SetNumChangesets(value);
179 return *this;
180 }
182
184
187 inline int GetNumFiles() const { return m_numFiles; }
188 inline void SetNumFiles(int value) {
189 m_numFilesHasBeenSet = true;
190 m_numFiles = value;
191 }
193 SetNumFiles(value);
194 return *this;
195 }
197
199
200 inline const Aws::String& GetRequestId() const { return m_requestId; }
201 template <typename RequestIdT = Aws::String>
202 void SetRequestId(RequestIdT&& value) {
203 m_requestIdHasBeenSet = true;
204 m_requestId = std::forward<RequestIdT>(value);
205 }
206 template <typename RequestIdT = Aws::String>
207 GetKxDatabaseResult& WithRequestId(RequestIdT&& value) {
208 SetRequestId(std::forward<RequestIdT>(value));
209 return *this;
210 }
212 private:
213 Aws::String m_databaseName;
214
215 Aws::String m_databaseArn;
216
217 Aws::String m_environmentId;
218
219 Aws::String m_description;
220
221 Aws::Utils::DateTime m_createdTimestamp{};
222
223 Aws::Utils::DateTime m_lastModifiedTimestamp{};
224
225 Aws::String m_lastCompletedChangesetId;
226
227 long long m_numBytes{0};
228
229 int m_numChangesets{0};
230
231 int m_numFiles{0};
232
233 Aws::String m_requestId;
234 bool m_databaseNameHasBeenSet = false;
235 bool m_databaseArnHasBeenSet = false;
236 bool m_environmentIdHasBeenSet = false;
237 bool m_descriptionHasBeenSet = false;
238 bool m_createdTimestampHasBeenSet = false;
239 bool m_lastModifiedTimestampHasBeenSet = false;
240 bool m_lastCompletedChangesetIdHasBeenSet = false;
241 bool m_numBytesHasBeenSet = false;
242 bool m_numChangesetsHasBeenSet = false;
243 bool m_numFilesHasBeenSet = false;
244 bool m_requestIdHasBeenSet = false;
245};
246
247} // namespace Model
248} // namespace finspace
249} // namespace Aws
GetKxDatabaseResult & WithEnvironmentId(EnvironmentIdT &&value)
GetKxDatabaseResult & WithNumChangesets(int value)
GetKxDatabaseResult & WithNumFiles(int value)
GetKxDatabaseResult & WithCreatedTimestamp(CreatedTimestampT &&value)
GetKxDatabaseResult & WithDatabaseArn(DatabaseArnT &&value)
AWS_FINSPACE_API GetKxDatabaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastCompletedChangesetId(LastCompletedChangesetIdT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetKxDatabaseResult & WithRequestId(RequestIdT &&value)
GetKxDatabaseResult & WithDescription(DescriptionT &&value)
GetKxDatabaseResult & WithNumBytes(long long value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
GetKxDatabaseResult & WithDatabaseName(DatabaseNameT &&value)
AWS_FINSPACE_API GetKxDatabaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxDatabaseResult & WithLastCompletedChangesetId(LastCompletedChangesetIdT &&value)
AWS_FINSPACE_API GetKxDatabaseResult()=default
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
GetKxDatabaseResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
const Aws::String & GetLastCompletedChangesetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue