AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SubscribedListing.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/SubscribedListingItem.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 SubscribedListing() = default;
37 AWS_DATAZONE_API SubscribedListing(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetDescription() const { return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 template<typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
51 template<typename DescriptionT = Aws::String>
52 SubscribedListing& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
54
56
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template<typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 SubscribedListing& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline const SubscribedListingItem& GetItem() const { return m_item; }
73 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
74 template<typename ItemT = SubscribedListingItem>
75 void SetItem(ItemT&& value) { m_itemHasBeenSet = true; m_item = std::forward<ItemT>(value); }
76 template<typename ItemT = SubscribedListingItem>
77 SubscribedListing& WithItem(ItemT&& value) { SetItem(std::forward<ItemT>(value)); return *this;}
79
81
85 inline const Aws::String& GetName() const { return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 template<typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
89 template<typename NameT = Aws::String>
90 SubscribedListing& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
92
94
98 inline const Aws::String& GetOwnerProjectId() const { return m_ownerProjectId; }
99 inline bool OwnerProjectIdHasBeenSet() const { return m_ownerProjectIdHasBeenSet; }
100 template<typename OwnerProjectIdT = Aws::String>
101 void SetOwnerProjectId(OwnerProjectIdT&& value) { m_ownerProjectIdHasBeenSet = true; m_ownerProjectId = std::forward<OwnerProjectIdT>(value); }
102 template<typename OwnerProjectIdT = Aws::String>
103 SubscribedListing& WithOwnerProjectId(OwnerProjectIdT&& value) { SetOwnerProjectId(std::forward<OwnerProjectIdT>(value)); return *this;}
105
107
111 inline const Aws::String& GetOwnerProjectName() const { return m_ownerProjectName; }
112 inline bool OwnerProjectNameHasBeenSet() const { return m_ownerProjectNameHasBeenSet; }
113 template<typename OwnerProjectNameT = Aws::String>
114 void SetOwnerProjectName(OwnerProjectNameT&& value) { m_ownerProjectNameHasBeenSet = true; m_ownerProjectName = std::forward<OwnerProjectNameT>(value); }
115 template<typename OwnerProjectNameT = Aws::String>
116 SubscribedListing& WithOwnerProjectName(OwnerProjectNameT&& value) { SetOwnerProjectName(std::forward<OwnerProjectNameT>(value)); return *this;}
118
120
124 inline const Aws::String& GetRevision() const { return m_revision; }
125 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
126 template<typename RevisionT = Aws::String>
127 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
128 template<typename RevisionT = Aws::String>
129 SubscribedListing& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
131 private:
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
140 bool m_itemHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::String m_ownerProjectId;
146 bool m_ownerProjectIdHasBeenSet = false;
147
148 Aws::String m_ownerProjectName;
149 bool m_ownerProjectNameHasBeenSet = false;
150
151 Aws::String m_revision;
152 bool m_revisionHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace DataZone
157} // namespace Aws
SubscribedListing & WithItem(ItemT &&value)
SubscribedListing & WithName(NameT &&value)
AWS_DATAZONE_API SubscribedListing()=default
SubscribedListing & WithDescription(DescriptionT &&value)
SubscribedListing & WithOwnerProjectId(OwnerProjectIdT &&value)
void SetOwnerProjectId(OwnerProjectIdT &&value)
SubscribedListing & WithRevision(RevisionT &&value)
void SetOwnerProjectName(OwnerProjectNameT &&value)
const Aws::String & GetOwnerProjectId() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRevision() const
SubscribedListing & WithOwnerProjectName(OwnerProjectNameT &&value)
SubscribedListing & WithId(IdT &&value)
const Aws::String & GetOwnerProjectName() const
AWS_DATAZONE_API SubscribedListing & operator=(Aws::Utils::Json::JsonView jsonValue)
const SubscribedListingItem & GetItem() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AWS_DATAZONE_API SubscribedListing(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue