7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dataexchange/DataExchange_EXPORTS.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace DataExchange {
37 template <
typename ArnT = Aws::String>
39 m_arnHasBeenSet =
true;
40 m_arn = std::forward<ArnT>(value);
42 template <
typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
54 template <
typename CommentT = Aws::String>
56 m_commentHasBeenSet =
true;
57 m_comment = std::forward<CommentT>(value);
59 template <
typename CommentT = Aws::String>
71 template <
typename CreatedAtT = Aws::Utils::DateTime>
73 m_createdAtHasBeenSet =
true;
74 m_createdAt = std::forward<CreatedAtT>(value);
76 template <
typename CreatedAtT = Aws::Utils::DateTime>
89 template <
typename DataSetIdT = Aws::String>
91 m_dataSetIdHasBeenSet =
true;
92 m_dataSetId = std::forward<DataSetIdT>(value);
94 template <
typename DataSetIdT = Aws::String>
113 m_finalizedHasBeenSet =
true;
127 template <
typename IdT = Aws::String>
129 m_idHasBeenSet =
true;
130 m_id = std::forward<IdT>(value);
132 template <
typename IdT = Aws::String>
134 SetId(std::forward<IdT>(value));
146 template <
typename SourceIdT = Aws::String>
148 m_sourceIdHasBeenSet =
true;
149 m_sourceId = std::forward<SourceIdT>(value);
151 template <
typename SourceIdT = Aws::String>
163 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 m_tagsHasBeenSet =
true;
166 m_tags = std::forward<TagsT>(value);
168 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 SetTags(std::forward<TagsT>(value));
173 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
175 m_tagsHasBeenSet =
true;
176 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
186 template <
typename UpdatedAtT = Aws::Utils::DateTime>
188 m_updatedAtHasBeenSet =
true;
189 m_updatedAt = std::forward<UpdatedAtT>(value);
191 template <
typename UpdatedAtT = Aws::Utils::DateTime>
204 template <
typename RevocationCommentT = Aws::String>
206 m_revocationCommentHasBeenSet =
true;
207 m_revocationComment = std::forward<RevocationCommentT>(value);
209 template <
typename RevocationCommentT = Aws::String>
222 m_revokedHasBeenSet =
true;
236 template <
typename RevokedAtT = Aws::Utils::DateTime>
238 m_revokedAtHasBeenSet =
true;
239 m_revokedAt = std::forward<RevokedAtT>(value);
241 template <
typename RevokedAtT = Aws::Utils::DateTime>
251 template <
typename RequestIdT = Aws::String>
253 m_requestIdHasBeenSet =
true;
254 m_requestId = std::forward<RequestIdT>(value);
256 template <
typename RequestIdT = Aws::String>
273 bool m_finalized{
false};
285 bool m_revoked{
false};
291 bool m_arnHasBeenSet =
false;
292 bool m_commentHasBeenSet =
false;
293 bool m_createdAtHasBeenSet =
false;
294 bool m_dataSetIdHasBeenSet =
false;
295 bool m_finalizedHasBeenSet =
false;
296 bool m_idHasBeenSet =
false;
297 bool m_sourceIdHasBeenSet =
false;
298 bool m_tagsHasBeenSet =
false;
299 bool m_updatedAtHasBeenSet =
false;
300 bool m_revocationCommentHasBeenSet =
false;
301 bool m_revokedHasBeenSet =
false;
302 bool m_revokedAtHasBeenSet =
false;
303 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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