AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListingItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AssetListing.h>
9#include <aws/datazone/model/DataProductListing.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 ListingItem();
37 AWS_DATAZONE_API ListingItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API ListingItem& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AssetListing& GetAssetListing() const{ return m_assetListing; }
47 inline bool AssetListingHasBeenSet() const { return m_assetListingHasBeenSet; }
48 inline void SetAssetListing(const AssetListing& value) { m_assetListingHasBeenSet = true; m_assetListing = value; }
49 inline void SetAssetListing(AssetListing&& value) { m_assetListingHasBeenSet = true; m_assetListing = std::move(value); }
50 inline ListingItem& WithAssetListing(const AssetListing& value) { SetAssetListing(value); return *this;}
51 inline ListingItem& WithAssetListing(AssetListing&& value) { SetAssetListing(std::move(value)); return *this;}
53
55
58 inline const DataProductListing& GetDataProductListing() const{ return m_dataProductListing; }
59 inline bool DataProductListingHasBeenSet() const { return m_dataProductListingHasBeenSet; }
60 inline void SetDataProductListing(const DataProductListing& value) { m_dataProductListingHasBeenSet = true; m_dataProductListing = value; }
61 inline void SetDataProductListing(DataProductListing&& value) { m_dataProductListingHasBeenSet = true; m_dataProductListing = std::move(value); }
62 inline ListingItem& WithDataProductListing(const DataProductListing& value) { SetDataProductListing(value); return *this;}
63 inline ListingItem& WithDataProductListing(DataProductListing&& value) { SetDataProductListing(std::move(value)); return *this;}
65 private:
66
67 AssetListing m_assetListing;
68 bool m_assetListingHasBeenSet = false;
69
70 DataProductListing m_dataProductListing;
71 bool m_dataProductListingHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DataZone
76} // namespace Aws
ListingItem & WithDataProductListing(DataProductListing &&value)
Definition ListingItem.h:63
ListingItem & WithAssetListing(const AssetListing &value)
Definition ListingItem.h:50
void SetDataProductListing(const DataProductListing &value)
Definition ListingItem.h:60
AWS_DATAZONE_API ListingItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssetListing(const AssetListing &value)
Definition ListingItem.h:48
void SetAssetListing(AssetListing &&value)
Definition ListingItem.h:49
ListingItem & WithDataProductListing(const DataProductListing &value)
Definition ListingItem.h:62
ListingItem & WithAssetListing(AssetListing &&value)
Definition ListingItem.h:51
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const DataProductListing & GetDataProductListing() const
Definition ListingItem.h:58
void SetDataProductListing(DataProductListing &&value)
Definition ListingItem.h:61
const AssetListing & GetAssetListing() const
Definition ListingItem.h:46
AWS_DATAZONE_API ListingItem(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue