AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateLibraryItemResult.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QApps
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QAPPS_API CreateLibraryItemResult() = default;
34
35
37
40 inline const Aws::String& GetLibraryItemId() const { return m_libraryItemId; }
41 template<typename LibraryItemIdT = Aws::String>
42 void SetLibraryItemId(LibraryItemIdT&& value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId = std::forward<LibraryItemIdT>(value); }
43 template<typename LibraryItemIdT = Aws::String>
44 CreateLibraryItemResult& WithLibraryItemId(LibraryItemIdT&& value) { SetLibraryItemId(std::forward<LibraryItemIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetStatus() const { return m_status; }
52 template<typename StatusT = Aws::String>
53 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
54 template<typename StatusT = Aws::String>
55 CreateLibraryItemResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 CreateLibraryItemResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
73 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
74 template<typename CreatedByT = Aws::String>
75 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
76 template<typename CreatedByT = Aws::String>
77 CreateLibraryItemResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
85 template<typename UpdatedAtT = Aws::Utils::DateTime>
86 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
87 template<typename UpdatedAtT = Aws::Utils::DateTime>
88 CreateLibraryItemResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
90
92
95 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
96 template<typename UpdatedByT = Aws::String>
97 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
98 template<typename UpdatedByT = Aws::String>
99 CreateLibraryItemResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
101
103
106 inline int GetRatingCount() const { return m_ratingCount; }
107 inline void SetRatingCount(int value) { m_ratingCountHasBeenSet = true; m_ratingCount = value; }
108 inline CreateLibraryItemResult& WithRatingCount(int value) { SetRatingCount(value); return *this;}
110
112
115 inline bool GetIsVerified() const { return m_isVerified; }
116 inline void SetIsVerified(bool value) { m_isVerifiedHasBeenSet = true; m_isVerified = value; }
117 inline CreateLibraryItemResult& WithIsVerified(bool value) { SetIsVerified(value); return *this;}
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template<typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
125 template<typename RequestIdT = Aws::String>
126 CreateLibraryItemResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
128 private:
129
130 Aws::String m_libraryItemId;
131 bool m_libraryItemIdHasBeenSet = false;
132
133 Aws::String m_status;
134 bool m_statusHasBeenSet = false;
135
136 Aws::Utils::DateTime m_createdAt{};
137 bool m_createdAtHasBeenSet = false;
138
139 Aws::String m_createdBy;
140 bool m_createdByHasBeenSet = false;
141
142 Aws::Utils::DateTime m_updatedAt{};
143 bool m_updatedAtHasBeenSet = false;
144
145 Aws::String m_updatedBy;
146 bool m_updatedByHasBeenSet = false;
147
148 int m_ratingCount{0};
149 bool m_ratingCountHasBeenSet = false;
150
151 bool m_isVerified{false};
152 bool m_isVerifiedHasBeenSet = false;
153
154 Aws::String m_requestId;
155 bool m_requestIdHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace QApps
160} // 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