AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetListingResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/ListingItem.h>
11#include <aws/datazone/model/ListingStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API GetListingResult() = default;
36
37
39
42 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
43 template<typename CreatedAtT = Aws::Utils::DateTime>
44 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
45 template<typename CreatedAtT = Aws::Utils::DateTime>
46 GetListingResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
48
50
53 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
54 template<typename CreatedByT = Aws::String>
55 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
56 template<typename CreatedByT = Aws::String>
57 GetListingResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 template<typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 GetListingResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDomainId() const { return m_domainId; }
76 template<typename DomainIdT = Aws::String>
77 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
78 template<typename DomainIdT = Aws::String>
79 GetListingResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
81
83
86 inline const Aws::String& GetId() const { return m_id; }
87 template<typename IdT = Aws::String>
88 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
89 template<typename IdT = Aws::String>
90 GetListingResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
92
94
97 inline const ListingItem& GetItem() const { return m_item; }
98 template<typename ItemT = ListingItem>
99 void SetItem(ItemT&& value) { m_itemHasBeenSet = true; m_item = std::forward<ItemT>(value); }
100 template<typename ItemT = ListingItem>
101 GetListingResult& WithItem(ItemT&& value) { SetItem(std::forward<ItemT>(value)); return *this;}
103
105
108 inline const Aws::String& GetListingRevision() const { return m_listingRevision; }
109 template<typename ListingRevisionT = Aws::String>
110 void SetListingRevision(ListingRevisionT&& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = std::forward<ListingRevisionT>(value); }
111 template<typename ListingRevisionT = Aws::String>
112 GetListingResult& WithListingRevision(ListingRevisionT&& value) { SetListingRevision(std::forward<ListingRevisionT>(value)); return *this;}
114
116
119 inline const Aws::String& GetName() const { return m_name; }
120 template<typename NameT = Aws::String>
121 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
122 template<typename NameT = Aws::String>
123 GetListingResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
125
127
130 inline ListingStatus GetStatus() const { return m_status; }
131 inline void SetStatus(ListingStatus value) { m_statusHasBeenSet = true; m_status = value; }
132 inline GetListingResult& WithStatus(ListingStatus value) { SetStatus(value); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
140 template<typename UpdatedAtT = Aws::Utils::DateTime>
141 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
142 template<typename UpdatedAtT = Aws::Utils::DateTime>
143 GetListingResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
145
147
150 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
151 template<typename UpdatedByT = Aws::String>
152 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
153 template<typename UpdatedByT = Aws::String>
154 GetListingResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
156
158
159 inline const Aws::String& GetRequestId() const { return m_requestId; }
160 template<typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
162 template<typename RequestIdT = Aws::String>
163 GetListingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
165 private:
166
167 Aws::Utils::DateTime m_createdAt{};
168 bool m_createdAtHasBeenSet = false;
169
170 Aws::String m_createdBy;
171 bool m_createdByHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 Aws::String m_domainId;
177 bool m_domainIdHasBeenSet = false;
178
179 Aws::String m_id;
180 bool m_idHasBeenSet = false;
181
182 ListingItem m_item;
183 bool m_itemHasBeenSet = false;
184
185 Aws::String m_listingRevision;
186 bool m_listingRevisionHasBeenSet = false;
187
188 Aws::String m_name;
189 bool m_nameHasBeenSet = false;
190
192 bool m_statusHasBeenSet = false;
193
194 Aws::Utils::DateTime m_updatedAt{};
195 bool m_updatedAtHasBeenSet = false;
196
197 Aws::String m_updatedBy;
198 bool m_updatedByHasBeenSet = false;
199
200 Aws::String m_requestId;
201 bool m_requestIdHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace DataZone
206} // 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