AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SubscribedAssetListing.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AssetScope.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/DetailedGlossaryTerm.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DATAZONE_API SubscribedAssetListing() = default;
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AssetScope& GetAssetScope() const { return m_assetScope; }
49 inline bool AssetScopeHasBeenSet() const { return m_assetScopeHasBeenSet; }
50 template<typename AssetScopeT = AssetScope>
51 void SetAssetScope(AssetScopeT&& value) { m_assetScopeHasBeenSet = true; m_assetScope = std::forward<AssetScopeT>(value); }
52 template<typename AssetScopeT = AssetScope>
53 SubscribedAssetListing& WithAssetScope(AssetScopeT&& value) { SetAssetScope(std::forward<AssetScopeT>(value)); return *this;}
55
57
61 inline const Aws::String& GetEntityId() const { return m_entityId; }
62 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
63 template<typename EntityIdT = Aws::String>
64 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
65 template<typename EntityIdT = Aws::String>
66 SubscribedAssetListing& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
68
70
74 inline const Aws::String& GetEntityRevision() const { return m_entityRevision; }
75 inline bool EntityRevisionHasBeenSet() const { return m_entityRevisionHasBeenSet; }
76 template<typename EntityRevisionT = Aws::String>
77 void SetEntityRevision(EntityRevisionT&& value) { m_entityRevisionHasBeenSet = true; m_entityRevision = std::forward<EntityRevisionT>(value); }
78 template<typename EntityRevisionT = Aws::String>
79 SubscribedAssetListing& WithEntityRevision(EntityRevisionT&& value) { SetEntityRevision(std::forward<EntityRevisionT>(value)); return *this;}
81
83
87 inline const Aws::String& GetEntityType() const { return m_entityType; }
88 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
89 template<typename EntityTypeT = Aws::String>
90 void SetEntityType(EntityTypeT&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::forward<EntityTypeT>(value); }
91 template<typename EntityTypeT = Aws::String>
92 SubscribedAssetListing& WithEntityType(EntityTypeT&& value) { SetEntityType(std::forward<EntityTypeT>(value)); return *this;}
94
96
100 inline const Aws::String& GetForms() const { return m_forms; }
101 inline bool FormsHasBeenSet() const { return m_formsHasBeenSet; }
102 template<typename FormsT = Aws::String>
103 void SetForms(FormsT&& value) { m_formsHasBeenSet = true; m_forms = std::forward<FormsT>(value); }
104 template<typename FormsT = Aws::String>
105 SubscribedAssetListing& WithForms(FormsT&& value) { SetForms(std::forward<FormsT>(value)); return *this;}
107
109
113 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const { return m_glossaryTerms; }
114 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
115 template<typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
116 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
117 template<typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
118 SubscribedAssetListing& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
119 template<typename GlossaryTermsT = DetailedGlossaryTerm>
120 SubscribedAssetListing& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
122 private:
123
124 AssetScope m_assetScope;
125 bool m_assetScopeHasBeenSet = false;
126
127 Aws::String m_entityId;
128 bool m_entityIdHasBeenSet = false;
129
130 Aws::String m_entityRevision;
131 bool m_entityRevisionHasBeenSet = false;
132
133 Aws::String m_entityType;
134 bool m_entityTypeHasBeenSet = false;
135
136 Aws::String m_forms;
137 bool m_formsHasBeenSet = false;
138
139 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
140 bool m_glossaryTermsHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace DataZone
145} // 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 & 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