AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKxChangesetResult.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 CreateKxChangesetResult();
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 CreateKxChangesetResult& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;}
49 inline CreateKxChangesetResult& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;}
50 inline CreateKxChangesetResult& 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 CreateKxChangesetResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
62 inline CreateKxChangesetResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
63 inline CreateKxChangesetResult& 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 CreateKxChangesetResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
75 inline CreateKxChangesetResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
76 inline CreateKxChangesetResult& 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); }
88 inline CreateKxChangesetResult& AddChangeRequests(const ChangeRequest& value) { m_changeRequests.push_back(value); return *this; }
89 inline CreateKxChangesetResult& 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); }
104
106
111 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
112 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestamp = value; }
113 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestamp = std::move(value); }
117
119
125 inline const ChangesetStatus& GetStatus() const{ return m_status; }
126 inline void SetStatus(const ChangesetStatus& value) { m_status = value; }
127 inline void SetStatus(ChangesetStatus&& value) { m_status = std::move(value); }
128 inline CreateKxChangesetResult& WithStatus(const ChangesetStatus& value) { SetStatus(value); return *this;}
129 inline CreateKxChangesetResult& WithStatus(ChangesetStatus&& value) { SetStatus(std::move(value)); return *this;}
131
133
137 inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
138 inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfo = value; }
139 inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfo = std::move(value); }
140 inline CreateKxChangesetResult& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;}
141 inline CreateKxChangesetResult& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
143
145
146 inline const Aws::String& GetRequestId() const{ return m_requestId; }
147 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
148 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
149 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
150 inline CreateKxChangesetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
151 inline CreateKxChangesetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
152 inline CreateKxChangesetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
154 private:
155
156 Aws::String m_changesetId;
157
158 Aws::String m_databaseName;
159
160 Aws::String m_environmentId;
161
162 Aws::Vector<ChangeRequest> m_changeRequests;
163
164 Aws::Utils::DateTime m_createdTimestamp;
165
166 Aws::Utils::DateTime m_lastModifiedTimestamp;
167
168 ChangesetStatus m_status;
169
170 ErrorInfo m_errorInfo;
171
172 Aws::String m_requestId;
173 };
174
175} // namespace Model
176} // namespace finspace
177} // namespace Aws
CreateKxChangesetResult & WithDatabaseName(Aws::String &&value)
void SetChangeRequests(const Aws::Vector< ChangeRequest > &value)
AWS_FINSPACE_API CreateKxChangesetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxChangesetResult & WithErrorInfo(ErrorInfo &&value)
CreateKxChangesetResult & WithEnvironmentId(Aws::String &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
CreateKxChangesetResult & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
CreateKxChangesetResult & WithRequestId(const Aws::String &value)
AWS_FINSPACE_API CreateKxChangesetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxChangesetResult & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
const Aws::Vector< ChangeRequest > & GetChangeRequests() const
CreateKxChangesetResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
CreateKxChangesetResult & WithChangeRequests(Aws::Vector< ChangeRequest > &&value)
void SetChangeRequests(Aws::Vector< ChangeRequest > &&value)
CreateKxChangesetResult & AddChangeRequests(const ChangeRequest &value)
CreateKxChangesetResult & WithChangesetId(Aws::String &&value)
CreateKxChangesetResult & WithStatus(ChangesetStatus &&value)
CreateKxChangesetResult & WithChangeRequests(const Aws::Vector< ChangeRequest > &value)
CreateKxChangesetResult & WithChangesetId(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
CreateKxChangesetResult & WithEnvironmentId(const Aws::String &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
CreateKxChangesetResult & WithEnvironmentId(const char *value)
CreateKxChangesetResult & WithStatus(const ChangesetStatus &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
CreateKxChangesetResult & WithChangesetId(const Aws::String &value)
CreateKxChangesetResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
CreateKxChangesetResult & WithErrorInfo(const ErrorInfo &value)
CreateKxChangesetResult & WithRequestId(const char *value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
CreateKxChangesetResult & WithDatabaseName(const Aws::String &value)
CreateKxChangesetResult & WithDatabaseName(const char *value)
CreateKxChangesetResult & WithRequestId(Aws::String &&value)
CreateKxChangesetResult & AddChangeRequests(ChangeRequest &&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