7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dataexchange/DataExchange_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace DataExchange {
36 template <
typename ArnT = Aws::String>
38 m_arnHasBeenSet =
true;
39 m_arn = std::forward<ArnT>(value);
41 template <
typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
53 template <
typename CommentT = Aws::String>
55 m_commentHasBeenSet =
true;
56 m_comment = std::forward<CommentT>(value);
58 template <
typename CommentT = Aws::String>
70 template <
typename CreatedAtT = Aws::Utils::DateTime>
72 m_createdAtHasBeenSet =
true;
73 m_createdAt = std::forward<CreatedAtT>(value);
75 template <
typename CreatedAtT = Aws::Utils::DateTime>
88 template <
typename DataSetIdT = Aws::String>
90 m_dataSetIdHasBeenSet =
true;
91 m_dataSetId = std::forward<DataSetIdT>(value);
93 template <
typename DataSetIdT = Aws::String>
112 m_finalizedHasBeenSet =
true;
126 template <
typename IdT = Aws::String>
128 m_idHasBeenSet =
true;
129 m_id = std::forward<IdT>(value);
131 template <
typename IdT = Aws::String>
133 SetId(std::forward<IdT>(value));
145 template <
typename SourceIdT = Aws::String>
147 m_sourceIdHasBeenSet =
true;
148 m_sourceId = std::forward<SourceIdT>(value);
150 template <
typename SourceIdT = Aws::String>
162 template <
typename UpdatedAtT = Aws::Utils::DateTime>
164 m_updatedAtHasBeenSet =
true;
165 m_updatedAt = std::forward<UpdatedAtT>(value);
167 template <
typename UpdatedAtT = Aws::Utils::DateTime>
180 template <
typename RevocationCommentT = Aws::String>
182 m_revocationCommentHasBeenSet =
true;
183 m_revocationComment = std::forward<RevocationCommentT>(value);
185 template <
typename RevocationCommentT = Aws::String>
198 m_revokedHasBeenSet =
true;
212 template <
typename RevokedAtT = Aws::Utils::DateTime>
214 m_revokedAtHasBeenSet =
true;
215 m_revokedAt = std::forward<RevokedAtT>(value);
217 template <
typename RevokedAtT = Aws::Utils::DateTime>
227 template <
typename RequestIdT = Aws::String>
229 m_requestIdHasBeenSet =
true;
230 m_requestId = std::forward<RequestIdT>(value);
232 template <
typename RequestIdT = Aws::String>
249 bool m_finalized{
false};
259 bool m_revoked{
false};
265 bool m_arnHasBeenSet =
false;
266 bool m_commentHasBeenSet =
false;
267 bool m_createdAtHasBeenSet =
false;
268 bool m_dataSetIdHasBeenSet =
false;
269 bool m_finalizedHasBeenSet =
false;
270 bool m_idHasBeenSet =
false;
271 bool m_sourceIdHasBeenSet =
false;
272 bool m_updatedAtHasBeenSet =
false;
273 bool m_revocationCommentHasBeenSet =
false;
274 bool m_revokedHasBeenSet =
false;
275 bool m_revokedAtHasBeenSet =
false;
276 bool m_requestIdHasBeenSet =
false;
AWS_DATAEXCHANGE_API UpdateRevisionResult()=default
UpdateRevisionResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDataSetId() const
UpdateRevisionResult & WithComment(CommentT &&value)
UpdateRevisionResult & WithRequestId(RequestIdT &&value)
bool GetFinalized() const
void SetComment(CommentT &&value)
void SetArn(ArnT &&value)
UpdateRevisionResult & WithFinalized(bool value)
void SetDataSetId(DataSetIdT &&value)
UpdateRevisionResult & WithDataSetId(DataSetIdT &&value)
const Aws::String & GetArn() const
const Aws::String & GetRevocationComment() const
UpdateRevisionResult & WithRevocationComment(RevocationCommentT &&value)
UpdateRevisionResult & WithSourceId(SourceIdT &&value)
UpdateRevisionResult & WithId(IdT &&value)
UpdateRevisionResult & WithRevokedAt(RevokedAtT &&value)
const Aws::String & GetSourceId() const
AWS_DATAEXCHANGE_API UpdateRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSourceId(SourceIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetRevokedAt(RevokedAtT &&value)
void SetRevocationComment(RevocationCommentT &&value)
const Aws::String & GetId() const
void SetCreatedAt(CreatedAtT &&value)
UpdateRevisionResult & WithArn(ArnT &&value)
UpdateRevisionResult & WithUpdatedAt(UpdatedAtT &&value)
void SetFinalized(bool value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetCreatedAt() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateRevisionResult & WithRevoked(bool value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetRevokedAt() const
AWS_DATAEXCHANGE_API UpdateRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetComment() const
void SetRequestId(RequestIdT &&value)
void SetRevoked(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue