AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRevisionResult.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataExchange
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DATAEXCHANGE_API GetRevisionResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline GetRevisionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline GetRevisionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline GetRevisionResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetComment() const{ return m_comment; }
55 inline void SetComment(const Aws::String& value) { m_comment = value; }
56 inline void SetComment(Aws::String&& value) { m_comment = std::move(value); }
57 inline void SetComment(const char* value) { m_comment.assign(value); }
58 inline GetRevisionResult& WithComment(const Aws::String& value) { SetComment(value); return *this;}
59 inline GetRevisionResult& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
60 inline GetRevisionResult& WithComment(const char* value) { SetComment(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
68 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
69 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
70 inline GetRevisionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
71 inline GetRevisionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
73
75
79 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
80 inline void SetDataSetId(const Aws::String& value) { m_dataSetId = value; }
81 inline void SetDataSetId(Aws::String&& value) { m_dataSetId = std::move(value); }
82 inline void SetDataSetId(const char* value) { m_dataSetId.assign(value); }
83 inline GetRevisionResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
84 inline GetRevisionResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
85 inline GetRevisionResult& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
87
89
98 inline bool GetFinalized() const{ return m_finalized; }
99 inline void SetFinalized(bool value) { m_finalized = value; }
100 inline GetRevisionResult& WithFinalized(bool value) { SetFinalized(value); return *this;}
102
104
107 inline const Aws::String& GetId() const{ return m_id; }
108 inline void SetId(const Aws::String& value) { m_id = value; }
109 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
110 inline void SetId(const char* value) { m_id.assign(value); }
111 inline GetRevisionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
112 inline GetRevisionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
113 inline GetRevisionResult& WithId(const char* value) { SetId(value); return *this;}
115
117
122 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
123 inline void SetSourceId(const Aws::String& value) { m_sourceId = value; }
124 inline void SetSourceId(Aws::String&& value) { m_sourceId = std::move(value); }
125 inline void SetSourceId(const char* value) { m_sourceId.assign(value); }
126 inline GetRevisionResult& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
127 inline GetRevisionResult& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
128 inline GetRevisionResult& WithSourceId(const char* value) { SetSourceId(value); return *this;}
130
132
135 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
136 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
137 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
138 inline GetRevisionResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
139 inline GetRevisionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
140 inline GetRevisionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
141 inline GetRevisionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
142 inline GetRevisionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
143 inline GetRevisionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
144 inline GetRevisionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
145 inline GetRevisionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
146 inline GetRevisionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
148
150
153 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
154 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
155 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
156 inline GetRevisionResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
157 inline GetRevisionResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
159
161
165 inline const Aws::String& GetRevocationComment() const{ return m_revocationComment; }
166 inline void SetRevocationComment(const Aws::String& value) { m_revocationComment = value; }
167 inline void SetRevocationComment(Aws::String&& value) { m_revocationComment = std::move(value); }
168 inline void SetRevocationComment(const char* value) { m_revocationComment.assign(value); }
169 inline GetRevisionResult& WithRevocationComment(const Aws::String& value) { SetRevocationComment(value); return *this;}
170 inline GetRevisionResult& WithRevocationComment(Aws::String&& value) { SetRevocationComment(std::move(value)); return *this;}
171 inline GetRevisionResult& WithRevocationComment(const char* value) { SetRevocationComment(value); return *this;}
173
175
178 inline bool GetRevoked() const{ return m_revoked; }
179 inline void SetRevoked(bool value) { m_revoked = value; }
180 inline GetRevisionResult& WithRevoked(bool value) { SetRevoked(value); return *this;}
182
184
187 inline const Aws::Utils::DateTime& GetRevokedAt() const{ return m_revokedAt; }
188 inline void SetRevokedAt(const Aws::Utils::DateTime& value) { m_revokedAt = value; }
189 inline void SetRevokedAt(Aws::Utils::DateTime&& value) { m_revokedAt = std::move(value); }
190 inline GetRevisionResult& WithRevokedAt(const Aws::Utils::DateTime& value) { SetRevokedAt(value); return *this;}
191 inline GetRevisionResult& WithRevokedAt(Aws::Utils::DateTime&& value) { SetRevokedAt(std::move(value)); return *this;}
193
195
196 inline const Aws::String& GetRequestId() const{ return m_requestId; }
197 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
198 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
199 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
200 inline GetRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
201 inline GetRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
202 inline GetRevisionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
204 private:
205
206 Aws::String m_arn;
207
208 Aws::String m_comment;
209
210 Aws::Utils::DateTime m_createdAt;
211
212 Aws::String m_dataSetId;
213
214 bool m_finalized;
215
216 Aws::String m_id;
217
218 Aws::String m_sourceId;
219
221
222 Aws::Utils::DateTime m_updatedAt;
223
224 Aws::String m_revocationComment;
225
226 bool m_revoked;
227
228 Aws::Utils::DateTime m_revokedAt;
229
230 Aws::String m_requestId;
231 };
232
233} // namespace Model
234} // namespace DataExchange
235} // namespace Aws
AWS_DATAEXCHANGE_API GetRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetComment(const Aws::String &value)
const Aws::Utils::DateTime & GetRevokedAt() const
GetRevisionResult & AddTags(const Aws::String &key, const Aws::String &value)
GetRevisionResult & WithRequestId(Aws::String &&value)
GetRevisionResult & WithRevokedAt(Aws::Utils::DateTime &&value)
GetRevisionResult & WithId(const Aws::String &value)
GetRevisionResult & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRevokedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetRevisionResult & WithSourceId(const char *value)
GetRevisionResult & WithId(Aws::String &&value)
GetRevisionResult & WithRequestId(const char *value)
GetRevisionResult & AddTags(Aws::String &&key, Aws::String &&value)
GetRevisionResult & WithRevocationComment(const Aws::String &value)
GetRevisionResult & AddTags(Aws::String &&key, const Aws::String &value)
GetRevisionResult & AddTags(const char *key, Aws::String &&value)
GetRevisionResult & WithSourceId(const Aws::String &value)
GetRevisionResult & WithSourceId(Aws::String &&value)
GetRevisionResult & WithRevocationComment(const char *value)
GetRevisionResult & WithRevokedAt(const Aws::Utils::DateTime &value)
GetRevisionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetRevisionResult & WithDataSetId(const Aws::String &value)
GetRevisionResult & WithDataSetId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_DATAEXCHANGE_API GetRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRevisionResult & WithDataSetId(const char *value)
GetRevisionResult & AddTags(Aws::String &&key, const char *value)
GetRevisionResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetRevisionResult & WithComment(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDataSetId(const Aws::String &value)
GetRevisionResult & WithComment(Aws::String &&value)
GetRevisionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetRevisionResult & WithRevocationComment(Aws::String &&value)
void SetSourceId(const Aws::String &value)
GetRevisionResult & WithFinalized(bool value)
GetRevisionResult & WithId(const char *value)
void SetRevocationComment(const Aws::String &value)
void SetRevokedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
GetRevisionResult & WithComment(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetRevisionResult & WithArn(const Aws::String &value)
GetRevisionResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetRevisionResult & WithArn(const char *value)
const Aws::String & GetRevocationComment() const
GetRevisionResult & AddTags(const Aws::String &key, Aws::String &&value)
GetRevisionResult & WithArn(Aws::String &&value)
GetRevisionResult & WithRevoked(bool value)
GetRevisionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetRevisionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetRevisionResult & WithRequestId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &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