AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetKxDatabaseResult.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace finspace
25{
26namespace Model
27{
29 {
30 public:
31 AWS_FINSPACE_API GetKxDatabaseResult() = default;
34
35
37
40 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
41 template<typename DatabaseNameT = Aws::String>
42 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
43 template<typename DatabaseNameT = Aws::String>
44 GetKxDatabaseResult& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDatabaseArn() const { return m_databaseArn; }
52 template<typename DatabaseArnT = Aws::String>
53 void SetDatabaseArn(DatabaseArnT&& value) { m_databaseArnHasBeenSet = true; m_databaseArn = std::forward<DatabaseArnT>(value); }
54 template<typename DatabaseArnT = Aws::String>
55 GetKxDatabaseResult& WithDatabaseArn(DatabaseArnT&& value) { SetDatabaseArn(std::forward<DatabaseArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
63 template<typename EnvironmentIdT = Aws::String>
64 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
65 template<typename EnvironmentIdT = Aws::String>
66 GetKxDatabaseResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 GetKxDatabaseResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
86 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
87 template<typename CreatedTimestampT = Aws::Utils::DateTime>
88 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
89 template<typename CreatedTimestampT = Aws::Utils::DateTime>
90 GetKxDatabaseResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
92
94
99 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
100 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
101 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
102 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
103 GetKxDatabaseResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
105
107
110 inline const Aws::String& GetLastCompletedChangesetId() const { return m_lastCompletedChangesetId; }
111 template<typename LastCompletedChangesetIdT = Aws::String>
112 void SetLastCompletedChangesetId(LastCompletedChangesetIdT&& value) { m_lastCompletedChangesetIdHasBeenSet = true; m_lastCompletedChangesetId = std::forward<LastCompletedChangesetIdT>(value); }
113 template<typename LastCompletedChangesetIdT = Aws::String>
114 GetKxDatabaseResult& WithLastCompletedChangesetId(LastCompletedChangesetIdT&& value) { SetLastCompletedChangesetId(std::forward<LastCompletedChangesetIdT>(value)); return *this;}
116
118
121 inline long long GetNumBytes() const { return m_numBytes; }
122 inline void SetNumBytes(long long value) { m_numBytesHasBeenSet = true; m_numBytes = value; }
123 inline GetKxDatabaseResult& WithNumBytes(long long value) { SetNumBytes(value); return *this;}
125
127
130 inline int GetNumChangesets() const { return m_numChangesets; }
131 inline void SetNumChangesets(int value) { m_numChangesetsHasBeenSet = true; m_numChangesets = value; }
132 inline GetKxDatabaseResult& WithNumChangesets(int value) { SetNumChangesets(value); return *this;}
134
136
139 inline int GetNumFiles() const { return m_numFiles; }
140 inline void SetNumFiles(int value) { m_numFilesHasBeenSet = true; m_numFiles = value; }
141 inline GetKxDatabaseResult& WithNumFiles(int value) { SetNumFiles(value); return *this;}
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
147 template<typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
149 template<typename RequestIdT = Aws::String>
150 GetKxDatabaseResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
152 private:
153
154 Aws::String m_databaseName;
155 bool m_databaseNameHasBeenSet = false;
156
157 Aws::String m_databaseArn;
158 bool m_databaseArnHasBeenSet = false;
159
160 Aws::String m_environmentId;
161 bool m_environmentIdHasBeenSet = false;
162
163 Aws::String m_description;
164 bool m_descriptionHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdTimestamp{};
167 bool m_createdTimestampHasBeenSet = false;
168
169 Aws::Utils::DateTime m_lastModifiedTimestamp{};
170 bool m_lastModifiedTimestampHasBeenSet = false;
171
172 Aws::String m_lastCompletedChangesetId;
173 bool m_lastCompletedChangesetIdHasBeenSet = false;
174
175 long long m_numBytes{0};
176 bool m_numBytesHasBeenSet = false;
177
178 int m_numChangesets{0};
179 bool m_numChangesetsHasBeenSet = false;
180
181 int m_numFiles{0};
182 bool m_numFilesHasBeenSet = false;
183
184 Aws::String m_requestId;
185 bool m_requestIdHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace finspace
190} // 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