AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevisionEntry.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataExchange
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAEXCHANGE_API RevisionEntry();
37 AWS_DATAEXCHANGE_API RevisionEntry(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAEXCHANGE_API RevisionEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline RevisionEntry& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline RevisionEntry& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline RevisionEntry& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetComment() const{ return m_comment; }
61 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
62 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
63 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
64 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
65 inline RevisionEntry& WithComment(const Aws::String& value) { SetComment(value); return *this;}
66 inline RevisionEntry& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
67 inline RevisionEntry& WithComment(const char* value) { SetComment(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
75 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
76 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
77 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
78 inline RevisionEntry& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
79 inline RevisionEntry& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
81
83
87 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
88 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
89 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
90 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
91 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
92 inline RevisionEntry& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
93 inline RevisionEntry& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
94 inline RevisionEntry& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
96
98
107 inline bool GetFinalized() const{ return m_finalized; }
108 inline bool FinalizedHasBeenSet() const { return m_finalizedHasBeenSet; }
109 inline void SetFinalized(bool value) { m_finalizedHasBeenSet = true; m_finalized = value; }
110 inline RevisionEntry& WithFinalized(bool value) { SetFinalized(value); return *this;}
112
114
117 inline const Aws::String& GetId() const{ return m_id; }
118 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
119 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
120 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
121 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
122 inline RevisionEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
123 inline RevisionEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
124 inline RevisionEntry& WithId(const char* value) { SetId(value); return *this;}
126
128
133 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
134 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
135 inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
136 inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
137 inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
138 inline RevisionEntry& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
139 inline RevisionEntry& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
140 inline RevisionEntry& WithSourceId(const char* value) { SetSourceId(value); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
148 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
149 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
150 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
151 inline RevisionEntry& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
152 inline RevisionEntry& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
154
156
160 inline const Aws::String& GetRevocationComment() const{ return m_revocationComment; }
161 inline bool RevocationCommentHasBeenSet() const { return m_revocationCommentHasBeenSet; }
162 inline void SetRevocationComment(const Aws::String& value) { m_revocationCommentHasBeenSet = true; m_revocationComment = value; }
163 inline void SetRevocationComment(Aws::String&& value) { m_revocationCommentHasBeenSet = true; m_revocationComment = std::move(value); }
164 inline void SetRevocationComment(const char* value) { m_revocationCommentHasBeenSet = true; m_revocationComment.assign(value); }
165 inline RevisionEntry& WithRevocationComment(const Aws::String& value) { SetRevocationComment(value); return *this;}
166 inline RevisionEntry& WithRevocationComment(Aws::String&& value) { SetRevocationComment(std::move(value)); return *this;}
167 inline RevisionEntry& WithRevocationComment(const char* value) { SetRevocationComment(value); return *this;}
169
171
174 inline bool GetRevoked() const{ return m_revoked; }
175 inline bool RevokedHasBeenSet() const { return m_revokedHasBeenSet; }
176 inline void SetRevoked(bool value) { m_revokedHasBeenSet = true; m_revoked = value; }
177 inline RevisionEntry& WithRevoked(bool value) { SetRevoked(value); return *this;}
179
181
184 inline const Aws::Utils::DateTime& GetRevokedAt() const{ return m_revokedAt; }
185 inline bool RevokedAtHasBeenSet() const { return m_revokedAtHasBeenSet; }
186 inline void SetRevokedAt(const Aws::Utils::DateTime& value) { m_revokedAtHasBeenSet = true; m_revokedAt = value; }
187 inline void SetRevokedAt(Aws::Utils::DateTime&& value) { m_revokedAtHasBeenSet = true; m_revokedAt = std::move(value); }
188 inline RevisionEntry& WithRevokedAt(const Aws::Utils::DateTime& value) { SetRevokedAt(value); return *this;}
189 inline RevisionEntry& WithRevokedAt(Aws::Utils::DateTime&& value) { SetRevokedAt(std::move(value)); return *this;}
191 private:
192
193 Aws::String m_arn;
194 bool m_arnHasBeenSet = false;
195
196 Aws::String m_comment;
197 bool m_commentHasBeenSet = false;
198
199 Aws::Utils::DateTime m_createdAt;
200 bool m_createdAtHasBeenSet = false;
201
202 Aws::String m_dataSetId;
203 bool m_dataSetIdHasBeenSet = false;
204
205 bool m_finalized;
206 bool m_finalizedHasBeenSet = false;
207
208 Aws::String m_id;
209 bool m_idHasBeenSet = false;
210
211 Aws::String m_sourceId;
212 bool m_sourceIdHasBeenSet = false;
213
214 Aws::Utils::DateTime m_updatedAt;
215 bool m_updatedAtHasBeenSet = false;
216
217 Aws::String m_revocationComment;
218 bool m_revocationCommentHasBeenSet = false;
219
220 bool m_revoked;
221 bool m_revokedHasBeenSet = false;
222
223 Aws::Utils::DateTime m_revokedAt;
224 bool m_revokedAtHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace DataExchange
229} // namespace Aws
void SetId(Aws::String &&value)
const Aws::String & GetId() const
void SetId(const char *value)
RevisionEntry & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
RevisionEntry & WithId(const char *value)
RevisionEntry & WithUpdatedAt(const Aws::Utils::DateTime &value)
RevisionEntry & WithDataSetId(const Aws::String &value)
void SetSourceId(const Aws::String &value)
RevisionEntry & WithDataSetId(Aws::String &&value)
RevisionEntry & WithComment(Aws::String &&value)
bool RevocationCommentHasBeenSet() const
void SetDataSetId(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
bool GetFinalized() const
RevisionEntry & WithUpdatedAt(Aws::Utils::DateTime &&value)
RevisionEntry & WithComment(const Aws::String &value)
const Aws::String & GetSourceId() const
void SetId(const Aws::String &value)
void SetComment(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
RevisionEntry & WithSourceId(const Aws::String &value)
AWS_DATAEXCHANGE_API RevisionEntry()
RevisionEntry & WithRevokedAt(Aws::Utils::DateTime &&value)
RevisionEntry & WithComment(const char *value)
RevisionEntry & WithFinalized(bool value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ArnHasBeenSet() const
bool CommentHasBeenSet() const
void SetComment(const Aws::String &value)
const Aws::String & GetComment() const
void SetRevokedAt(const Aws::Utils::DateTime &value)
void SetRevokedAt(Aws::Utils::DateTime &&value)
void SetSourceId(Aws::String &&value)
RevisionEntry & WithRevocationComment(const char *value)
RevisionEntry & WithDataSetId(const char *value)
RevisionEntry & WithSourceId(Aws::String &&value)
bool FinalizedHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetDataSetId() const
RevisionEntry & WithArn(const char *value)
RevisionEntry & WithArn(const Aws::String &value)
const Aws::String & GetRevocationComment() const
RevisionEntry & WithRevokedAt(const Aws::Utils::DateTime &value)
bool DataSetIdHasBeenSet() const
RevisionEntry & WithArn(Aws::String &&value)
bool CreatedAtHasBeenSet() const
AWS_DATAEXCHANGE_API RevisionEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFinalized(bool value)
void SetDataSetId(const char *value)
bool RevokedHasBeenSet() const
void SetArn(const char *value)
bool GetRevoked() const
RevisionEntry & WithSourceId(const char *value)
void SetComment(Aws::String &&value)
RevisionEntry & WithId(const Aws::String &value)
void SetDataSetId(Aws::String &&value)
bool IdHasBeenSet() const
bool SourceIdHasBeenSet() const
void SetRevoked(bool value)
bool RevokedAtHasBeenSet() const
const Aws::Utils::DateTime & GetRevokedAt() const
RevisionEntry & WithId(Aws::String &&value)
AWS_DATAEXCHANGE_API RevisionEntry(Aws::Utils::Json::JsonView jsonValue)
void SetSourceId(const char *value)
RevisionEntry & WithRevoked(bool value)
void SetRevocationComment(const char *value)
bool UpdatedAtHasBeenSet() const
void SetArn(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetRevocationComment(Aws::String &&value)
RevisionEntry & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetRevocationComment(const Aws::String &value)
RevisionEntry & WithRevocationComment(const Aws::String &value)
RevisionEntry & WithRevocationComment(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue