AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetKxDatabaseResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace finspace {
24namespace Model {
26 public:
27 AWS_FINSPACE_API GetKxDatabaseResult() = default;
30
32
35 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
36 template <typename DatabaseNameT = Aws::String>
37 void SetDatabaseName(DatabaseNameT&& value) {
38 m_databaseNameHasBeenSet = true;
39 m_databaseName = std::forward<DatabaseNameT>(value);
40 }
41 template <typename DatabaseNameT = Aws::String>
42 GetKxDatabaseResult& WithDatabaseName(DatabaseNameT&& value) {
43 SetDatabaseName(std::forward<DatabaseNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetDatabaseArn() const { return m_databaseArn; }
53 template <typename DatabaseArnT = Aws::String>
54 void SetDatabaseArn(DatabaseArnT&& value) {
55 m_databaseArnHasBeenSet = true;
56 m_databaseArn = std::forward<DatabaseArnT>(value);
57 }
58 template <typename DatabaseArnT = Aws::String>
59 GetKxDatabaseResult& WithDatabaseArn(DatabaseArnT&& value) {
60 SetDatabaseArn(std::forward<DatabaseArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
70 template <typename EnvironmentIdT = Aws::String>
71 void SetEnvironmentId(EnvironmentIdT&& value) {
72 m_environmentIdHasBeenSet = true;
73 m_environmentId = std::forward<EnvironmentIdT>(value);
74 }
75 template <typename EnvironmentIdT = Aws::String>
76 GetKxDatabaseResult& WithEnvironmentId(EnvironmentIdT&& value) {
77 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
93 GetKxDatabaseResult& WithDescription(DescriptionT&& value) {
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
106 template <typename CreatedTimestampT = Aws::Utils::DateTime>
107 void SetCreatedTimestamp(CreatedTimestampT&& value) {
108 m_createdTimestampHasBeenSet = true;
109 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
110 }
111 template <typename CreatedTimestampT = Aws::Utils::DateTime>
112 GetKxDatabaseResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
113 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
125 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
126 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
127 m_lastModifiedTimestampHasBeenSet = true;
128 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
129 }
130 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
131 GetKxDatabaseResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
132 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetLastCompletedChangesetId() const { return m_lastCompletedChangesetId; }
142 template <typename LastCompletedChangesetIdT = Aws::String>
143 void SetLastCompletedChangesetId(LastCompletedChangesetIdT&& value) {
144 m_lastCompletedChangesetIdHasBeenSet = true;
145 m_lastCompletedChangesetId = std::forward<LastCompletedChangesetIdT>(value);
146 }
147 template <typename LastCompletedChangesetIdT = Aws::String>
148 GetKxDatabaseResult& WithLastCompletedChangesetId(LastCompletedChangesetIdT&& value) {
149 SetLastCompletedChangesetId(std::forward<LastCompletedChangesetIdT>(value));
150 return *this;
151 }
153
155
158 inline long long GetNumBytes() const { return m_numBytes; }
159 inline void SetNumBytes(long long value) {
160 m_numBytesHasBeenSet = true;
161 m_numBytes = value;
162 }
163 inline GetKxDatabaseResult& WithNumBytes(long long value) {
164 SetNumBytes(value);
165 return *this;
166 }
168
170
173 inline int GetNumChangesets() const { return m_numChangesets; }
174 inline void SetNumChangesets(int value) {
175 m_numChangesetsHasBeenSet = true;
176 m_numChangesets = value;
177 }
179 SetNumChangesets(value);
180 return *this;
181 }
183
185
188 inline int GetNumFiles() const { return m_numFiles; }
189 inline void SetNumFiles(int value) {
190 m_numFilesHasBeenSet = true;
191 m_numFiles = value;
192 }
194 SetNumFiles(value);
195 return *this;
196 }
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template <typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) {
204 m_requestIdHasBeenSet = true;
205 m_requestId = std::forward<RequestIdT>(value);
206 }
207 template <typename RequestIdT = Aws::String>
208 GetKxDatabaseResult& WithRequestId(RequestIdT&& value) {
209 SetRequestId(std::forward<RequestIdT>(value));
210 return *this;
211 }
213 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
214
215 private:
216 Aws::String m_databaseName;
217
218 Aws::String m_databaseArn;
219
220 Aws::String m_environmentId;
221
222 Aws::String m_description;
223
224 Aws::Utils::DateTime m_createdTimestamp{};
225
226 Aws::Utils::DateTime m_lastModifiedTimestamp{};
227
228 Aws::String m_lastCompletedChangesetId;
229
230 long long m_numBytes{0};
231
232 int m_numChangesets{0};
233
234 int m_numFiles{0};
235
236 Aws::String m_requestId;
237 Aws::Http::HttpResponseCode m_HttpResponseCode;
238 bool m_databaseNameHasBeenSet = false;
239 bool m_databaseArnHasBeenSet = false;
240 bool m_environmentIdHasBeenSet = false;
241 bool m_descriptionHasBeenSet = false;
242 bool m_createdTimestampHasBeenSet = false;
243 bool m_lastModifiedTimestampHasBeenSet = false;
244 bool m_lastCompletedChangesetIdHasBeenSet = false;
245 bool m_numBytesHasBeenSet = false;
246 bool m_numChangesetsHasBeenSet = false;
247 bool m_numFilesHasBeenSet = false;
248 bool m_requestIdHasBeenSet = false;
249};
250
251} // namespace Model
252} // namespace finspace
253} // namespace Aws
GetKxDatabaseResult & WithEnvironmentId(EnvironmentIdT &&value)
GetKxDatabaseResult & WithNumChangesets(int value)
GetKxDatabaseResult & WithNumFiles(int value)
GetKxDatabaseResult & WithCreatedTimestamp(CreatedTimestampT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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