AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevokeRevisionResult.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 RevokeRevisionResult();
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 RevokeRevisionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline RevokeRevisionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline RevokeRevisionResult& 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 RevokeRevisionResult& WithComment(const Aws::String& value) { SetComment(value); return *this;}
58 inline RevokeRevisionResult& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
59 inline RevokeRevisionResult& 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 RevokeRevisionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
70 inline RevokeRevisionResult& 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 RevokeRevisionResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
83 inline RevokeRevisionResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
84 inline RevokeRevisionResult& 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 RevokeRevisionResult& 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 RevokeRevisionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
111 inline RevokeRevisionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
112 inline RevokeRevisionResult& 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 RevokeRevisionResult& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
126 inline RevokeRevisionResult& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
127 inline RevokeRevisionResult& 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 RevokeRevisionResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
138 inline RevokeRevisionResult& 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 RevokeRevisionResult& WithRevocationComment(const Aws::String& value) { SetRevocationComment(value); return *this;}
151 inline RevokeRevisionResult& WithRevocationComment(Aws::String&& value) { SetRevocationComment(std::move(value)); return *this;}
152 inline RevokeRevisionResult& 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 RevokeRevisionResult& 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 RevokeRevisionResult& WithRevokedAt(const Aws::Utils::DateTime& value) { SetRevokedAt(value); return *this;}
172 inline RevokeRevisionResult& 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 RevokeRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
182 inline RevokeRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
183 inline RevokeRevisionResult& 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
RevokeRevisionResult & WithDataSetId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
RevokeRevisionResult & WithComment(const Aws::String &value)
RevokeRevisionResult & WithRevocationComment(const char *value)
RevokeRevisionResult & WithRevocationComment(Aws::String &&value)
RevokeRevisionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
RevokeRevisionResult & WithId(const Aws::String &value)
RevokeRevisionResult & WithRequestId(const Aws::String &value)
RevokeRevisionResult & WithComment(const char *value)
RevokeRevisionResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
RevokeRevisionResult & WithArn(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
RevokeRevisionResult & WithDataSetId(const char *value)
AWS_DATAEXCHANGE_API RevokeRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RevokeRevisionResult & WithSourceId(const Aws::String &value)
void SetRevokedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetRevokedAt() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
RevokeRevisionResult & WithRevoked(bool value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
RevokeRevisionResult & WithId(Aws::String &&value)
AWS_DATAEXCHANGE_API RevokeRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RevokeRevisionResult & WithDataSetId(Aws::String &&value)
RevokeRevisionResult & WithRequestId(Aws::String &&value)
RevokeRevisionResult & WithId(const char *value)
RevokeRevisionResult & WithRevokedAt(Aws::Utils::DateTime &&value)
RevokeRevisionResult & WithArn(const char *value)
void SetRevokedAt(const Aws::Utils::DateTime &value)
RevokeRevisionResult & WithSourceId(Aws::String &&value)
RevokeRevisionResult & WithArn(const Aws::String &value)
RevokeRevisionResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
RevokeRevisionResult & WithRevocationComment(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
RevokeRevisionResult & WithSourceId(const char *value)
RevokeRevisionResult & WithRevokedAt(const Aws::Utils::DateTime &value)
RevokeRevisionResult & WithFinalized(bool value)
RevokeRevisionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
RevokeRevisionResult & WithComment(Aws::String &&value)
RevokeRevisionResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue