7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.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 TagsT = Aws::Map<Aws::String, Aws::String>>
164 m_tagsHasBeenSet =
true;
165 m_tags = std::forward<TagsT>(value);
167 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 SetTags(std::forward<TagsT>(value));
172 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
174 m_tagsHasBeenSet =
true;
175 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
185 template <
typename UpdatedAtT = Aws::Utils::DateTime>
187 m_updatedAtHasBeenSet =
true;
188 m_updatedAt = std::forward<UpdatedAtT>(value);
190 template <
typename UpdatedAtT = Aws::Utils::DateTime>
203 template <
typename RevocationCommentT = Aws::String>
205 m_revocationCommentHasBeenSet =
true;
206 m_revocationComment = std::forward<RevocationCommentT>(value);
208 template <
typename RevocationCommentT = Aws::String>
221 m_revokedHasBeenSet =
true;
235 template <
typename RevokedAtT = Aws::Utils::DateTime>
237 m_revokedAtHasBeenSet =
true;
238 m_revokedAt = std::forward<RevokedAtT>(value);
240 template <
typename RevokedAtT = Aws::Utils::DateTime>
250 template <
typename RequestIdT = Aws::String>
252 m_requestIdHasBeenSet =
true;
253 m_requestId = std::forward<RequestIdT>(value);
255 template <
typename RequestIdT = Aws::String>
270 bool m_finalized{
false};
282 bool m_revoked{
false};
287 bool m_arnHasBeenSet =
false;
288 bool m_commentHasBeenSet =
false;
289 bool m_createdAtHasBeenSet =
false;
290 bool m_dataSetIdHasBeenSet =
false;
291 bool m_finalizedHasBeenSet =
false;
292 bool m_idHasBeenSet =
false;
293 bool m_sourceIdHasBeenSet =
false;
294 bool m_tagsHasBeenSet =
false;
295 bool m_updatedAtHasBeenSet =
false;
296 bool m_revocationCommentHasBeenSet =
false;
297 bool m_revokedHasBeenSet =
false;
298 bool m_revokedAtHasBeenSet =
false;
299 bool m_requestIdHasBeenSet =
false;
void SetRevocationComment(RevocationCommentT &&value)
GetRevisionResult & WithTags(TagsT &&value)
AWS_DATAEXCHANGE_API GetRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetRevokedAt() const
GetRevisionResult & WithComment(CommentT &&value)
void SetArn(ArnT &&value)
GetRevisionResult & WithArn(ArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
void SetRequestId(RequestIdT &&value)
void SetTags(TagsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetRevisionResult & WithId(IdT &&value)
GetRevisionResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAEXCHANGE_API GetRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
GetRevisionResult & WithRevocationComment(RevocationCommentT &&value)
bool GetFinalized() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDataSetId(DataSetIdT &&value)
const Aws::String & GetComment() const
GetRevisionResult & WithSourceId(SourceIdT &&value)
GetRevisionResult & WithRequestId(RequestIdT &&value)
void SetSourceId(SourceIdT &&value)
GetRevisionResult & WithUpdatedAt(UpdatedAtT &&value)
void SetComment(CommentT &&value)
AWS_DATAEXCHANGE_API GetRevisionResult()=default
const Aws::String & GetRequestId() const
GetRevisionResult & WithFinalized(bool value)
void SetFinalized(bool value)
const Aws::String & GetRevocationComment() const
void SetRevoked(bool value)
GetRevisionResult & WithRevokedAt(RevokedAtT &&value)
void SetRevokedAt(RevokedAtT &&value)
const Aws::String & GetDataSetId() const
const Aws::String & GetArn() const
const Aws::String & GetSourceId() const
GetRevisionResult & WithDataSetId(DataSetIdT &&value)
GetRevisionResult & WithRevoked(bool value)
GetRevisionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue