AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetListingResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/ListingItem.h>
11#include <aws/datazone/model/ListingStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataZone {
25namespace Model {
27 public:
28 AWS_DATAZONE_API GetListingResult() = default;
31
33
36 inline const Aws::String& GetDomainId() const { return m_domainId; }
37 template <typename DomainIdT = Aws::String>
38 void SetDomainId(DomainIdT&& value) {
39 m_domainIdHasBeenSet = true;
40 m_domainId = std::forward<DomainIdT>(value);
41 }
42 template <typename DomainIdT = Aws::String>
43 GetListingResult& WithDomainId(DomainIdT&& value) {
44 SetDomainId(std::forward<DomainIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetId() const { return m_id; }
54 template <typename IdT = Aws::String>
55 void SetId(IdT&& value) {
56 m_idHasBeenSet = true;
57 m_id = std::forward<IdT>(value);
58 }
59 template <typename IdT = Aws::String>
60 GetListingResult& WithId(IdT&& value) {
61 SetId(std::forward<IdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetListingRevision() const { return m_listingRevision; }
71 template <typename ListingRevisionT = Aws::String>
72 void SetListingRevision(ListingRevisionT&& value) {
73 m_listingRevisionHasBeenSet = true;
74 m_listingRevision = std::forward<ListingRevisionT>(value);
75 }
76 template <typename ListingRevisionT = Aws::String>
77 GetListingResult& WithListingRevision(ListingRevisionT&& value) {
78 SetListingRevision(std::forward<ListingRevisionT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
88 template <typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) {
90 m_createdAtHasBeenSet = true;
91 m_createdAt = std::forward<CreatedAtT>(value);
92 }
93 template <typename CreatedAtT = Aws::Utils::DateTime>
94 GetListingResult& WithCreatedAt(CreatedAtT&& value) {
95 SetCreatedAt(std::forward<CreatedAtT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
105 template <typename UpdatedAtT = Aws::Utils::DateTime>
106 void SetUpdatedAt(UpdatedAtT&& value) {
107 m_updatedAtHasBeenSet = true;
108 m_updatedAt = std::forward<UpdatedAtT>(value);
109 }
110 template <typename UpdatedAtT = Aws::Utils::DateTime>
111 GetListingResult& WithUpdatedAt(UpdatedAtT&& value) {
112 SetUpdatedAt(std::forward<UpdatedAtT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
122 template <typename CreatedByT = Aws::String>
123 void SetCreatedBy(CreatedByT&& value) {
124 m_createdByHasBeenSet = true;
125 m_createdBy = std::forward<CreatedByT>(value);
126 }
127 template <typename CreatedByT = Aws::String>
128 GetListingResult& WithCreatedBy(CreatedByT&& value) {
129 SetCreatedBy(std::forward<CreatedByT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
139 template <typename UpdatedByT = Aws::String>
140 void SetUpdatedBy(UpdatedByT&& value) {
141 m_updatedByHasBeenSet = true;
142 m_updatedBy = std::forward<UpdatedByT>(value);
143 }
144 template <typename UpdatedByT = Aws::String>
145 GetListingResult& WithUpdatedBy(UpdatedByT&& value) {
146 SetUpdatedBy(std::forward<UpdatedByT>(value));
147 return *this;
148 }
150
152
155 inline const ListingItem& GetItem() const { return m_item; }
156 template <typename ItemT = ListingItem>
157 void SetItem(ItemT&& value) {
158 m_itemHasBeenSet = true;
159 m_item = std::forward<ItemT>(value);
160 }
161 template <typename ItemT = ListingItem>
162 GetListingResult& WithItem(ItemT&& value) {
163 SetItem(std::forward<ItemT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::String& GetName() const { return m_name; }
173 template <typename NameT = Aws::String>
174 void SetName(NameT&& value) {
175 m_nameHasBeenSet = true;
176 m_name = std::forward<NameT>(value);
177 }
178 template <typename NameT = Aws::String>
179 GetListingResult& WithName(NameT&& value) {
180 SetName(std::forward<NameT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetDescription() const { return m_description; }
190 template <typename DescriptionT = Aws::String>
191 void SetDescription(DescriptionT&& value) {
192 m_descriptionHasBeenSet = true;
193 m_description = std::forward<DescriptionT>(value);
194 }
195 template <typename DescriptionT = Aws::String>
196 GetListingResult& WithDescription(DescriptionT&& value) {
197 SetDescription(std::forward<DescriptionT>(value));
198 return *this;
199 }
201
203
206 inline ListingStatus GetStatus() const { return m_status; }
207 inline void SetStatus(ListingStatus value) {
208 m_statusHasBeenSet = true;
209 m_status = value;
210 }
212 SetStatus(value);
213 return *this;
214 }
216
218
219 inline const Aws::String& GetRequestId() const { return m_requestId; }
220 template <typename RequestIdT = Aws::String>
221 void SetRequestId(RequestIdT&& value) {
222 m_requestIdHasBeenSet = true;
223 m_requestId = std::forward<RequestIdT>(value);
224 }
225 template <typename RequestIdT = Aws::String>
226 GetListingResult& WithRequestId(RequestIdT&& value) {
227 SetRequestId(std::forward<RequestIdT>(value));
228 return *this;
229 }
231 private:
232 Aws::String m_domainId;
233
234 Aws::String m_id;
235
236 Aws::String m_listingRevision;
237
238 Aws::Utils::DateTime m_createdAt{};
239
240 Aws::Utils::DateTime m_updatedAt{};
241
242 Aws::String m_createdBy;
243
244 Aws::String m_updatedBy;
245
246 ListingItem m_item;
247
248 Aws::String m_name;
249
250 Aws::String m_description;
251
253
254 Aws::String m_requestId;
255 bool m_domainIdHasBeenSet = false;
256 bool m_idHasBeenSet = false;
257 bool m_listingRevisionHasBeenSet = false;
258 bool m_createdAtHasBeenSet = false;
259 bool m_updatedAtHasBeenSet = false;
260 bool m_createdByHasBeenSet = false;
261 bool m_updatedByHasBeenSet = false;
262 bool m_itemHasBeenSet = false;
263 bool m_nameHasBeenSet = false;
264 bool m_descriptionHasBeenSet = false;
265 bool m_statusHasBeenSet = false;
266 bool m_requestIdHasBeenSet = false;
267};
268
269} // namespace Model
270} // namespace DataZone
271} // namespace Aws
GetListingResult & WithItem(ItemT &&value)
const ListingItem & GetItem() const
const Aws::String & GetDescription() const
GetListingResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetUpdatedBy() const
const Aws::String & GetListingRevision() const
void SetDescription(DescriptionT &&value)
void SetListingRevision(ListingRevisionT &&value)
GetListingResult & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetRequestId() const
GetListingResult & WithId(IdT &&value)
const Aws::String & GetId() const
GetListingResult & WithStatus(ListingStatus value)
const Aws::String & GetDomainId() const
AWS_DATAZONE_API GetListingResult()=default
GetListingResult & WithUpdatedBy(UpdatedByT &&value)
AWS_DATAZONE_API GetListingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetListingResult & WithCreatedAt(CreatedAtT &&value)
GetListingResult & WithListingRevision(ListingRevisionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetCreatedBy() const
GetListingResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetName() const
GetListingResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetListingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetListingResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetListingResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue