7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/DataExchange_EXPORTS.h>
20namespace DataExchange {
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
60 template <
typename CommentT = Aws::String>
62 m_commentHasBeenSet =
true;
63 m_comment = std::forward<CommentT>(value);
65 template <
typename CommentT = Aws::String>
78 template <
typename CreatedAtT = Aws::Utils::DateTime>
80 m_createdAtHasBeenSet =
true;
81 m_createdAt = std::forward<CreatedAtT>(value);
83 template <
typename CreatedAtT = Aws::Utils::DateTime>
97 template <
typename DataSetIdT = Aws::String>
99 m_dataSetIdHasBeenSet =
true;
100 m_dataSetId = std::forward<DataSetIdT>(value);
102 template <
typename DataSetIdT = Aws::String>
122 m_finalizedHasBeenSet =
true;
137 template <
typename IdT = Aws::String>
139 m_idHasBeenSet =
true;
140 m_id = std::forward<IdT>(value);
142 template <
typename IdT = Aws::String>
144 SetId(std::forward<IdT>(value));
157 template <
typename SourceIdT = Aws::String>
159 m_sourceIdHasBeenSet =
true;
160 m_sourceId = std::forward<SourceIdT>(value);
162 template <
typename SourceIdT = Aws::String>
175 template <
typename UpdatedAtT = Aws::Utils::DateTime>
177 m_updatedAtHasBeenSet =
true;
178 m_updatedAt = std::forward<UpdatedAtT>(value);
180 template <
typename UpdatedAtT = Aws::Utils::DateTime>
194 template <
typename RevocationCommentT = Aws::String>
196 m_revocationCommentHasBeenSet =
true;
197 m_revocationComment = std::forward<RevocationCommentT>(value);
199 template <
typename RevocationCommentT = Aws::String>
213 m_revokedHasBeenSet =
true;
228 template <
typename RevokedAtT = Aws::Utils::DateTime>
230 m_revokedAtHasBeenSet =
true;
231 m_revokedAt = std::forward<RevokedAtT>(value);
233 template <
typename RevokedAtT = Aws::Utils::DateTime>
248 bool m_finalized{
false};
258 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;
const Aws::String & GetId() const
RevisionEntry & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetRevokedAt(RevokedAtT &&value)
bool RevocationCommentHasBeenSet() const
void SetDataSetId(DataSetIdT &&value)
void SetArn(ArnT &&value)
bool GetFinalized() const
const Aws::String & GetSourceId() const
RevisionEntry & WithFinalized(bool value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAEXCHANGE_API RevisionEntry()=default
bool ArnHasBeenSet() const
bool CommentHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetSourceId(SourceIdT &&value)
const Aws::String & GetComment() const
bool FinalizedHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetDataSetId() const
const Aws::String & GetRevocationComment() const
bool DataSetIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
AWS_DATAEXCHANGE_API RevisionEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFinalized(bool value)
bool RevokedHasBeenSet() const
RevisionEntry & WithRevocationComment(RevocationCommentT &&value)
RevisionEntry & WithArn(ArnT &&value)
void SetRevocationComment(RevocationCommentT &&value)
void SetComment(CommentT &&value)
bool IdHasBeenSet() const
bool SourceIdHasBeenSet() const
void SetRevoked(bool value)
RevisionEntry & WithComment(CommentT &&value)
RevisionEntry & WithId(IdT &&value)
bool RevokedAtHasBeenSet() const
const Aws::Utils::DateTime & GetRevokedAt() const
RevisionEntry & WithRevokedAt(RevokedAtT &&value)
AWS_DATAEXCHANGE_API RevisionEntry(Aws::Utils::Json::JsonView jsonValue)
RevisionEntry & WithRevoked(bool value)
bool UpdatedAtHasBeenSet() const
RevisionEntry & WithCreatedAt(CreatedAtT &&value)
RevisionEntry & WithSourceId(SourceIdT &&value)
RevisionEntry & WithDataSetId(DataSetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue