7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/DataExchange_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace DataExchange {
35 template <
typename ArnT = Aws::String>
37 m_arnHasBeenSet =
true;
38 m_arn = std::forward<ArnT>(value);
40 template <
typename ArnT = Aws::String>
42 SetArn(std::forward<ArnT>(value));
52 template <
typename CommentT = Aws::String>
54 m_commentHasBeenSet =
true;
55 m_comment = std::forward<CommentT>(value);
57 template <
typename CommentT = Aws::String>
69 template <
typename CreatedAtT = Aws::Utils::DateTime>
71 m_createdAtHasBeenSet =
true;
72 m_createdAt = std::forward<CreatedAtT>(value);
74 template <
typename CreatedAtT = Aws::Utils::DateTime>
87 template <
typename DataSetIdT = Aws::String>
89 m_dataSetIdHasBeenSet =
true;
90 m_dataSetId = std::forward<DataSetIdT>(value);
92 template <
typename DataSetIdT = Aws::String>
111 m_finalizedHasBeenSet =
true;
125 template <
typename IdT = Aws::String>
127 m_idHasBeenSet =
true;
128 m_id = std::forward<IdT>(value);
130 template <
typename IdT = Aws::String>
132 SetId(std::forward<IdT>(value));
144 template <
typename SourceIdT = Aws::String>
146 m_sourceIdHasBeenSet =
true;
147 m_sourceId = std::forward<SourceIdT>(value);
149 template <
typename SourceIdT = Aws::String>
161 template <
typename UpdatedAtT = Aws::Utils::DateTime>
163 m_updatedAtHasBeenSet =
true;
164 m_updatedAt = std::forward<UpdatedAtT>(value);
166 template <
typename UpdatedAtT = Aws::Utils::DateTime>
179 template <
typename RevocationCommentT = Aws::String>
181 m_revocationCommentHasBeenSet =
true;
182 m_revocationComment = std::forward<RevocationCommentT>(value);
184 template <
typename RevocationCommentT = Aws::String>
197 m_revokedHasBeenSet =
true;
211 template <
typename RevokedAtT = Aws::Utils::DateTime>
213 m_revokedAtHasBeenSet =
true;
214 m_revokedAt = std::forward<RevokedAtT>(value);
216 template <
typename RevokedAtT = Aws::Utils::DateTime>
226 template <
typename RequestIdT = Aws::String>
228 m_requestIdHasBeenSet =
true;
229 m_requestId = std::forward<RequestIdT>(value);
231 template <
typename RequestIdT = Aws::String>
246 bool m_finalized{
false};
256 bool m_revoked{
false};
261 bool m_arnHasBeenSet =
false;
262 bool m_commentHasBeenSet =
false;
263 bool m_createdAtHasBeenSet =
false;
264 bool m_dataSetIdHasBeenSet =
false;
265 bool m_finalizedHasBeenSet =
false;
266 bool m_idHasBeenSet =
false;
267 bool m_sourceIdHasBeenSet =
false;
268 bool m_updatedAtHasBeenSet =
false;
269 bool m_revocationCommentHasBeenSet =
false;
270 bool m_revokedHasBeenSet =
false;
271 bool m_revokedAtHasBeenSet =
false;
272 bool m_requestIdHasBeenSet =
false;
void SetSourceId(SourceIdT &&value)
RevokeRevisionResult & WithComment(CommentT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRequestId(RequestIdT &&value)
void SetArn(ArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
RevokeRevisionResult & WithRevokedAt(RevokedAtT &&value)
const Aws::String & GetRequestId() const
RevokeRevisionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRevocationComment() const
AWS_DATAEXCHANGE_API RevokeRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RevokeRevisionResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetDataSetId() const
AWS_DATAEXCHANGE_API RevokeRevisionResult()=default
const Aws::Utils::DateTime & GetRevokedAt() const
RevokeRevisionResult & WithRevocationComment(RevocationCommentT &&value)
RevokeRevisionResult & WithRevoked(bool value)
AWS_DATAEXCHANGE_API RevokeRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RevokeRevisionResult & WithDataSetId(DataSetIdT &&value)
const Aws::String & GetId() const
void SetRevocationComment(RevocationCommentT &&value)
RevokeRevisionResult & WithSourceId(SourceIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetComment(CommentT &&value)
const Aws::String & GetComment() const
RevokeRevisionResult & WithId(IdT &&value)
bool GetFinalized() const
void SetRevokedAt(RevokedAtT &&value)
RevokeRevisionResult & WithCreatedAt(CreatedAtT &&value)
void SetFinalized(bool value)
RevokeRevisionResult & WithFinalized(bool value)
const Aws::String & GetSourceId() const
RevokeRevisionResult & WithArn(ArnT &&value)
const Aws::String & GetArn() const
void SetDataSetId(DataSetIdT &&value)
void SetRevoked(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue