AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetLibraryItemId() const{ return m_libraryItemId; }
41 inline void SetLibraryItemId(const Aws::String& value) { m_libraryItemId = value; }
42 inline void SetLibraryItemId(Aws::String&& value) { m_libraryItemId = std::move(value); }
43 inline void SetLibraryItemId(const char* value) { m_libraryItemId.assign(value); }
44 inline CreateLibraryItemResult& WithLibraryItemId(const Aws::String& value) { SetLibraryItemId(value); return *this;}
45 inline CreateLibraryItemResult& WithLibraryItemId(Aws::String&& value) { SetLibraryItemId(std::move(value)); return *this;}
46 inline CreateLibraryItemResult& WithLibraryItemId(const char* value) { SetLibraryItemId(value); return *this;}
48
50
53 inline const Aws::String& GetStatus() const{ return m_status; }
54 inline void SetStatus(const Aws::String& value) { m_status = value; }
55 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
56 inline void SetStatus(const char* value) { m_status.assign(value); }
57 inline CreateLibraryItemResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
58 inline CreateLibraryItemResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
59 inline CreateLibraryItemResult& WithStatus(const char* value) { SetStatus(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
67 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
68 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
69 inline CreateLibraryItemResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
70 inline CreateLibraryItemResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
78 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
79 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
80 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
81 inline CreateLibraryItemResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
82 inline CreateLibraryItemResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
83 inline CreateLibraryItemResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
91 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
92 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
93 inline CreateLibraryItemResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
94 inline CreateLibraryItemResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
102 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
103 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
104 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
105 inline CreateLibraryItemResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
106 inline CreateLibraryItemResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
107 inline CreateLibraryItemResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
109
111
114 inline int GetRatingCount() const{ return m_ratingCount; }
115 inline void SetRatingCount(int value) { m_ratingCount = value; }
116 inline CreateLibraryItemResult& WithRatingCount(int value) { SetRatingCount(value); return *this;}
118
120
123 inline bool GetIsVerified() const{ return m_isVerified; }
124 inline void SetIsVerified(bool value) { m_isVerified = value; }
125 inline CreateLibraryItemResult& WithIsVerified(bool value) { SetIsVerified(value); return *this;}
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline CreateLibraryItemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline CreateLibraryItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline CreateLibraryItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_libraryItemId;
141
142 Aws::String m_status;
143
144 Aws::Utils::DateTime m_createdAt;
145
146 Aws::String m_createdBy;
147
148 Aws::Utils::DateTime m_updatedAt;
149
150 Aws::String m_updatedBy;
151
152 int m_ratingCount;
153
154 bool m_isVerified;
155
156 Aws::String m_requestId;
157 };
158
159} // namespace Model
160} // namespace QApps
161} // namespace Aws
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_QAPPS_API CreateLibraryItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLibraryItemResult & WithLibraryItemId(const Aws::String &value)
CreateLibraryItemResult & WithRequestId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateLibraryItemResult & WithCreatedBy(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateLibraryItemResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
CreateLibraryItemResult & WithUpdatedBy(Aws::String &&value)
CreateLibraryItemResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateLibraryItemResult & WithUpdatedBy(const char *value)
CreateLibraryItemResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
CreateLibraryItemResult & WithLibraryItemId(const char *value)
CreateLibraryItemResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateLibraryItemResult & WithCreatedBy(const Aws::String &value)
CreateLibraryItemResult & WithLibraryItemId(Aws::String &&value)
CreateLibraryItemResult & WithRequestId(Aws::String &&value)
AWS_QAPPS_API CreateLibraryItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateLibraryItemResult & WithUpdatedBy(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
CreateLibraryItemResult & WithStatus(const Aws::String &value)
CreateLibraryItemResult & WithRequestId(const char *value)
CreateLibraryItemResult & WithStatus(const char *value)
CreateLibraryItemResult & WithIsVerified(bool value)
CreateLibraryItemResult & WithRatingCount(int value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateLibraryItemResult & WithStatus(Aws::String &&value)
CreateLibraryItemResult & WithCreatedBy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue