7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
43 template<
typename ArnT = Aws::String>
52 template<
typename CommentT = Aws::String>
53 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
54 template<
typename CommentT = Aws::String>
63 template<
typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<
typename CreatedAtT = Aws::Utils::DateTime>
75 template<
typename DataSetIdT = Aws::String>
76 void SetDataSetId(DataSetIdT&& value) { m_dataSetIdHasBeenSet =
true; m_dataSetId = std::forward<DataSetIdT>(value); }
77 template<
typename DataSetIdT = Aws::String>
92 inline void SetFinalized(
bool value) { m_finalizedHasBeenSet =
true; m_finalized = value; }
101 template<
typename IdT = Aws::String>
102 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
103 template<
typename IdT = Aws::String>
114 template<
typename SourceIdT = Aws::String>
115 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet =
true; m_sourceId = std::forward<SourceIdT>(value); }
116 template<
typename SourceIdT = Aws::String>
125 template<
typename UpdatedAtT = Aws::Utils::DateTime>
126 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
127 template<
typename UpdatedAtT = Aws::Utils::DateTime>
137 template<
typename RevocationCommentT = Aws::String>
138 void SetRevocationComment(RevocationCommentT&& value) { m_revocationCommentHasBeenSet =
true; m_revocationComment = std::forward<RevocationCommentT>(value); }
139 template<
typename RevocationCommentT = Aws::String>
148 inline void SetRevoked(
bool value) { m_revokedHasBeenSet =
true; m_revoked = value; }
157 template<
typename RevokedAtT = Aws::Utils::DateTime>
158 void SetRevokedAt(RevokedAtT&& value) { m_revokedAtHasBeenSet =
true; m_revokedAt = std::forward<RevokedAtT>(value); }
159 template<
typename RevokedAtT = Aws::Utils::DateTime>
166 template<
typename RequestIdT = Aws::String>
167 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
168 template<
typename RequestIdT = Aws::String>
174 bool m_arnHasBeenSet =
false;
177 bool m_commentHasBeenSet =
false;
180 bool m_createdAtHasBeenSet =
false;
183 bool m_dataSetIdHasBeenSet =
false;
185 bool m_finalized{
false};
186 bool m_finalizedHasBeenSet =
false;
189 bool m_idHasBeenSet =
false;
192 bool m_sourceIdHasBeenSet =
false;
195 bool m_updatedAtHasBeenSet =
false;
198 bool m_revocationCommentHasBeenSet =
false;
200 bool m_revoked{
false};
201 bool m_revokedHasBeenSet =
false;
204 bool m_revokedAtHasBeenSet =
false;
207 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
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