AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetKxChangesetResult.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/finspace/model/ChangesetStatus.h>
12#include <aws/finspace/model/ErrorInfo.h>
13#include <aws/finspace/model/ChangeRequest.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace finspace
29{
30namespace Model
31{
33 {
34 public:
35 AWS_FINSPACE_API GetKxChangesetResult();
38
39
41
44 inline const Aws::String& GetChangesetId() const{ return m_changesetId; }
45 inline void SetChangesetId(const Aws::String& value) { m_changesetId = value; }
46 inline void SetChangesetId(Aws::String&& value) { m_changesetId = std::move(value); }
47 inline void SetChangesetId(const char* value) { m_changesetId.assign(value); }
48 inline GetKxChangesetResult& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;}
49 inline GetKxChangesetResult& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;}
50 inline GetKxChangesetResult& WithChangesetId(const char* value) { SetChangesetId(value); return *this;}
52
54
57 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
58 inline void SetDatabaseName(const Aws::String& value) { m_databaseName = value; }
59 inline void SetDatabaseName(Aws::String&& value) { m_databaseName = std::move(value); }
60 inline void SetDatabaseName(const char* value) { m_databaseName.assign(value); }
61 inline GetKxChangesetResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
62 inline GetKxChangesetResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
63 inline GetKxChangesetResult& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
65
67
70 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
71 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
72 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
73 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
74 inline GetKxChangesetResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
75 inline GetKxChangesetResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
76 inline GetKxChangesetResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
78
80
83 inline const Aws::Vector<ChangeRequest>& GetChangeRequests() const{ return m_changeRequests; }
84 inline void SetChangeRequests(const Aws::Vector<ChangeRequest>& value) { m_changeRequests = value; }
85 inline void SetChangeRequests(Aws::Vector<ChangeRequest>&& value) { m_changeRequests = std::move(value); }
87 inline GetKxChangesetResult& WithChangeRequests(Aws::Vector<ChangeRequest>&& value) { SetChangeRequests(std::move(value)); return *this;}
88 inline GetKxChangesetResult& AddChangeRequests(const ChangeRequest& value) { m_changeRequests.push_back(value); return *this; }
89 inline GetKxChangesetResult& AddChangeRequests(ChangeRequest&& value) { m_changeRequests.push_back(std::move(value)); return *this; }
91
93
98 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
99 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
100 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
102 inline GetKxChangesetResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
104
106
111 inline const Aws::Utils::DateTime& GetActiveFromTimestamp() const{ return m_activeFromTimestamp; }
112 inline void SetActiveFromTimestamp(const Aws::Utils::DateTime& value) { m_activeFromTimestamp = value; }
113 inline void SetActiveFromTimestamp(Aws::Utils::DateTime&& value) { m_activeFromTimestamp = std::move(value); }
117
119
124 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
125 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestamp = value; }
126 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestamp = std::move(value); }
130
132
138 inline const ChangesetStatus& GetStatus() const{ return m_status; }
139 inline void SetStatus(const ChangesetStatus& value) { m_status = value; }
140 inline void SetStatus(ChangesetStatus&& value) { m_status = std::move(value); }
141 inline GetKxChangesetResult& WithStatus(const ChangesetStatus& value) { SetStatus(value); return *this;}
142 inline GetKxChangesetResult& WithStatus(ChangesetStatus&& value) { SetStatus(std::move(value)); return *this;}
144
146
150 inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
151 inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfo = value; }
152 inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfo = std::move(value); }
153 inline GetKxChangesetResult& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;}
154 inline GetKxChangesetResult& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
156
158
159 inline const Aws::String& GetRequestId() const{ return m_requestId; }
160 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
161 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
162 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
163 inline GetKxChangesetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
164 inline GetKxChangesetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
165 inline GetKxChangesetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
167 private:
168
169 Aws::String m_changesetId;
170
171 Aws::String m_databaseName;
172
173 Aws::String m_environmentId;
174
175 Aws::Vector<ChangeRequest> m_changeRequests;
176
177 Aws::Utils::DateTime m_createdTimestamp;
178
179 Aws::Utils::DateTime m_activeFromTimestamp;
180
181 Aws::Utils::DateTime m_lastModifiedTimestamp;
182
183 ChangesetStatus m_status;
184
185 ErrorInfo m_errorInfo;
186
187 Aws::String m_requestId;
188 };
189
190} // namespace Model
191} // namespace finspace
192} // namespace Aws
GetKxChangesetResult & WithStatus(const ChangesetStatus &value)
GetKxChangesetResult & WithEnvironmentId(const char *value)
GetKxChangesetResult & WithEnvironmentId(Aws::String &&value)
GetKxChangesetResult & WithErrorInfo(const ErrorInfo &value)
GetKxChangesetResult & WithChangesetId(const Aws::String &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
GetKxChangesetResult & WithActiveFromTimestamp(Aws::Utils::DateTime &&value)
GetKxChangesetResult & WithRequestId(const Aws::String &value)
GetKxChangesetResult & WithStatus(ChangesetStatus &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetKxChangesetResult & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
GetKxChangesetResult & WithDatabaseName(const char *value)
void SetStatus(const ChangesetStatus &value)
void SetEnvironmentId(const Aws::String &value)
const Aws::Vector< ChangeRequest > & GetChangeRequests() const
GetKxChangesetResult & WithActiveFromTimestamp(const Aws::Utils::DateTime &value)
GetKxChangesetResult & WithEnvironmentId(const Aws::String &value)
const Aws::Utils::DateTime & GetActiveFromTimestamp() const
GetKxChangesetResult & WithErrorInfo(ErrorInfo &&value)
void SetDatabaseName(const Aws::String &value)
GetKxChangesetResult & WithDatabaseName(Aws::String &&value)
void SetChangesetId(const Aws::String &value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
GetKxChangesetResult & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
void SetActiveFromTimestamp(const Aws::Utils::DateTime &value)
GetKxChangesetResult & WithRequestId(Aws::String &&value)
AWS_FINSPACE_API GetKxChangesetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxChangesetResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
AWS_FINSPACE_API GetKxChangesetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxChangesetResult & WithChangesetId(const char *value)
GetKxChangesetResult & WithChangesetId(Aws::String &&value)
void SetChangeRequests(const Aws::Vector< ChangeRequest > &value)
GetKxChangesetResult & AddChangeRequests(const ChangeRequest &value)
GetKxChangesetResult & WithChangeRequests(Aws::Vector< ChangeRequest > &&value)
void SetChangeRequests(Aws::Vector< ChangeRequest > &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
GetKxChangesetResult & WithRequestId(const char *value)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
GetKxChangesetResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetKxChangesetResult & AddChangeRequests(ChangeRequest &&value)
void SetActiveFromTimestamp(Aws::Utils::DateTime &&value)
GetKxChangesetResult & WithChangeRequests(const Aws::Vector< ChangeRequest > &value)
GetKxChangesetResult & WithDatabaseName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue