AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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