AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateLibraryItemResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qapps/QApps_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QApps {
24namespace Model {
26 public:
27 AWS_QAPPS_API CreateLibraryItemResult() = default;
30
32
35 inline const Aws::String& GetLibraryItemId() const { return m_libraryItemId; }
36 template <typename LibraryItemIdT = Aws::String>
38 m_libraryItemIdHasBeenSet = true;
39 m_libraryItemId = std::forward<LibraryItemIdT>(value);
40 }
41 template <typename LibraryItemIdT = Aws::String>
43 SetLibraryItemId(std::forward<LibraryItemIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetStatus() const { return m_status; }
53 template <typename StatusT = Aws::String>
54 void SetStatus(StatusT&& value) {
55 m_statusHasBeenSet = true;
56 m_status = std::forward<StatusT>(value);
57 }
58 template <typename StatusT = Aws::String>
60 SetStatus(std::forward<StatusT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
70 template <typename CreatedAtT = Aws::Utils::DateTime>
71 void SetCreatedAt(CreatedAtT&& value) {
72 m_createdAtHasBeenSet = true;
73 m_createdAt = std::forward<CreatedAtT>(value);
74 }
75 template <typename CreatedAtT = Aws::Utils::DateTime>
77 SetCreatedAt(std::forward<CreatedAtT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
87 template <typename CreatedByT = Aws::String>
88 void SetCreatedBy(CreatedByT&& value) {
89 m_createdByHasBeenSet = true;
90 m_createdBy = std::forward<CreatedByT>(value);
91 }
92 template <typename CreatedByT = Aws::String>
94 SetCreatedBy(std::forward<CreatedByT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
104 template <typename UpdatedAtT = Aws::Utils::DateTime>
105 void SetUpdatedAt(UpdatedAtT&& value) {
106 m_updatedAtHasBeenSet = true;
107 m_updatedAt = std::forward<UpdatedAtT>(value);
108 }
109 template <typename UpdatedAtT = Aws::Utils::DateTime>
111 SetUpdatedAt(std::forward<UpdatedAtT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
121 template <typename UpdatedByT = Aws::String>
122 void SetUpdatedBy(UpdatedByT&& value) {
123 m_updatedByHasBeenSet = true;
124 m_updatedBy = std::forward<UpdatedByT>(value);
125 }
126 template <typename UpdatedByT = Aws::String>
128 SetUpdatedBy(std::forward<UpdatedByT>(value));
129 return *this;
130 }
132
134
137 inline int GetRatingCount() const { return m_ratingCount; }
138 inline void SetRatingCount(int value) {
139 m_ratingCountHasBeenSet = true;
140 m_ratingCount = value;
141 }
143 SetRatingCount(value);
144 return *this;
145 }
147
149
152 inline bool GetIsVerified() const { return m_isVerified; }
153 inline void SetIsVerified(bool value) {
154 m_isVerifiedHasBeenSet = true;
155 m_isVerified = value;
156 }
158 SetIsVerified(value);
159 return *this;
160 }
162
164
165 inline const Aws::String& GetRequestId() const { return m_requestId; }
166 template <typename RequestIdT = Aws::String>
167 void SetRequestId(RequestIdT&& value) {
168 m_requestIdHasBeenSet = true;
169 m_requestId = std::forward<RequestIdT>(value);
170 }
171 template <typename RequestIdT = Aws::String>
173 SetRequestId(std::forward<RequestIdT>(value));
174 return *this;
175 }
177 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
178
179 private:
180 Aws::String m_libraryItemId;
181
182 Aws::String m_status;
183
184 Aws::Utils::DateTime m_createdAt{};
185
186 Aws::String m_createdBy;
187
188 Aws::Utils::DateTime m_updatedAt{};
189
190 Aws::String m_updatedBy;
191
192 int m_ratingCount{0};
193
194 bool m_isVerified{false};
195
196 Aws::String m_requestId;
197 Aws::Http::HttpResponseCode m_HttpResponseCode;
198 bool m_libraryItemIdHasBeenSet = false;
199 bool m_statusHasBeenSet = false;
200 bool m_createdAtHasBeenSet = false;
201 bool m_createdByHasBeenSet = false;
202 bool m_updatedAtHasBeenSet = false;
203 bool m_updatedByHasBeenSet = false;
204 bool m_ratingCountHasBeenSet = false;
205 bool m_isVerifiedHasBeenSet = false;
206 bool m_requestIdHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace QApps
211} // namespace Aws
AWS_QAPPS_API CreateLibraryItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateLibraryItemResult & WithStatus(StatusT &&value)
AWS_QAPPS_API CreateLibraryItemResult()=default
CreateLibraryItemResult & WithCreatedAt(CreatedAtT &&value)
CreateLibraryItemResult & WithLibraryItemId(LibraryItemIdT &&value)
CreateLibraryItemResult & WithUpdatedBy(UpdatedByT &&value)
AWS_QAPPS_API CreateLibraryItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateLibraryItemResult & WithIsVerified(bool value)
CreateLibraryItemResult & WithRatingCount(int value)
CreateLibraryItemResult & WithUpdatedAt(UpdatedAtT &&value)
CreateLibraryItemResult & WithCreatedBy(CreatedByT &&value)
CreateLibraryItemResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue