AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLibraryItemResult.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/qapps/model/Category.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace QApps
27{
28namespace Model
29{
31 {
32 public:
33 AWS_QAPPS_API UpdateLibraryItemResult();
36
37
39
42 inline const Aws::String& GetLibraryItemId() const{ return m_libraryItemId; }
43 inline void SetLibraryItemId(const Aws::String& value) { m_libraryItemId = value; }
44 inline void SetLibraryItemId(Aws::String&& value) { m_libraryItemId = std::move(value); }
45 inline void SetLibraryItemId(const char* value) { m_libraryItemId.assign(value); }
46 inline UpdateLibraryItemResult& WithLibraryItemId(const Aws::String& value) { SetLibraryItemId(value); return *this;}
47 inline UpdateLibraryItemResult& WithLibraryItemId(Aws::String&& value) { SetLibraryItemId(std::move(value)); return *this;}
48 inline UpdateLibraryItemResult& WithLibraryItemId(const char* value) { SetLibraryItemId(value); return *this;}
50
52
55 inline const Aws::String& GetAppId() const{ return m_appId; }
56 inline void SetAppId(const Aws::String& value) { m_appId = value; }
57 inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
58 inline void SetAppId(const char* value) { m_appId.assign(value); }
59 inline UpdateLibraryItemResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
60 inline UpdateLibraryItemResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
61 inline UpdateLibraryItemResult& WithAppId(const char* value) { SetAppId(value); return *this;}
63
65
68 inline int GetAppVersion() const{ return m_appVersion; }
69 inline void SetAppVersion(int value) { m_appVersion = value; }
70 inline UpdateLibraryItemResult& WithAppVersion(int value) { SetAppVersion(value); return *this;}
72
74
77 inline const Aws::Vector<Category>& GetCategories() const{ return m_categories; }
78 inline void SetCategories(const Aws::Vector<Category>& value) { m_categories = value; }
79 inline void SetCategories(Aws::Vector<Category>&& value) { m_categories = std::move(value); }
80 inline UpdateLibraryItemResult& WithCategories(const Aws::Vector<Category>& value) { SetCategories(value); return *this;}
81 inline UpdateLibraryItemResult& WithCategories(Aws::Vector<Category>&& value) { SetCategories(std::move(value)); return *this;}
82 inline UpdateLibraryItemResult& AddCategories(const Category& value) { m_categories.push_back(value); return *this; }
83 inline UpdateLibraryItemResult& AddCategories(Category&& value) { m_categories.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::String& GetStatus() const{ return m_status; }
91 inline void SetStatus(const Aws::String& value) { m_status = value; }
92 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
93 inline void SetStatus(const char* value) { m_status.assign(value); }
94 inline UpdateLibraryItemResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
95 inline UpdateLibraryItemResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
96 inline UpdateLibraryItemResult& WithStatus(const char* value) { SetStatus(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
104 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
105 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
106 inline UpdateLibraryItemResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 inline UpdateLibraryItemResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
115 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
116 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
117 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
118 inline UpdateLibraryItemResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
119 inline UpdateLibraryItemResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
120 inline UpdateLibraryItemResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
128 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
129 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
130 inline UpdateLibraryItemResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
131 inline UpdateLibraryItemResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
133
135
138 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
139 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
140 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
141 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
142 inline UpdateLibraryItemResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
143 inline UpdateLibraryItemResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
144 inline UpdateLibraryItemResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
146
148
151 inline int GetRatingCount() const{ return m_ratingCount; }
152 inline void SetRatingCount(int value) { m_ratingCount = value; }
153 inline UpdateLibraryItemResult& WithRatingCount(int value) { SetRatingCount(value); return *this;}
155
157
160 inline bool GetIsRatedByUser() const{ return m_isRatedByUser; }
161 inline void SetIsRatedByUser(bool value) { m_isRatedByUser = value; }
162 inline UpdateLibraryItemResult& WithIsRatedByUser(bool value) { SetIsRatedByUser(value); return *this;}
164
166
169 inline int GetUserCount() const{ return m_userCount; }
170 inline void SetUserCount(int value) { m_userCount = value; }
171 inline UpdateLibraryItemResult& WithUserCount(int value) { SetUserCount(value); return *this;}
173
175
178 inline bool GetIsVerified() const{ return m_isVerified; }
179 inline void SetIsVerified(bool value) { m_isVerified = value; }
180 inline UpdateLibraryItemResult& WithIsVerified(bool value) { SetIsVerified(value); return *this;}
182
184
185 inline const Aws::String& GetRequestId() const{ return m_requestId; }
186 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
187 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
188 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
189 inline UpdateLibraryItemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
190 inline UpdateLibraryItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
191 inline UpdateLibraryItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
193 private:
194
195 Aws::String m_libraryItemId;
196
197 Aws::String m_appId;
198
199 int m_appVersion;
200
201 Aws::Vector<Category> m_categories;
202
203 Aws::String m_status;
204
205 Aws::Utils::DateTime m_createdAt;
206
207 Aws::String m_createdBy;
208
209 Aws::Utils::DateTime m_updatedAt;
210
211 Aws::String m_updatedBy;
212
213 int m_ratingCount;
214
215 bool m_isRatedByUser;
216
217 int m_userCount;
218
219 bool m_isVerified;
220
221 Aws::String m_requestId;
222 };
223
224} // namespace Model
225} // namespace QApps
226} // namespace Aws
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateLibraryItemResult & WithRequestId(const Aws::String &value)
UpdateLibraryItemResult & WithStatus(const Aws::String &value)
UpdateLibraryItemResult & WithCategories(const Aws::Vector< Category > &value)
UpdateLibraryItemResult & WithUpdatedBy(const char *value)
UpdateLibraryItemResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCategories(const Aws::Vector< Category > &value)
UpdateLibraryItemResult & WithCategories(Aws::Vector< Category > &&value)
UpdateLibraryItemResult & WithStatus(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
UpdateLibraryItemResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
UpdateLibraryItemResult & WithStatus(Aws::String &&value)
UpdateLibraryItemResult & WithUpdatedBy(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
UpdateLibraryItemResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateLibraryItemResult & WithLibraryItemId(Aws::String &&value)
UpdateLibraryItemResult & WithRequestId(Aws::String &&value)
UpdateLibraryItemResult & WithLibraryItemId(const Aws::String &value)
UpdateLibraryItemResult & WithAppId(const Aws::String &value)
const Aws::Vector< Category > & GetCategories() const
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateLibraryItemResult & AddCategories(Category &&value)
UpdateLibraryItemResult & WithLibraryItemId(const char *value)
UpdateLibraryItemResult & WithUserCount(int value)
UpdateLibraryItemResult & WithRequestId(const char *value)
AWS_QAPPS_API UpdateLibraryItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLibraryItemResult & WithCreatedBy(Aws::String &&value)
AWS_QAPPS_API UpdateLibraryItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLibraryItemResult & WithAppVersion(int value)
UpdateLibraryItemResult & WithCreatedBy(const char *value)
UpdateLibraryItemResult & WithCreatedBy(const Aws::String &value)
UpdateLibraryItemResult & WithIsVerified(bool value)
UpdateLibraryItemResult & WithIsRatedByUser(bool value)
UpdateLibraryItemResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateLibraryItemResult & AddCategories(const Category &value)
void SetCategories(Aws::Vector< Category > &&value)
UpdateLibraryItemResult & WithAppId(Aws::String &&value)
UpdateLibraryItemResult & WithRatingCount(int value)
UpdateLibraryItemResult & WithAppId(const char *value)
UpdateLibraryItemResult & WithUpdatedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue