AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SubscribedAssetListing.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/AssetScope.h>
11#include <aws/datazone/model/DetailedGlossaryTerm.h>
12#include <aws/datazone/model/Permissions.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone {
24namespace Model {
25
33 public:
34 AWS_DATAZONE_API SubscribedAssetListing() = default;
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetEntityId() const { return m_entityId; }
45 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
46 template <typename EntityIdT = Aws::String>
47 void SetEntityId(EntityIdT&& value) {
48 m_entityIdHasBeenSet = true;
49 m_entityId = std::forward<EntityIdT>(value);
50 }
51 template <typename EntityIdT = Aws::String>
53 SetEntityId(std::forward<EntityIdT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetEntityRevision() const { return m_entityRevision; }
64 inline bool EntityRevisionHasBeenSet() const { return m_entityRevisionHasBeenSet; }
65 template <typename EntityRevisionT = Aws::String>
66 void SetEntityRevision(EntityRevisionT&& value) {
67 m_entityRevisionHasBeenSet = true;
68 m_entityRevision = std::forward<EntityRevisionT>(value);
69 }
70 template <typename EntityRevisionT = Aws::String>
71 SubscribedAssetListing& WithEntityRevision(EntityRevisionT&& value) {
72 SetEntityRevision(std::forward<EntityRevisionT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetEntityType() const { return m_entityType; }
83 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
84 template <typename EntityTypeT = Aws::String>
85 void SetEntityType(EntityTypeT&& value) {
86 m_entityTypeHasBeenSet = true;
87 m_entityType = std::forward<EntityTypeT>(value);
88 }
89 template <typename EntityTypeT = Aws::String>
90 SubscribedAssetListing& WithEntityType(EntityTypeT&& value) {
91 SetEntityType(std::forward<EntityTypeT>(value));
92 return *this;
93 }
95
97
101 inline const Aws::String& GetForms() const { return m_forms; }
102 inline bool FormsHasBeenSet() const { return m_formsHasBeenSet; }
103 template <typename FormsT = Aws::String>
104 void SetForms(FormsT&& value) {
105 m_formsHasBeenSet = true;
106 m_forms = std::forward<FormsT>(value);
107 }
108 template <typename FormsT = Aws::String>
110 SetForms(std::forward<FormsT>(value));
111 return *this;
112 }
114
116
120 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const { return m_glossaryTerms; }
121 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
122 template <typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
123 void SetGlossaryTerms(GlossaryTermsT&& value) {
124 m_glossaryTermsHasBeenSet = true;
125 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
126 }
127 template <typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
128 SubscribedAssetListing& WithGlossaryTerms(GlossaryTermsT&& value) {
129 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
130 return *this;
131 }
132 template <typename GlossaryTermsT = DetailedGlossaryTerm>
133 SubscribedAssetListing& AddGlossaryTerms(GlossaryTermsT&& value) {
134 m_glossaryTermsHasBeenSet = true;
135 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
136 return *this;
137 }
139
141
144 inline const AssetScope& GetAssetScope() const { return m_assetScope; }
145 inline bool AssetScopeHasBeenSet() const { return m_assetScopeHasBeenSet; }
146 template <typename AssetScopeT = AssetScope>
147 void SetAssetScope(AssetScopeT&& value) {
148 m_assetScopeHasBeenSet = true;
149 m_assetScope = std::forward<AssetScopeT>(value);
150 }
151 template <typename AssetScopeT = AssetScope>
153 SetAssetScope(std::forward<AssetScopeT>(value));
154 return *this;
155 }
157
159
162 inline const Permissions& GetPermissions() const { return m_permissions; }
163 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
164 template <typename PermissionsT = Permissions>
165 void SetPermissions(PermissionsT&& value) {
166 m_permissionsHasBeenSet = true;
167 m_permissions = std::forward<PermissionsT>(value);
168 }
169 template <typename PermissionsT = Permissions>
171 SetPermissions(std::forward<PermissionsT>(value));
172 return *this;
173 }
175 private:
176 Aws::String m_entityId;
177
178 Aws::String m_entityRevision;
179
180 Aws::String m_entityType;
181
182 Aws::String m_forms;
183
184 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
185
186 AssetScope m_assetScope;
187
188 Permissions m_permissions;
189 bool m_entityIdHasBeenSet = false;
190 bool m_entityRevisionHasBeenSet = false;
191 bool m_entityTypeHasBeenSet = false;
192 bool m_formsHasBeenSet = false;
193 bool m_glossaryTermsHasBeenSet = false;
194 bool m_assetScopeHasBeenSet = false;
195 bool m_permissionsHasBeenSet = false;
196};
197
198} // namespace Model
199} // namespace DataZone
200} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SubscribedAssetListing & WithEntityRevision(EntityRevisionT &&value)
SubscribedAssetListing & WithForms(FormsT &&value)
AWS_DATAZONE_API SubscribedAssetListing(Aws::Utils::Json::JsonView jsonValue)
SubscribedAssetListing & WithPermissions(PermissionsT &&value)
SubscribedAssetListing & WithAssetScope(AssetScopeT &&value)
SubscribedAssetListing & WithEntityId(EntityIdT &&value)
SubscribedAssetListing & AddGlossaryTerms(GlossaryTermsT &&value)
SubscribedAssetListing & WithEntityType(EntityTypeT &&value)
SubscribedAssetListing & WithGlossaryTerms(GlossaryTermsT &&value)
AWS_DATAZONE_API SubscribedAssetListing()=default
AWS_DATAZONE_API SubscribedAssetListing & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DetailedGlossaryTerm > & GetGlossaryTerms() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue