AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
AssetListing.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/DetailedGlossaryTerm.h>
12#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.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 AssetListing() = default;
35 AWS_DATAZONE_API AssetListing(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetAssetId() const { return m_assetId; }
44 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
45 template <typename AssetIdT = Aws::String>
46 void SetAssetId(AssetIdT&& value) {
47 m_assetIdHasBeenSet = true;
48 m_assetId = std::forward<AssetIdT>(value);
49 }
50 template <typename AssetIdT = Aws::String>
51 AssetListing& WithAssetId(AssetIdT&& value) {
52 SetAssetId(std::forward<AssetIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetAssetRevision() const { return m_assetRevision; }
62 inline bool AssetRevisionHasBeenSet() const { return m_assetRevisionHasBeenSet; }
63 template <typename AssetRevisionT = Aws::String>
64 void SetAssetRevision(AssetRevisionT&& value) {
65 m_assetRevisionHasBeenSet = true;
66 m_assetRevision = std::forward<AssetRevisionT>(value);
67 }
68 template <typename AssetRevisionT = Aws::String>
69 AssetListing& WithAssetRevision(AssetRevisionT&& value) {
70 SetAssetRevision(std::forward<AssetRevisionT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetAssetType() const { return m_assetType; }
80 inline bool AssetTypeHasBeenSet() const { return m_assetTypeHasBeenSet; }
81 template <typename AssetTypeT = Aws::String>
82 void SetAssetType(AssetTypeT&& value) {
83 m_assetTypeHasBeenSet = true;
84 m_assetType = std::forward<AssetTypeT>(value);
85 }
86 template <typename AssetTypeT = Aws::String>
87 AssetListing& WithAssetType(AssetTypeT&& value) {
88 SetAssetType(std::forward<AssetTypeT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
99 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
100 template <typename CreatedAtT = Aws::Utils::DateTime>
101 void SetCreatedAt(CreatedAtT&& value) {
102 m_createdAtHasBeenSet = true;
103 m_createdAt = std::forward<CreatedAtT>(value);
104 }
105 template <typename CreatedAtT = Aws::Utils::DateTime>
106 AssetListing& WithCreatedAt(CreatedAtT&& value) {
107 SetCreatedAt(std::forward<CreatedAtT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetForms() const { return m_forms; }
118 inline bool FormsHasBeenSet() const { return m_formsHasBeenSet; }
119 template <typename FormsT = Aws::String>
120 void SetForms(FormsT&& value) {
121 m_formsHasBeenSet = true;
122 m_forms = std::forward<FormsT>(value);
123 }
124 template <typename FormsT = Aws::String>
125 AssetListing& WithForms(FormsT&& value) {
126 SetForms(std::forward<FormsT>(value));
127 return *this;
128 }
130
132
137 return m_latestTimeSeriesDataPointForms;
138 }
139 inline bool LatestTimeSeriesDataPointFormsHasBeenSet() const { return m_latestTimeSeriesDataPointFormsHasBeenSet; }
140 template <typename LatestTimeSeriesDataPointFormsT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
141 void SetLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT&& value) {
142 m_latestTimeSeriesDataPointFormsHasBeenSet = true;
143 m_latestTimeSeriesDataPointForms = std::forward<LatestTimeSeriesDataPointFormsT>(value);
144 }
145 template <typename LatestTimeSeriesDataPointFormsT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
146 AssetListing& WithLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT&& value) {
147 SetLatestTimeSeriesDataPointForms(std::forward<LatestTimeSeriesDataPointFormsT>(value));
148 return *this;
149 }
150 template <typename LatestTimeSeriesDataPointFormsT = TimeSeriesDataPointSummaryFormOutput>
151 AssetListing& AddLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT&& value) {
152 m_latestTimeSeriesDataPointFormsHasBeenSet = true;
153 m_latestTimeSeriesDataPointForms.emplace_back(std::forward<LatestTimeSeriesDataPointFormsT>(value));
154 return *this;
155 }
157
159
163 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const { return m_glossaryTerms; }
164 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
165 template <typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
166 void SetGlossaryTerms(GlossaryTermsT&& value) {
167 m_glossaryTermsHasBeenSet = true;
168 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
169 }
170 template <typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
171 AssetListing& WithGlossaryTerms(GlossaryTermsT&& value) {
172 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
173 return *this;
174 }
175 template <typename GlossaryTermsT = DetailedGlossaryTerm>
176 AssetListing& AddGlossaryTerms(GlossaryTermsT&& value) {
177 m_glossaryTermsHasBeenSet = true;
178 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Vector<DetailedGlossaryTerm>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
188 inline bool GovernedGlossaryTermsHasBeenSet() const { return m_governedGlossaryTermsHasBeenSet; }
189 template <typename GovernedGlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
190 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
191 m_governedGlossaryTermsHasBeenSet = true;
192 m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value);
193 }
194 template <typename GovernedGlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
195 AssetListing& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
196 SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value));
197 return *this;
198 }
199 template <typename GovernedGlossaryTermsT = DetailedGlossaryTerm>
200 AssetListing& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
201 m_governedGlossaryTermsHasBeenSet = true;
202 m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value));
203 return *this;
204 }
206
208
212 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
213 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
214 template <typename OwningProjectIdT = Aws::String>
215 void SetOwningProjectId(OwningProjectIdT&& value) {
216 m_owningProjectIdHasBeenSet = true;
217 m_owningProjectId = std::forward<OwningProjectIdT>(value);
218 }
219 template <typename OwningProjectIdT = Aws::String>
220 AssetListing& WithOwningProjectId(OwningProjectIdT&& value) {
221 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
222 return *this;
223 }
225 private:
226 Aws::String m_assetId;
227
228 Aws::String m_assetRevision;
229
230 Aws::String m_assetType;
231
232 Aws::Utils::DateTime m_createdAt{};
233
234 Aws::String m_forms;
235
236 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointForms;
237
238 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
239
240 Aws::Vector<DetailedGlossaryTerm> m_governedGlossaryTerms;
241
242 Aws::String m_owningProjectId;
243 bool m_assetIdHasBeenSet = false;
244 bool m_assetRevisionHasBeenSet = false;
245 bool m_assetTypeHasBeenSet = false;
246 bool m_createdAtHasBeenSet = false;
247 bool m_formsHasBeenSet = false;
248 bool m_latestTimeSeriesDataPointFormsHasBeenSet = false;
249 bool m_glossaryTermsHasBeenSet = false;
250 bool m_governedGlossaryTermsHasBeenSet = false;
251 bool m_owningProjectIdHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace DataZone
256} // namespace Aws
const Aws::Vector< DetailedGlossaryTerm > & GetGlossaryTerms() const
void SetOwningProjectId(OwningProjectIdT &&value)
AssetListing & WithLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetListing & WithGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
void SetAssetRevision(AssetRevisionT &&value)
const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > & GetLatestTimeSeriesDataPointForms() const
void SetLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT &&value)
AssetListing & WithCreatedAt(CreatedAtT &&value)
bool LatestTimeSeriesDataPointFormsHasBeenSet() const
void SetGlossaryTerms(GlossaryTermsT &&value)
AWS_DATAZONE_API AssetListing & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetForms() const
AssetListing & WithOwningProjectId(OwningProjectIdT &&value)
void SetAssetType(AssetTypeT &&value)
AWS_DATAZONE_API AssetListing()=default
void SetGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
AssetListing & AddLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT &&value)
AssetListing & WithAssetId(AssetIdT &&value)
AssetListing & WithAssetType(AssetTypeT &&value)
const Aws::String & GetAssetId() const
AssetListing & WithGlossaryTerms(GlossaryTermsT &&value)
AssetListing & WithForms(FormsT &&value)
const Aws::String & GetOwningProjectId() const
AWS_DATAZONE_API AssetListing(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAssetRevision() const
AssetListing & AddGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
const Aws::Vector< DetailedGlossaryTerm > & GetGovernedGlossaryTerms() const
void SetAssetId(AssetIdT &&value)
AssetListing & WithAssetRevision(AssetRevisionT &&value)
const Aws::String & GetAssetType() const
AssetListing & AddGlossaryTerms(GlossaryTermsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue