AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UpdateLibraryItemResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qapps/QApps_EXPORTS.h>
11#include <aws/qapps/model/Category.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QApps {
25namespace Model {
27 public:
28 AWS_QAPPS_API UpdateLibraryItemResult() = default;
31
33
36 inline const Aws::String& GetLibraryItemId() const { return m_libraryItemId; }
37 template <typename LibraryItemIdT = Aws::String>
39 m_libraryItemIdHasBeenSet = true;
40 m_libraryItemId = std::forward<LibraryItemIdT>(value);
41 }
42 template <typename LibraryItemIdT = Aws::String>
44 SetLibraryItemId(std::forward<LibraryItemIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetAppId() const { return m_appId; }
54 template <typename AppIdT = Aws::String>
55 void SetAppId(AppIdT&& value) {
56 m_appIdHasBeenSet = true;
57 m_appId = std::forward<AppIdT>(value);
58 }
59 template <typename AppIdT = Aws::String>
61 SetAppId(std::forward<AppIdT>(value));
62 return *this;
63 }
65
67
70 inline int GetAppVersion() const { return m_appVersion; }
71 inline void SetAppVersion(int value) {
72 m_appVersionHasBeenSet = true;
73 m_appVersion = value;
74 }
76 SetAppVersion(value);
77 return *this;
78 }
80
82
85 inline const Aws::Vector<Category>& GetCategories() const { return m_categories; }
86 template <typename CategoriesT = Aws::Vector<Category>>
87 void SetCategories(CategoriesT&& value) {
88 m_categoriesHasBeenSet = true;
89 m_categories = std::forward<CategoriesT>(value);
90 }
91 template <typename CategoriesT = Aws::Vector<Category>>
93 SetCategories(std::forward<CategoriesT>(value));
94 return *this;
95 }
96 template <typename CategoriesT = Category>
98 m_categoriesHasBeenSet = true;
99 m_categories.emplace_back(std::forward<CategoriesT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetStatus() const { return m_status; }
109 template <typename StatusT = Aws::String>
110 void SetStatus(StatusT&& value) {
111 m_statusHasBeenSet = true;
112 m_status = std::forward<StatusT>(value);
113 }
114 template <typename StatusT = Aws::String>
116 SetStatus(std::forward<StatusT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
126 template <typename CreatedAtT = Aws::Utils::DateTime>
127 void SetCreatedAt(CreatedAtT&& value) {
128 m_createdAtHasBeenSet = true;
129 m_createdAt = std::forward<CreatedAtT>(value);
130 }
131 template <typename CreatedAtT = Aws::Utils::DateTime>
133 SetCreatedAt(std::forward<CreatedAtT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
143 template <typename CreatedByT = Aws::String>
144 void SetCreatedBy(CreatedByT&& value) {
145 m_createdByHasBeenSet = true;
146 m_createdBy = std::forward<CreatedByT>(value);
147 }
148 template <typename CreatedByT = Aws::String>
150 SetCreatedBy(std::forward<CreatedByT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
160 template <typename UpdatedAtT = Aws::Utils::DateTime>
161 void SetUpdatedAt(UpdatedAtT&& value) {
162 m_updatedAtHasBeenSet = true;
163 m_updatedAt = std::forward<UpdatedAtT>(value);
164 }
165 template <typename UpdatedAtT = Aws::Utils::DateTime>
167 SetUpdatedAt(std::forward<UpdatedAtT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
177 template <typename UpdatedByT = Aws::String>
178 void SetUpdatedBy(UpdatedByT&& value) {
179 m_updatedByHasBeenSet = true;
180 m_updatedBy = std::forward<UpdatedByT>(value);
181 }
182 template <typename UpdatedByT = Aws::String>
184 SetUpdatedBy(std::forward<UpdatedByT>(value));
185 return *this;
186 }
188
190
193 inline int GetRatingCount() const { return m_ratingCount; }
194 inline void SetRatingCount(int value) {
195 m_ratingCountHasBeenSet = true;
196 m_ratingCount = value;
197 }
199 SetRatingCount(value);
200 return *this;
201 }
203
205
208 inline bool GetIsRatedByUser() const { return m_isRatedByUser; }
209 inline void SetIsRatedByUser(bool value) {
210 m_isRatedByUserHasBeenSet = true;
211 m_isRatedByUser = value;
212 }
214 SetIsRatedByUser(value);
215 return *this;
216 }
218
220
223 inline int GetUserCount() const { return m_userCount; }
224 inline void SetUserCount(int value) {
225 m_userCountHasBeenSet = true;
226 m_userCount = value;
227 }
229 SetUserCount(value);
230 return *this;
231 }
233
235
238 inline bool GetIsVerified() const { return m_isVerified; }
239 inline void SetIsVerified(bool value) {
240 m_isVerifiedHasBeenSet = true;
241 m_isVerified = value;
242 }
244 SetIsVerified(value);
245 return *this;
246 }
248
250
251 inline const Aws::String& GetRequestId() const { return m_requestId; }
252 template <typename RequestIdT = Aws::String>
253 void SetRequestId(RequestIdT&& value) {
254 m_requestIdHasBeenSet = true;
255 m_requestId = std::forward<RequestIdT>(value);
256 }
257 template <typename RequestIdT = Aws::String>
259 SetRequestId(std::forward<RequestIdT>(value));
260 return *this;
261 }
263 private:
264 Aws::String m_libraryItemId;
265
266 Aws::String m_appId;
267
268 int m_appVersion{0};
269
270 Aws::Vector<Category> m_categories;
271
272 Aws::String m_status;
273
274 Aws::Utils::DateTime m_createdAt{};
275
276 Aws::String m_createdBy;
277
278 Aws::Utils::DateTime m_updatedAt{};
279
280 Aws::String m_updatedBy;
281
282 int m_ratingCount{0};
283
284 bool m_isRatedByUser{false};
285
286 int m_userCount{0};
287
288 bool m_isVerified{false};
289
290 Aws::String m_requestId;
291 bool m_libraryItemIdHasBeenSet = false;
292 bool m_appIdHasBeenSet = false;
293 bool m_appVersionHasBeenSet = false;
294 bool m_categoriesHasBeenSet = false;
295 bool m_statusHasBeenSet = false;
296 bool m_createdAtHasBeenSet = false;
297 bool m_createdByHasBeenSet = false;
298 bool m_updatedAtHasBeenSet = false;
299 bool m_updatedByHasBeenSet = false;
300 bool m_ratingCountHasBeenSet = false;
301 bool m_isRatedByUserHasBeenSet = false;
302 bool m_userCountHasBeenSet = false;
303 bool m_isVerifiedHasBeenSet = false;
304 bool m_requestIdHasBeenSet = false;
305};
306
307} // namespace Model
308} // namespace QApps
309} // namespace Aws
UpdateLibraryItemResult & WithCreatedAt(CreatedAtT &&value)
UpdateLibraryItemResult & WithAppId(AppIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateLibraryItemResult & WithStatus(StatusT &&value)
UpdateLibraryItemResult & WithUpdatedBy(UpdatedByT &&value)
UpdateLibraryItemResult & AddCategories(CategoriesT &&value)
AWS_QAPPS_API UpdateLibraryItemResult()=default
UpdateLibraryItemResult & WithLibraryItemId(LibraryItemIdT &&value)
UpdateLibraryItemResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Category > & GetCategories() const
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateLibraryItemResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateLibraryItemResult & WithUserCount(int value)
AWS_QAPPS_API UpdateLibraryItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QAPPS_API UpdateLibraryItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLibraryItemResult & WithAppVersion(int value)
UpdateLibraryItemResult & WithIsVerified(bool value)
UpdateLibraryItemResult & WithIsRatedByUser(bool value)
UpdateLibraryItemResult & WithCategories(CategoriesT &&value)
UpdateLibraryItemResult & WithCreatedBy(CreatedByT &&value)
UpdateLibraryItemResult & WithRatingCount(int value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue