AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateLibraryItemResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/QApps_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QApps {
23namespace Model {
25 public:
26 AWS_QAPPS_API CreateLibraryItemResult() = default;
29
31
34 inline const Aws::String& GetLibraryItemId() const { return m_libraryItemId; }
35 template <typename LibraryItemIdT = Aws::String>
37 m_libraryItemIdHasBeenSet = true;
38 m_libraryItemId = std::forward<LibraryItemIdT>(value);
39 }
40 template <typename LibraryItemIdT = Aws::String>
42 SetLibraryItemId(std::forward<LibraryItemIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetStatus() const { return m_status; }
52 template <typename StatusT = Aws::String>
53 void SetStatus(StatusT&& value) {
54 m_statusHasBeenSet = true;
55 m_status = std::forward<StatusT>(value);
56 }
57 template <typename StatusT = Aws::String>
59 SetStatus(std::forward<StatusT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
69 template <typename CreatedAtT = Aws::Utils::DateTime>
70 void SetCreatedAt(CreatedAtT&& value) {
71 m_createdAtHasBeenSet = true;
72 m_createdAt = std::forward<CreatedAtT>(value);
73 }
74 template <typename CreatedAtT = Aws::Utils::DateTime>
76 SetCreatedAt(std::forward<CreatedAtT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
86 template <typename CreatedByT = Aws::String>
87 void SetCreatedBy(CreatedByT&& value) {
88 m_createdByHasBeenSet = true;
89 m_createdBy = std::forward<CreatedByT>(value);
90 }
91 template <typename CreatedByT = Aws::String>
93 SetCreatedBy(std::forward<CreatedByT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
103 template <typename UpdatedAtT = Aws::Utils::DateTime>
104 void SetUpdatedAt(UpdatedAtT&& value) {
105 m_updatedAtHasBeenSet = true;
106 m_updatedAt = std::forward<UpdatedAtT>(value);
107 }
108 template <typename UpdatedAtT = Aws::Utils::DateTime>
110 SetUpdatedAt(std::forward<UpdatedAtT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
120 template <typename UpdatedByT = Aws::String>
121 void SetUpdatedBy(UpdatedByT&& value) {
122 m_updatedByHasBeenSet = true;
123 m_updatedBy = std::forward<UpdatedByT>(value);
124 }
125 template <typename UpdatedByT = Aws::String>
127 SetUpdatedBy(std::forward<UpdatedByT>(value));
128 return *this;
129 }
131
133
136 inline int GetRatingCount() const { return m_ratingCount; }
137 inline void SetRatingCount(int value) {
138 m_ratingCountHasBeenSet = true;
139 m_ratingCount = value;
140 }
142 SetRatingCount(value);
143 return *this;
144 }
146
148
151 inline bool GetIsVerified() const { return m_isVerified; }
152 inline void SetIsVerified(bool value) {
153 m_isVerifiedHasBeenSet = true;
154 m_isVerified = value;
155 }
157 SetIsVerified(value);
158 return *this;
159 }
161
163
164 inline const Aws::String& GetRequestId() const { return m_requestId; }
165 template <typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) {
167 m_requestIdHasBeenSet = true;
168 m_requestId = std::forward<RequestIdT>(value);
169 }
170 template <typename RequestIdT = Aws::String>
172 SetRequestId(std::forward<RequestIdT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_libraryItemId;
178
179 Aws::String m_status;
180
181 Aws::Utils::DateTime m_createdAt{};
182
183 Aws::String m_createdBy;
184
185 Aws::Utils::DateTime m_updatedAt{};
186
187 Aws::String m_updatedBy;
188
189 int m_ratingCount{0};
190
191 bool m_isVerified{false};
192
193 Aws::String m_requestId;
194 bool m_libraryItemIdHasBeenSet = false;
195 bool m_statusHasBeenSet = false;
196 bool m_createdAtHasBeenSet = false;
197 bool m_createdByHasBeenSet = false;
198 bool m_updatedAtHasBeenSet = false;
199 bool m_updatedByHasBeenSet = false;
200 bool m_ratingCountHasBeenSet = false;
201 bool m_isVerifiedHasBeenSet = false;
202 bool m_requestIdHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace QApps
207} // 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)
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