AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpdateRevisionResult.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataExchange
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DATAEXCHANGE_API UpdateRevisionResult() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
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>
44 UpdateRevisionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetComment() const { return m_comment; }
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>
55 UpdateRevisionResult& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
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>
66 UpdateRevisionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
74 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
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>
78 UpdateRevisionResult& WithDataSetId(DataSetIdT&& value) { SetDataSetId(std::forward<DataSetIdT>(value)); return *this;}
80
82
91 inline bool GetFinalized() const { return m_finalized; }
92 inline void SetFinalized(bool value) { m_finalizedHasBeenSet = true; m_finalized = value; }
93 inline UpdateRevisionResult& WithFinalized(bool value) { SetFinalized(value); return *this;}
95
97
100 inline const Aws::String& GetId() const { return m_id; }
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>
104 UpdateRevisionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
106
108
113 inline const Aws::String& GetSourceId() const { return m_sourceId; }
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>
117 UpdateRevisionResult& WithSourceId(SourceIdT&& value) { SetSourceId(std::forward<SourceIdT>(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
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>
128 UpdateRevisionResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
130
132
136 inline const Aws::String& GetRevocationComment() const { return m_revocationComment; }
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>
140 UpdateRevisionResult& WithRevocationComment(RevocationCommentT&& value) { SetRevocationComment(std::forward<RevocationCommentT>(value)); return *this;}
142
144
147 inline bool GetRevoked() const { return m_revoked; }
148 inline void SetRevoked(bool value) { m_revokedHasBeenSet = true; m_revoked = value; }
149 inline UpdateRevisionResult& WithRevoked(bool value) { SetRevoked(value); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetRevokedAt() const { return m_revokedAt; }
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>
160 UpdateRevisionResult& WithRevokedAt(RevokedAtT&& value) { SetRevokedAt(std::forward<RevokedAtT>(value)); return *this;}
162
164
165 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
169 UpdateRevisionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
171 private:
172
173 Aws::String m_arn;
174 bool m_arnHasBeenSet = false;
175
176 Aws::String m_comment;
177 bool m_commentHasBeenSet = false;
178
179 Aws::Utils::DateTime m_createdAt{};
180 bool m_createdAtHasBeenSet = false;
181
182 Aws::String m_dataSetId;
183 bool m_dataSetIdHasBeenSet = false;
184
185 bool m_finalized{false};
186 bool m_finalizedHasBeenSet = false;
187
188 Aws::String m_id;
189 bool m_idHasBeenSet = false;
190
191 Aws::String m_sourceId;
192 bool m_sourceIdHasBeenSet = false;
193
194 Aws::Utils::DateTime m_updatedAt{};
195 bool m_updatedAtHasBeenSet = false;
196
197 Aws::String m_revocationComment;
198 bool m_revocationCommentHasBeenSet = false;
199
200 bool m_revoked{false};
201 bool m_revokedHasBeenSet = false;
202
203 Aws::Utils::DateTime m_revokedAt{};
204 bool m_revokedAtHasBeenSet = false;
205
206 Aws::String m_requestId;
207 bool m_requestIdHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace DataExchange
212} // namespace Aws
AWS_DATAEXCHANGE_API UpdateRevisionResult()=default
UpdateRevisionResult & WithCreatedAt(CreatedAtT &&value)
UpdateRevisionResult & WithComment(CommentT &&value)
UpdateRevisionResult & WithRequestId(RequestIdT &&value)
UpdateRevisionResult & WithFinalized(bool value)
UpdateRevisionResult & WithDataSetId(DataSetIdT &&value)
UpdateRevisionResult & WithRevocationComment(RevocationCommentT &&value)
UpdateRevisionResult & WithSourceId(SourceIdT &&value)
UpdateRevisionResult & WithRevokedAt(RevokedAtT &&value)
AWS_DATAEXCHANGE_API UpdateRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetRevocationComment(RevocationCommentT &&value)
UpdateRevisionResult & WithArn(ArnT &&value)
UpdateRevisionResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateRevisionResult & WithRevoked(bool value)
const Aws::Utils::DateTime & GetRevokedAt() const
AWS_DATAEXCHANGE_API UpdateRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue