AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
CreateKxChangesetResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11#include <aws/finspace/model/ChangeRequest.h>
12#include <aws/finspace/model/ChangesetStatus.h>
13#include <aws/finspace/model/ErrorInfo.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace finspace {
27namespace Model {
29 public:
30 AWS_FINSPACE_API CreateKxChangesetResult() = default;
33
35
38 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
39 template <typename ChangesetIdT = Aws::String>
40 void SetChangesetId(ChangesetIdT&& value) {
41 m_changesetIdHasBeenSet = true;
42 m_changesetId = std::forward<ChangesetIdT>(value);
43 }
44 template <typename ChangesetIdT = Aws::String>
46 SetChangesetId(std::forward<ChangesetIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
56 template <typename DatabaseNameT = Aws::String>
57 void SetDatabaseName(DatabaseNameT&& value) {
58 m_databaseNameHasBeenSet = true;
59 m_databaseName = std::forward<DatabaseNameT>(value);
60 }
61 template <typename DatabaseNameT = Aws::String>
62 CreateKxChangesetResult& WithDatabaseName(DatabaseNameT&& value) {
63 SetDatabaseName(std::forward<DatabaseNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
73 template <typename EnvironmentIdT = Aws::String>
74 void SetEnvironmentId(EnvironmentIdT&& value) {
75 m_environmentIdHasBeenSet = true;
76 m_environmentId = std::forward<EnvironmentIdT>(value);
77 }
78 template <typename EnvironmentIdT = Aws::String>
79 CreateKxChangesetResult& WithEnvironmentId(EnvironmentIdT&& value) {
80 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Vector<ChangeRequest>& GetChangeRequests() const { return m_changeRequests; }
90 template <typename ChangeRequestsT = Aws::Vector<ChangeRequest>>
91 void SetChangeRequests(ChangeRequestsT&& value) {
92 m_changeRequestsHasBeenSet = true;
93 m_changeRequests = std::forward<ChangeRequestsT>(value);
94 }
95 template <typename ChangeRequestsT = Aws::Vector<ChangeRequest>>
96 CreateKxChangesetResult& WithChangeRequests(ChangeRequestsT&& value) {
97 SetChangeRequests(std::forward<ChangeRequestsT>(value));
98 return *this;
99 }
100 template <typename ChangeRequestsT = ChangeRequest>
101 CreateKxChangesetResult& AddChangeRequests(ChangeRequestsT&& value) {
102 m_changeRequestsHasBeenSet = true;
103 m_changeRequests.emplace_back(std::forward<ChangeRequestsT>(value));
104 return *this;
105 }
107
109
114 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
115 template <typename CreatedTimestampT = Aws::Utils::DateTime>
116 void SetCreatedTimestamp(CreatedTimestampT&& value) {
117 m_createdTimestampHasBeenSet = true;
118 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
119 }
120 template <typename CreatedTimestampT = Aws::Utils::DateTime>
121 CreateKxChangesetResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
122 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
123 return *this;
124 }
126
128
133 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
134 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
135 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
136 m_lastModifiedTimestampHasBeenSet = true;
137 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
138 }
139 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
140 CreateKxChangesetResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
141 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
142 return *this;
143 }
145
147
153 inline ChangesetStatus GetStatus() const { return m_status; }
154 inline void SetStatus(ChangesetStatus value) {
155 m_statusHasBeenSet = true;
156 m_status = value;
157 }
159 SetStatus(value);
160 return *this;
161 }
163
165
169 inline const ErrorInfo& GetErrorInfo() const { return m_errorInfo; }
170 template <typename ErrorInfoT = ErrorInfo>
171 void SetErrorInfo(ErrorInfoT&& value) {
172 m_errorInfoHasBeenSet = true;
173 m_errorInfo = std::forward<ErrorInfoT>(value);
174 }
175 template <typename ErrorInfoT = ErrorInfo>
177 SetErrorInfo(std::forward<ErrorInfoT>(value));
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_changesetId;
198
199 Aws::String m_databaseName;
200
201 Aws::String m_environmentId;
202
203 Aws::Vector<ChangeRequest> m_changeRequests;
204
205 Aws::Utils::DateTime m_createdTimestamp{};
206
207 Aws::Utils::DateTime m_lastModifiedTimestamp{};
208
210
211 ErrorInfo m_errorInfo;
212
213 Aws::String m_requestId;
214 bool m_changesetIdHasBeenSet = false;
215 bool m_databaseNameHasBeenSet = false;
216 bool m_environmentIdHasBeenSet = false;
217 bool m_changeRequestsHasBeenSet = false;
218 bool m_createdTimestampHasBeenSet = false;
219 bool m_lastModifiedTimestampHasBeenSet = false;
220 bool m_statusHasBeenSet = false;
221 bool m_errorInfoHasBeenSet = false;
222 bool m_requestIdHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace finspace
227} // namespace Aws
AWS_FINSPACE_API CreateKxChangesetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxChangesetResult & WithChangeRequests(ChangeRequestsT &&value)
CreateKxChangesetResult & AddChangeRequests(ChangeRequestsT &&value)
CreateKxChangesetResult & WithRequestId(RequestIdT &&value)
AWS_FINSPACE_API CreateKxChangesetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxChangesetResult & WithStatus(ChangesetStatus value)
const Aws::Vector< ChangeRequest > & GetChangeRequests() const
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
CreateKxChangesetResult & WithChangesetId(ChangesetIdT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
CreateKxChangesetResult & WithDatabaseName(DatabaseNameT &&value)
CreateKxChangesetResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_FINSPACE_API CreateKxChangesetResult()=default
CreateKxChangesetResult & WithCreatedTimestamp(CreatedTimestampT &&value)
CreateKxChangesetResult & WithEnvironmentId(EnvironmentIdT &&value)
CreateKxChangesetResult & WithErrorInfo(ErrorInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue