AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline UpdateRevisionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline UpdateRevisionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline UpdateRevisionResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetComment() const{ return m_comment; }
54 inline void SetComment(const Aws::String& value) { m_comment = value; }
55 inline void SetComment(Aws::String&& value) { m_comment = std::move(value); }
56 inline void SetComment(const char* value) { m_comment.assign(value); }
57 inline UpdateRevisionResult& WithComment(const Aws::String& value) { SetComment(value); return *this;}
58 inline UpdateRevisionResult& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
59 inline UpdateRevisionResult& WithComment(const char* value) { SetComment(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
67 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
68 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
69 inline UpdateRevisionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
70 inline UpdateRevisionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
72
74
78 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
79 inline void SetDataSetId(const Aws::String& value) { m_dataSetId = value; }
80 inline void SetDataSetId(Aws::String&& value) { m_dataSetId = std::move(value); }
81 inline void SetDataSetId(const char* value) { m_dataSetId.assign(value); }
82 inline UpdateRevisionResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
83 inline UpdateRevisionResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
84 inline UpdateRevisionResult& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
86
88
97 inline bool GetFinalized() const{ return m_finalized; }
98 inline void SetFinalized(bool value) { m_finalized = value; }
99 inline UpdateRevisionResult& WithFinalized(bool value) { SetFinalized(value); return *this;}
101
103
106 inline const Aws::String& GetId() const{ return m_id; }
107 inline void SetId(const Aws::String& value) { m_id = value; }
108 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
109 inline void SetId(const char* value) { m_id.assign(value); }
110 inline UpdateRevisionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
111 inline UpdateRevisionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
112 inline UpdateRevisionResult& WithId(const char* value) { SetId(value); return *this;}
114
116
121 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
122 inline void SetSourceId(const Aws::String& value) { m_sourceId = value; }
123 inline void SetSourceId(Aws::String&& value) { m_sourceId = std::move(value); }
124 inline void SetSourceId(const char* value) { m_sourceId.assign(value); }
125 inline UpdateRevisionResult& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
126 inline UpdateRevisionResult& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
127 inline UpdateRevisionResult& WithSourceId(const char* value) { SetSourceId(value); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
135 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
136 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
137 inline UpdateRevisionResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
138 inline UpdateRevisionResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
140
142
146 inline const Aws::String& GetRevocationComment() const{ return m_revocationComment; }
147 inline void SetRevocationComment(const Aws::String& value) { m_revocationComment = value; }
148 inline void SetRevocationComment(Aws::String&& value) { m_revocationComment = std::move(value); }
149 inline void SetRevocationComment(const char* value) { m_revocationComment.assign(value); }
150 inline UpdateRevisionResult& WithRevocationComment(const Aws::String& value) { SetRevocationComment(value); return *this;}
151 inline UpdateRevisionResult& WithRevocationComment(Aws::String&& value) { SetRevocationComment(std::move(value)); return *this;}
152 inline UpdateRevisionResult& WithRevocationComment(const char* value) { SetRevocationComment(value); return *this;}
154
156
159 inline bool GetRevoked() const{ return m_revoked; }
160 inline void SetRevoked(bool value) { m_revoked = value; }
161 inline UpdateRevisionResult& WithRevoked(bool value) { SetRevoked(value); return *this;}
163
165
168 inline const Aws::Utils::DateTime& GetRevokedAt() const{ return m_revokedAt; }
169 inline void SetRevokedAt(const Aws::Utils::DateTime& value) { m_revokedAt = value; }
170 inline void SetRevokedAt(Aws::Utils::DateTime&& value) { m_revokedAt = std::move(value); }
171 inline UpdateRevisionResult& WithRevokedAt(const Aws::Utils::DateTime& value) { SetRevokedAt(value); return *this;}
172 inline UpdateRevisionResult& WithRevokedAt(Aws::Utils::DateTime&& value) { SetRevokedAt(std::move(value)); return *this;}
174
176
177 inline const Aws::String& GetRequestId() const{ return m_requestId; }
178 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
179 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
180 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
181 inline UpdateRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
182 inline UpdateRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
183 inline UpdateRevisionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
185 private:
186
187 Aws::String m_arn;
188
189 Aws::String m_comment;
190
191 Aws::Utils::DateTime m_createdAt;
192
193 Aws::String m_dataSetId;
194
195 bool m_finalized;
196
197 Aws::String m_id;
198
199 Aws::String m_sourceId;
200
201 Aws::Utils::DateTime m_updatedAt;
202
203 Aws::String m_revocationComment;
204
205 bool m_revoked;
206
207 Aws::Utils::DateTime m_revokedAt;
208
209 Aws::String m_requestId;
210 };
211
212} // namespace Model
213} // namespace DataExchange
214} // namespace Aws
UpdateRevisionResult & WithRevokedAt(const Aws::Utils::DateTime &value)
UpdateRevisionResult & WithSourceId(const Aws::String &value)
UpdateRevisionResult & WithArn(const Aws::String &value)
UpdateRevisionResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
UpdateRevisionResult & WithDataSetId(const Aws::String &value)
UpdateRevisionResult & WithId(const Aws::String &value)
UpdateRevisionResult & WithId(const char *value)
UpdateRevisionResult & WithFinalized(bool value)
UpdateRevisionResult & WithRevocationComment(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
UpdateRevisionResult & WithDataSetId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
UpdateRevisionResult & WithComment(Aws::String &&value)
UpdateRevisionResult & WithArn(Aws::String &&value)
UpdateRevisionResult & WithId(Aws::String &&value)
UpdateRevisionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateRevisionResult & WithDataSetId(const char *value)
UpdateRevisionResult & WithRequestId(const char *value)
UpdateRevisionResult & WithRevokedAt(Aws::Utils::DateTime &&value)
UpdateRevisionResult & WithSourceId(Aws::String &&value)
UpdateRevisionResult & WithSourceId(const char *value)
UpdateRevisionResult & WithRevocationComment(const Aws::String &value)
AWS_DATAEXCHANGE_API UpdateRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
UpdateRevisionResult & WithComment(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateRevisionResult & WithRevocationComment(Aws::String &&value)
UpdateRevisionResult & WithArn(const char *value)
UpdateRevisionResult & WithRequestId(const Aws::String &value)
UpdateRevisionResult & WithComment(const char *value)
UpdateRevisionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetRevokedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateRevisionResult & WithRevoked(bool value)
UpdateRevisionResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetRevokedAt() const
UpdateRevisionResult & WithRequestId(Aws::String &&value)
AWS_DATAEXCHANGE_API UpdateRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRevokedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue