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>
51 template<
typename LibraryItemIdT = Aws::String>
53 template<
typename LibraryItemIdT = Aws::String>
63 template<
typename AppIdT = Aws::String>
64 void SetAppId(
AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
65 template<
typename AppIdT = Aws::String>
75 inline void SetAppVersion(
int value) { m_appVersionHasBeenSet =
true; m_appVersion = value; }
85 template<
typename CategoriesT = Aws::Vector<Category>>
87 template<
typename CategoriesT = Aws::Vector<Category>>
89 template<
typename CategoriesT = Category>
99 template<
typename StatusT = Aws::String>
100 void SetStatus(
StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
101 template<
typename StatusT = Aws::String>
111 template<
typename CreatedAtT = Aws::Utils::DateTime>
113 template<
typename CreatedAtT = Aws::Utils::DateTime>
123 template<
typename CreatedByT = Aws::String>
125 template<
typename CreatedByT = Aws::String>
135 template<
typename UpdatedAtT = Aws::Utils::DateTime>
137 template<
typename UpdatedAtT = Aws::Utils::DateTime>
147 template<
typename UpdatedByT = Aws::String>
149 template<
typename UpdatedByT = Aws::String>
159 inline void SetRatingCount(
int value) { m_ratingCountHasBeenSet =
true; m_ratingCount = value; }
169 inline void SetIsRatedByUser(
bool value) { m_isRatedByUserHasBeenSet =
true; m_isRatedByUser = value; }
179 inline void SetUserCount(
int value) { m_userCountHasBeenSet =
true; m_userCount = value; }
189 inline void SetIsVerified(
bool value) { m_isVerifiedHasBeenSet =
true; m_isVerified = value; }
195 bool m_libraryItemIdHasBeenSet =
false;
198 bool m_appIdHasBeenSet =
false;
201 bool m_appVersionHasBeenSet =
false;
204 bool m_categoriesHasBeenSet =
false;
207 bool m_statusHasBeenSet =
false;
210 bool m_createdAtHasBeenSet =
false;
213 bool m_createdByHasBeenSet =
false;
216 bool m_updatedAtHasBeenSet =
false;
219 bool m_updatedByHasBeenSet =
false;
221 int m_ratingCount{0};
222 bool m_ratingCountHasBeenSet =
false;
224 bool m_isRatedByUser{
false};
225 bool m_isRatedByUserHasBeenSet =
false;
228 bool m_userCountHasBeenSet =
false;
230 bool m_isVerified{
false};
231 bool m_isVerifiedHasBeenSet =
false;
LibraryItemMember & WithUpdatedBy(UpdatedByT &&value)
LibraryItemMember & WithCreatedBy(CreatedByT &&value)
AWS_QAPPS_API LibraryItemMember()=default
bool UserCountHasBeenSet() const
void SetLibraryItemId(LibraryItemIdT &&value)
AWS_QAPPS_API LibraryItemMember(Aws::Utils::Json::JsonView jsonValue)
int GetAppVersion() const
void SetCreatedBy(CreatedByT &&value)
LibraryItemMember & WithCategories(CategoriesT &&value)
LibraryItemMember & WithUserCount(int value)
void SetCreatedAt(CreatedAtT &&value)
int GetRatingCount() const
void SetAppVersion(int value)
bool CreatedAtHasBeenSet() const
LibraryItemMember & WithIsVerified(bool value)
bool GetIsRatedByUser() const
LibraryItemMember & WithAppVersion(int value)
const Aws::String & GetAppId() const
void SetRatingCount(int value)
void SetUserCount(int value)
LibraryItemMember & WithAppId(AppIdT &&value)
const Aws::String & GetCreatedBy() const
void SetStatus(StatusT &&value)
LibraryItemMember & WithUpdatedAt(UpdatedAtT &&value)
bool GetIsVerified() const
AWS_QAPPS_API LibraryItemMember & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatus() const
void SetIsVerified(bool value)
bool UpdatedAtHasBeenSet() const
LibraryItemMember & WithStatus(StatusT &&value)
bool CategoriesHasBeenSet() const
void SetCategories(CategoriesT &&value)
LibraryItemMember & WithRatingCount(int value)
bool StatusHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool AppIdHasBeenSet() const
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIsRatedByUser(bool value)
bool LibraryItemIdHasBeenSet() const
bool IsRatedByUserHasBeenSet() const
const Aws::String & GetLibraryItemId() const
bool UpdatedByHasBeenSet() const
bool IsVerifiedHasBeenSet() const
const Aws::String & GetUpdatedBy() const
LibraryItemMember & WithIsRatedByUser(bool value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Category > & GetCategories() const
bool CreatedByHasBeenSet() const
LibraryItemMember & WithCreatedAt(CreatedAtT &&value)
bool RatingCountHasBeenSet() const
LibraryItemMember & WithLibraryItemId(LibraryItemIdT &&value)
void SetUpdatedBy(UpdatedByT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
LibraryItemMember & AddCategories(CategoriesT &&value)
void SetAppId(AppIdT &&value)
bool AppVersionHasBeenSet() const
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