AWS SDK for C++  0.14.3
AWS SDK for C++
ProductViewSummary.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace ServiceCatalog
29 {
30 namespace Model
31 {
32 
37  {
38  public:
41  ProductViewSummary& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
47  inline const Aws::String& GetId() const{ return m_id; }
48 
52  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 
57  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = value; }
58 
62  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 
67  inline ProductViewSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
68 
72  inline ProductViewSummary& WithId(Aws::String&& value) { SetId(value); return *this;}
73 
77  inline ProductViewSummary& WithId(const char* value) { SetId(value); return *this;}
78 
82  inline const Aws::String& GetProductId() const{ return m_productId; }
83 
87  inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
88 
92  inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = value; }
93 
97  inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
98 
102  inline ProductViewSummary& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
103 
107  inline ProductViewSummary& WithProductId(Aws::String&& value) { SetProductId(value); return *this;}
108 
112  inline ProductViewSummary& WithProductId(const char* value) { SetProductId(value); return *this;}
113 
117  inline const Aws::String& GetName() const{ return m_name; }
118 
122  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
123 
127  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
128 
132  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
133 
137  inline ProductViewSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
138 
142  inline ProductViewSummary& WithName(Aws::String&& value) { SetName(value); return *this;}
143 
147  inline ProductViewSummary& WithName(const char* value) { SetName(value); return *this;}
148 
153  inline const Aws::String& GetOwner() const{ return m_owner; }
154 
159  inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
160 
165  inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = value; }
166 
171  inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
172 
177  inline ProductViewSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
178 
183  inline ProductViewSummary& WithOwner(Aws::String&& value) { SetOwner(value); return *this;}
184 
189  inline ProductViewSummary& WithOwner(const char* value) { SetOwner(value); return *this;}
190 
194  inline const Aws::String& GetShortDescription() const{ return m_shortDescription; }
195 
199  inline void SetShortDescription(const Aws::String& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = value; }
200 
204  inline void SetShortDescription(Aws::String&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = value; }
205 
209  inline void SetShortDescription(const char* value) { m_shortDescriptionHasBeenSet = true; m_shortDescription.assign(value); }
210 
214  inline ProductViewSummary& WithShortDescription(const Aws::String& value) { SetShortDescription(value); return *this;}
215 
219  inline ProductViewSummary& WithShortDescription(Aws::String&& value) { SetShortDescription(value); return *this;}
220 
224  inline ProductViewSummary& WithShortDescription(const char* value) { SetShortDescription(value); return *this;}
225 
230  inline const Aws::String& GetType() const{ return m_type; }
231 
236  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
237 
242  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = value; }
243 
248  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
249 
254  inline ProductViewSummary& WithType(const Aws::String& value) { SetType(value); return *this;}
255 
260  inline ProductViewSummary& WithType(Aws::String&& value) { SetType(value); return *this;}
261 
266  inline ProductViewSummary& WithType(const char* value) { SetType(value); return *this;}
267 
272  inline const Aws::String& GetDistributor() const{ return m_distributor; }
273 
278  inline void SetDistributor(const Aws::String& value) { m_distributorHasBeenSet = true; m_distributor = value; }
279 
284  inline void SetDistributor(Aws::String&& value) { m_distributorHasBeenSet = true; m_distributor = value; }
285 
290  inline void SetDistributor(const char* value) { m_distributorHasBeenSet = true; m_distributor.assign(value); }
291 
296  inline ProductViewSummary& WithDistributor(const Aws::String& value) { SetDistributor(value); return *this;}
297 
302  inline ProductViewSummary& WithDistributor(Aws::String&& value) { SetDistributor(value); return *this;}
303 
308  inline ProductViewSummary& WithDistributor(const char* value) { SetDistributor(value); return *this;}
309 
318  inline bool GetHasDefaultPath() const{ return m_hasDefaultPath; }
319 
328  inline void SetHasDefaultPath(bool value) { m_hasDefaultPathHasBeenSet = true; m_hasDefaultPath = value; }
329 
338  inline ProductViewSummary& WithHasDefaultPath(bool value) { SetHasDefaultPath(value); return *this;}
339 
343  inline const Aws::String& GetSupportEmail() const{ return m_supportEmail; }
344 
348  inline void SetSupportEmail(const Aws::String& value) { m_supportEmailHasBeenSet = true; m_supportEmail = value; }
349 
353  inline void SetSupportEmail(Aws::String&& value) { m_supportEmailHasBeenSet = true; m_supportEmail = value; }
354 
358  inline void SetSupportEmail(const char* value) { m_supportEmailHasBeenSet = true; m_supportEmail.assign(value); }
359 
363  inline ProductViewSummary& WithSupportEmail(const Aws::String& value) { SetSupportEmail(value); return *this;}
364 
368  inline ProductViewSummary& WithSupportEmail(Aws::String&& value) { SetSupportEmail(value); return *this;}
369 
373  inline ProductViewSummary& WithSupportEmail(const char* value) { SetSupportEmail(value); return *this;}
374 
378  inline const Aws::String& GetSupportDescription() const{ return m_supportDescription; }
379 
383  inline void SetSupportDescription(const Aws::String& value) { m_supportDescriptionHasBeenSet = true; m_supportDescription = value; }
384 
388  inline void SetSupportDescription(Aws::String&& value) { m_supportDescriptionHasBeenSet = true; m_supportDescription = value; }
389 
393  inline void SetSupportDescription(const char* value) { m_supportDescriptionHasBeenSet = true; m_supportDescription.assign(value); }
394 
398  inline ProductViewSummary& WithSupportDescription(const Aws::String& value) { SetSupportDescription(value); return *this;}
399 
403  inline ProductViewSummary& WithSupportDescription(Aws::String&& value) { SetSupportDescription(value); return *this;}
404 
408  inline ProductViewSummary& WithSupportDescription(const char* value) { SetSupportDescription(value); return *this;}
409 
413  inline const Aws::String& GetSupportUrl() const{ return m_supportUrl; }
414 
418  inline void SetSupportUrl(const Aws::String& value) { m_supportUrlHasBeenSet = true; m_supportUrl = value; }
419 
423  inline void SetSupportUrl(Aws::String&& value) { m_supportUrlHasBeenSet = true; m_supportUrl = value; }
424 
428  inline void SetSupportUrl(const char* value) { m_supportUrlHasBeenSet = true; m_supportUrl.assign(value); }
429 
433  inline ProductViewSummary& WithSupportUrl(const Aws::String& value) { SetSupportUrl(value); return *this;}
434 
438  inline ProductViewSummary& WithSupportUrl(Aws::String&& value) { SetSupportUrl(value); return *this;}
439 
443  inline ProductViewSummary& WithSupportUrl(const char* value) { SetSupportUrl(value); return *this;}
444 
445  private:
446  Aws::String m_id;
447  bool m_idHasBeenSet;
448  Aws::String m_productId;
449  bool m_productIdHasBeenSet;
450  Aws::String m_name;
451  bool m_nameHasBeenSet;
452  Aws::String m_owner;
453  bool m_ownerHasBeenSet;
454  Aws::String m_shortDescription;
455  bool m_shortDescriptionHasBeenSet;
456  Aws::String m_type;
457  bool m_typeHasBeenSet;
458  Aws::String m_distributor;
459  bool m_distributorHasBeenSet;
460  bool m_hasDefaultPath;
461  bool m_hasDefaultPathHasBeenSet;
462  Aws::String m_supportEmail;
463  bool m_supportEmailHasBeenSet;
464  Aws::String m_supportDescription;
465  bool m_supportDescriptionHasBeenSet;
466  Aws::String m_supportUrl;
467  bool m_supportUrlHasBeenSet;
468  };
469 
470 } // namespace Model
471 } // namespace ServiceCatalog
472 } // namespace Aws
ProductViewSummary & WithProductId(const Aws::String &value)
ProductViewSummary & WithShortDescription(const Aws::String &value)
ProductViewSummary & WithType(const char *value)
ProductViewSummary & WithDistributor(Aws::String &&value)
void SetSupportEmail(const Aws::String &value)
ProductViewSummary & WithProductId(const char *value)
#define AWS_SERVICECATALOG_API
ProductViewSummary & WithSupportEmail(const Aws::String &value)
void SetSupportDescription(const Aws::String &value)
ProductViewSummary & WithOwner(const char *value)
ProductViewSummary & WithId(Aws::String &&value)
ProductViewSummary & WithName(const char *value)
ProductViewSummary & WithId(const Aws::String &value)
ProductViewSummary & WithHasDefaultPath(bool value)
ProductViewSummary & WithSupportUrl(const char *value)
ProductViewSummary & WithSupportDescription(Aws::String &&value)
ProductViewSummary & WithOwner(Aws::String &&value)
ProductViewSummary & WithDistributor(const Aws::String &value)
ProductViewSummary & WithName(const Aws::String &value)
ProductViewSummary & WithName(Aws::String &&value)
ProductViewSummary & WithSupportEmail(const char *value)
ProductViewSummary & WithProductId(Aws::String &&value)
ProductViewSummary & WithDistributor(const char *value)
ProductViewSummary & WithType(const Aws::String &value)
ProductViewSummary & WithSupportDescription(const Aws::String &value)
void SetShortDescription(const Aws::String &value)
ProductViewSummary & WithType(Aws::String &&value)
ProductViewSummary & WithSupportUrl(const Aws::String &value)
ProductViewSummary & WithId(const char *value)
const Aws::String & GetSupportDescription() const
ProductViewSummary & WithSupportUrl(Aws::String &&value)
ProductViewSummary & WithShortDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ProductViewSummary & WithOwner(const Aws::String &value)
ProductViewSummary & WithSupportDescription(const char *value)
ProductViewSummary & WithSupportEmail(Aws::String &&value)
JSON (JavaScript Object Notation).
ProductViewSummary & WithShortDescription(Aws::String &&value)