AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetListingDetails.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/ListingStatus.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 AssetListingDetails();
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetListingId() const{ return m_listingId; }
47 inline bool ListingIdHasBeenSet() const { return m_listingIdHasBeenSet; }
48 inline void SetListingId(const Aws::String& value) { m_listingIdHasBeenSet = true; m_listingId = value; }
49 inline void SetListingId(Aws::String&& value) { m_listingIdHasBeenSet = true; m_listingId = std::move(value); }
50 inline void SetListingId(const char* value) { m_listingIdHasBeenSet = true; m_listingId.assign(value); }
51 inline AssetListingDetails& WithListingId(const Aws::String& value) { SetListingId(value); return *this;}
52 inline AssetListingDetails& WithListingId(Aws::String&& value) { SetListingId(std::move(value)); return *this;}
53 inline AssetListingDetails& WithListingId(const char* value) { SetListingId(value); return *this;}
55
57
60 inline const ListingStatus& GetListingStatus() const{ return m_listingStatus; }
61 inline bool ListingStatusHasBeenSet() const { return m_listingStatusHasBeenSet; }
62 inline void SetListingStatus(const ListingStatus& value) { m_listingStatusHasBeenSet = true; m_listingStatus = value; }
63 inline void SetListingStatus(ListingStatus&& value) { m_listingStatusHasBeenSet = true; m_listingStatus = std::move(value); }
64 inline AssetListingDetails& WithListingStatus(const ListingStatus& value) { SetListingStatus(value); return *this;}
65 inline AssetListingDetails& WithListingStatus(ListingStatus&& value) { SetListingStatus(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_listingId;
70 bool m_listingIdHasBeenSet = false;
71
72 ListingStatus m_listingStatus;
73 bool m_listingStatusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataZone
78} // namespace Aws
void SetListingStatus(const ListingStatus &value)
AssetListingDetails & WithListingId(const Aws::String &value)
const ListingStatus & GetListingStatus() const
AWS_DATAZONE_API AssetListingDetails(Aws::Utils::Json::JsonView jsonValue)
AssetListingDetails & WithListingId(const char *value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetListingDetails & WithListingStatus(ListingStatus &&value)
void SetListingId(const Aws::String &value)
AssetListingDetails & WithListingId(Aws::String &&value)
AssetListingDetails & WithListingStatus(const ListingStatus &value)
AWS_DATAZONE_API AssetListingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue