AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubscribedListingItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/SubscribedAssetListing.h>
9#include <aws/datazone/model/SubscribedProductListing.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAZONE_API SubscribedListingItem();
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SubscribedAssetListing& GetAssetListing() const{ return m_assetListing; }
47 inline bool AssetListingHasBeenSet() const { return m_assetListingHasBeenSet; }
48 inline void SetAssetListing(const SubscribedAssetListing& value) { m_assetListingHasBeenSet = true; m_assetListing = value; }
49 inline void SetAssetListing(SubscribedAssetListing&& value) { m_assetListingHasBeenSet = true; m_assetListing = std::move(value); }
51 inline SubscribedListingItem& WithAssetListing(SubscribedAssetListing&& value) { SetAssetListing(std::move(value)); return *this;}
53
55
58 inline const SubscribedProductListing& GetProductListing() const{ return m_productListing; }
59 inline bool ProductListingHasBeenSet() const { return m_productListingHasBeenSet; }
60 inline void SetProductListing(const SubscribedProductListing& value) { m_productListingHasBeenSet = true; m_productListing = value; }
61 inline void SetProductListing(SubscribedProductListing&& value) { m_productListingHasBeenSet = true; m_productListing = std::move(value); }
63 inline SubscribedListingItem& WithProductListing(SubscribedProductListing&& value) { SetProductListing(std::move(value)); return *this;}
65 private:
66
67 SubscribedAssetListing m_assetListing;
68 bool m_assetListingHasBeenSet = false;
69
70 SubscribedProductListing m_productListing;
71 bool m_productListingHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DataZone
76} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProductListing(SubscribedProductListing &&value)
SubscribedListingItem & WithProductListing(SubscribedProductListing &&value)
const SubscribedAssetListing & GetAssetListing() const
SubscribedListingItem & WithProductListing(const SubscribedProductListing &value)
void SetAssetListing(SubscribedAssetListing &&value)
SubscribedListingItem & WithAssetListing(SubscribedAssetListing &&value)
AWS_DATAZONE_API SubscribedListingItem & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscribedListingItem & WithAssetListing(const SubscribedAssetListing &value)
void SetProductListing(const SubscribedProductListing &value)
void SetAssetListing(const SubscribedAssetListing &value)
const SubscribedProductListing & GetProductListing() const
AWS_DATAZONE_API SubscribedListingItem(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue