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>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename LibraryItemIdT = Aws::String>
45 template<
typename LibraryItemIdT = Aws::String>
54 template<
typename AppIdT = Aws::String>
55 void SetAppId(
AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
56 template<
typename AppIdT = Aws::String>
65 inline void SetAppVersion(
int value) { m_appVersionHasBeenSet =
true; m_appVersion = value; }
74 template<
typename CategoriesT = Aws::Vector<Category>>
76 template<
typename CategoriesT = Aws::Vector<Category>>
78 template<
typename CategoriesT = Category>
87 template<
typename StatusT = Aws::String>
88 void SetStatus(
StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
89 template<
typename StatusT = Aws::String>
98 template<
typename CreatedAtT = Aws::Utils::DateTime>
99 void SetCreatedAt(
CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
100 template<
typename CreatedAtT = Aws::Utils::DateTime>
109 template<
typename CreatedByT = Aws::String>
111 template<
typename CreatedByT = Aws::String>
120 template<
typename UpdatedAtT = Aws::Utils::DateTime>
122 template<
typename UpdatedAtT = Aws::Utils::DateTime>
131 template<
typename UpdatedByT = Aws::String>
133 template<
typename UpdatedByT = Aws::String>
142 inline void SetRatingCount(
int value) { m_ratingCountHasBeenSet =
true; m_ratingCount = value; }
151 inline void SetIsRatedByUser(
bool value) { m_isRatedByUserHasBeenSet =
true; m_isRatedByUser = value; }
160 inline void SetUserCount(
int value) { m_userCountHasBeenSet =
true; m_userCount = value; }
169 inline void SetIsVerified(
bool value) { m_isVerifiedHasBeenSet =
true; m_isVerified = value; }
176 template<
typename RequestIdT = Aws::String>
178 template<
typename RequestIdT = Aws::String>
184 bool m_libraryItemIdHasBeenSet =
false;
187 bool m_appIdHasBeenSet =
false;
190 bool m_appVersionHasBeenSet =
false;
193 bool m_categoriesHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
199 bool m_createdAtHasBeenSet =
false;
202 bool m_createdByHasBeenSet =
false;
205 bool m_updatedAtHasBeenSet =
false;
208 bool m_updatedByHasBeenSet =
false;
210 int m_ratingCount{0};
211 bool m_ratingCountHasBeenSet =
false;
213 bool m_isRatedByUser{
false};
214 bool m_isRatedByUserHasBeenSet =
false;
217 bool m_userCountHasBeenSet =
false;
219 bool m_isVerified{
false};
220 bool m_isVerifiedHasBeenSet =
false;
223 bool m_requestIdHasBeenSet =
false;
GetLibraryItemResult & WithUpdatedBy(UpdatedByT &&value)
void SetIsRatedByUser(bool value)
void SetCreatedAt(CreatedAtT &&value)
int GetRatingCount() const
GetLibraryItemResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedBy(CreatedByT &&value)
const Aws::Vector< Category > & GetCategories() const
AWS_QAPPS_API GetLibraryItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAppId(AppIdT &&value)
void SetStatus(StatusT &&value)
bool GetIsVerified() const
void SetUserCount(int value)
GetLibraryItemResult & WithUpdatedAt(UpdatedAtT &&value)
GetLibraryItemResult & WithRatingCount(int value)
GetLibraryItemResult & WithRequestId(RequestIdT &&value)
int GetAppVersion() const
void SetRatingCount(int value)
void SetLibraryItemId(LibraryItemIdT &&value)
void SetUpdatedBy(UpdatedByT &&value)
GetLibraryItemResult & WithAppId(AppIdT &&value)
const Aws::String & GetLibraryItemId() const
void SetIsVerified(bool value)
AWS_QAPPS_API GetLibraryItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLibraryItemResult & WithIsRatedByUser(bool value)
const Aws::String & GetAppId() const
void SetAppVersion(int value)
const Aws::String & GetStatus() const
GetLibraryItemResult & WithStatus(StatusT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCategories(CategoriesT &&value)
const Aws::String & GetRequestId() const
GetLibraryItemResult & AddCategories(CategoriesT &&value)
GetLibraryItemResult & WithCreatedBy(CreatedByT &&value)
bool GetIsRatedByUser() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCreatedBy() const
GetLibraryItemResult & WithIsVerified(bool value)
GetLibraryItemResult & WithUserCount(int value)
AWS_QAPPS_API GetLibraryItemResult()=default
GetLibraryItemResult & WithAppVersion(int value)
GetLibraryItemResult & WithLibraryItemId(LibraryItemIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetUpdatedBy() const
GetLibraryItemResult & WithCategories(CategoriesT &&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