AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ProfileCatalogItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
31 public:
32 AWS_QCONNECT_API ProfileCatalogItem() = default;
35 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
49 ProfileCatalogItem& WithId(IdT&& value) {
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 ProfileCatalogItem& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetCode() const { return m_code; }
78 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
79 template <typename CodeT = Aws::String>
80 void SetCode(CodeT&& value) {
81 m_codeHasBeenSet = true;
82 m_code = std::forward<CodeT>(value);
83 }
84 template <typename CodeT = Aws::String>
85 ProfileCatalogItem& WithCode(CodeT&& value) {
86 SetCode(std::forward<CodeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetType() const { return m_type; }
96 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
97 template <typename TypeT = Aws::String>
98 void SetType(TypeT&& value) {
99 m_typeHasBeenSet = true;
100 m_type = std::forward<TypeT>(value);
101 }
102 template <typename TypeT = Aws::String>
103 ProfileCatalogItem& WithType(TypeT&& value) {
104 SetType(std::forward<TypeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetCategory() const { return m_category; }
114 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
115 template <typename CategoryT = Aws::String>
116 void SetCategory(CategoryT&& value) {
117 m_categoryHasBeenSet = true;
118 m_category = std::forward<CategoryT>(value);
119 }
120 template <typename CategoryT = Aws::String>
121 ProfileCatalogItem& WithCategory(CategoryT&& value) {
122 SetCategory(std::forward<CategoryT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDescription() const { return m_description; }
132 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 template <typename DescriptionT = Aws::String>
134 void SetDescription(DescriptionT&& value) {
135 m_descriptionHasBeenSet = true;
136 m_description = std::forward<DescriptionT>(value);
137 }
138 template <typename DescriptionT = Aws::String>
139 ProfileCatalogItem& WithDescription(DescriptionT&& value) {
140 SetDescription(std::forward<DescriptionT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetAdditionalInformation() const { return m_additionalInformation; }
150 inline bool AdditionalInformationHasBeenSet() const { return m_additionalInformationHasBeenSet; }
151 template <typename AdditionalInformationT = Aws::String>
152 void SetAdditionalInformation(AdditionalInformationT&& value) {
153 m_additionalInformationHasBeenSet = true;
154 m_additionalInformation = std::forward<AdditionalInformationT>(value);
155 }
156 template <typename AdditionalInformationT = Aws::String>
157 ProfileCatalogItem& WithAdditionalInformation(AdditionalInformationT&& value) {
158 SetAdditionalInformation(std::forward<AdditionalInformationT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetImageLink() const { return m_imageLink; }
168 inline bool ImageLinkHasBeenSet() const { return m_imageLinkHasBeenSet; }
169 template <typename ImageLinkT = Aws::String>
170 void SetImageLink(ImageLinkT&& value) {
171 m_imageLinkHasBeenSet = true;
172 m_imageLink = std::forward<ImageLinkT>(value);
173 }
174 template <typename ImageLinkT = Aws::String>
175 ProfileCatalogItem& WithImageLink(ImageLinkT&& value) {
176 SetImageLink(std::forward<ImageLinkT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetLink() const { return m_link; }
186 inline bool LinkHasBeenSet() const { return m_linkHasBeenSet; }
187 template <typename LinkT = Aws::String>
188 void SetLink(LinkT&& value) {
189 m_linkHasBeenSet = true;
190 m_link = std::forward<LinkT>(value);
191 }
192 template <typename LinkT = Aws::String>
193 ProfileCatalogItem& WithLink(LinkT&& value) {
194 SetLink(std::forward<LinkT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
204 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
205 template <typename CreatedAtT = Aws::String>
206 void SetCreatedAt(CreatedAtT&& value) {
207 m_createdAtHasBeenSet = true;
208 m_createdAt = std::forward<CreatedAtT>(value);
209 }
210 template <typename CreatedAtT = Aws::String>
211 ProfileCatalogItem& WithCreatedAt(CreatedAtT&& value) {
212 SetCreatedAt(std::forward<CreatedAtT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::String& GetUpdatedAt() const { return m_updatedAt; }
222 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
223 template <typename UpdatedAtT = Aws::String>
224 void SetUpdatedAt(UpdatedAtT&& value) {
225 m_updatedAtHasBeenSet = true;
226 m_updatedAt = std::forward<UpdatedAtT>(value);
227 }
228 template <typename UpdatedAtT = Aws::String>
229 ProfileCatalogItem& WithUpdatedAt(UpdatedAtT&& value) {
230 SetUpdatedAt(std::forward<UpdatedAtT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::String& GetPrice() const { return m_price; }
240 inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
241 template <typename PriceT = Aws::String>
242 void SetPrice(PriceT&& value) {
243 m_priceHasBeenSet = true;
244 m_price = std::forward<PriceT>(value);
245 }
246 template <typename PriceT = Aws::String>
247 ProfileCatalogItem& WithPrice(PriceT&& value) {
248 SetPrice(std::forward<PriceT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
258 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
259 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
260 void SetAttributes(AttributesT&& value) {
261 m_attributesHasBeenSet = true;
262 m_attributes = std::forward<AttributesT>(value);
263 }
264 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
265 ProfileCatalogItem& WithAttributes(AttributesT&& value) {
266 SetAttributes(std::forward<AttributesT>(value));
267 return *this;
268 }
269 template <typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
270 ProfileCatalogItem& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
271 m_attributesHasBeenSet = true;
272 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
273 return *this;
274 }
276 private:
277 Aws::String m_id;
278
279 Aws::String m_name;
280
281 Aws::String m_code;
282
283 Aws::String m_type;
284
285 Aws::String m_category;
286
287 Aws::String m_description;
288
289 Aws::String m_additionalInformation;
290
291 Aws::String m_imageLink;
292
293 Aws::String m_link;
294
295 Aws::String m_createdAt;
296
297 Aws::String m_updatedAt;
298
299 Aws::String m_price;
300
302 bool m_idHasBeenSet = false;
303 bool m_nameHasBeenSet = false;
304 bool m_codeHasBeenSet = false;
305 bool m_typeHasBeenSet = false;
306 bool m_categoryHasBeenSet = false;
307 bool m_descriptionHasBeenSet = false;
308 bool m_additionalInformationHasBeenSet = false;
309 bool m_imageLinkHasBeenSet = false;
310 bool m_linkHasBeenSet = false;
311 bool m_createdAtHasBeenSet = false;
312 bool m_updatedAtHasBeenSet = false;
313 bool m_priceHasBeenSet = false;
314 bool m_attributesHasBeenSet = false;
315};
316
317} // namespace Model
318} // namespace QConnect
319} // namespace Aws
ProfileCatalogItem & WithType(TypeT &&value)
AWS_QCONNECT_API ProfileCatalogItem(Aws::Utils::Json::JsonView jsonValue)
ProfileCatalogItem & WithCode(CodeT &&value)
ProfileCatalogItem & WithPrice(PriceT &&value)
AWS_QCONNECT_API ProfileCatalogItem()=default
ProfileCatalogItem & WithId(IdT &&value)
ProfileCatalogItem & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
ProfileCatalogItem & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetAdditionalInformation() const
ProfileCatalogItem & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
ProfileCatalogItem & WithLink(LinkT &&value)
ProfileCatalogItem & WithAdditionalInformation(AdditionalInformationT &&value)
ProfileCatalogItem & WithDescription(DescriptionT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileCatalogItem & WithAttributes(AttributesT &&value)
AWS_QCONNECT_API ProfileCatalogItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileCatalogItem & WithUpdatedAt(UpdatedAtT &&value)
ProfileCatalogItem & WithImageLink(ImageLinkT &&value)
void SetAdditionalInformation(AdditionalInformationT &&value)
ProfileCatalogItem & WithCategory(CategoryT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue