AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
45 template<typename ChangesetIdT = Aws::String>
46 void SetChangesetId(ChangesetIdT&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::forward<ChangesetIdT>(value); }
47 template<typename ChangesetIdT = Aws::String>
48 CreateKxChangesetResult& WithChangesetId(ChangesetIdT&& value) { SetChangesetId(std::forward<ChangesetIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
56 template<typename DatabaseNameT = Aws::String>
57 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
58 template<typename DatabaseNameT = Aws::String>
59 CreateKxChangesetResult& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
67 template<typename EnvironmentIdT = Aws::String>
68 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
69 template<typename EnvironmentIdT = Aws::String>
70 CreateKxChangesetResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
72
74
77 inline const Aws::Vector<ChangeRequest>& GetChangeRequests() const { return m_changeRequests; }
78 template<typename ChangeRequestsT = Aws::Vector<ChangeRequest>>
79 void SetChangeRequests(ChangeRequestsT&& value) { m_changeRequestsHasBeenSet = true; m_changeRequests = std::forward<ChangeRequestsT>(value); }
80 template<typename ChangeRequestsT = Aws::Vector<ChangeRequest>>
81 CreateKxChangesetResult& WithChangeRequests(ChangeRequestsT&& value) { SetChangeRequests(std::forward<ChangeRequestsT>(value)); return *this;}
82 template<typename ChangeRequestsT = ChangeRequest>
83 CreateKxChangesetResult& AddChangeRequests(ChangeRequestsT&& value) { m_changeRequestsHasBeenSet = true; m_changeRequests.emplace_back(std::forward<ChangeRequestsT>(value)); return *this; }
85
87
92 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
93 template<typename CreatedTimestampT = Aws::Utils::DateTime>
94 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
95 template<typename CreatedTimestampT = Aws::Utils::DateTime>
96 CreateKxChangesetResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
98
100
105 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
106 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
107 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
108 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
109 CreateKxChangesetResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
111
113
119 inline ChangesetStatus GetStatus() const { return m_status; }
120 inline void SetStatus(ChangesetStatus value) { m_statusHasBeenSet = true; m_status = value; }
121 inline CreateKxChangesetResult& WithStatus(ChangesetStatus value) { SetStatus(value); return *this;}
123
125
129 inline const ErrorInfo& GetErrorInfo() const { return m_errorInfo; }
130 template<typename ErrorInfoT = ErrorInfo>
131 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::forward<ErrorInfoT>(value); }
132 template<typename ErrorInfoT = ErrorInfo>
133 CreateKxChangesetResult& WithErrorInfo(ErrorInfoT&& value) { SetErrorInfo(std::forward<ErrorInfoT>(value)); return *this;}
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template<typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
141 template<typename RequestIdT = Aws::String>
142 CreateKxChangesetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
144 private:
145
146 Aws::String m_changesetId;
147 bool m_changesetIdHasBeenSet = false;
148
149 Aws::String m_databaseName;
150 bool m_databaseNameHasBeenSet = false;
151
152 Aws::String m_environmentId;
153 bool m_environmentIdHasBeenSet = false;
154
155 Aws::Vector<ChangeRequest> m_changeRequests;
156 bool m_changeRequestsHasBeenSet = false;
157
158 Aws::Utils::DateTime m_createdTimestamp{};
159 bool m_createdTimestampHasBeenSet = false;
160
161 Aws::Utils::DateTime m_lastModifiedTimestamp{};
162 bool m_lastModifiedTimestampHasBeenSet = false;
163
165 bool m_statusHasBeenSet = false;
166
167 ErrorInfo m_errorInfo;
168 bool m_errorInfoHasBeenSet = false;
169
170 Aws::String m_requestId;
171 bool m_requestIdHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace finspace
176} // 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