AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssetListing.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/DetailedGlossaryTerm.h>
12#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataZone
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_DATAZONE_API AssetListing() = default;
40 AWS_DATAZONE_API AssetListing(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAssetId() const { return m_assetId; }
50 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
51 template<typename AssetIdT = Aws::String>
52 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet = true; m_assetId = std::forward<AssetIdT>(value); }
53 template<typename AssetIdT = Aws::String>
54 AssetListing& WithAssetId(AssetIdT&& value) { SetAssetId(std::forward<AssetIdT>(value)); return *this;}
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) { m_assetRevisionHasBeenSet = true; m_assetRevision = std::forward<AssetRevisionT>(value); }
65 template<typename AssetRevisionT = Aws::String>
66 AssetListing& WithAssetRevision(AssetRevisionT&& value) { SetAssetRevision(std::forward<AssetRevisionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetAssetType() const { return m_assetType; }
74 inline bool AssetTypeHasBeenSet() const { return m_assetTypeHasBeenSet; }
75 template<typename AssetTypeT = Aws::String>
76 void SetAssetType(AssetTypeT&& value) { m_assetTypeHasBeenSet = true; m_assetType = std::forward<AssetTypeT>(value); }
77 template<typename AssetTypeT = Aws::String>
78 AssetListing& WithAssetType(AssetTypeT&& value) { SetAssetType(std::forward<AssetTypeT>(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
87 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
88 template<typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
90 template<typename CreatedAtT = Aws::Utils::DateTime>
91 AssetListing& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
93
95
99 inline const Aws::String& GetForms() const { return m_forms; }
100 inline bool FormsHasBeenSet() const { return m_formsHasBeenSet; }
101 template<typename FormsT = Aws::String>
102 void SetForms(FormsT&& value) { m_formsHasBeenSet = true; m_forms = std::forward<FormsT>(value); }
103 template<typename FormsT = Aws::String>
104 AssetListing& WithForms(FormsT&& value) { SetForms(std::forward<FormsT>(value)); return *this;}
106
108
112 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const { return m_glossaryTerms; }
113 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
114 template<typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
115 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
116 template<typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
117 AssetListing& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
118 template<typename GlossaryTermsT = DetailedGlossaryTerm>
119 AssetListing& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
121
123
127 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointForms() const { return m_latestTimeSeriesDataPointForms; }
128 inline bool LatestTimeSeriesDataPointFormsHasBeenSet() const { return m_latestTimeSeriesDataPointFormsHasBeenSet; }
129 template<typename LatestTimeSeriesDataPointFormsT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
130 void SetLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT&& value) { m_latestTimeSeriesDataPointFormsHasBeenSet = true; m_latestTimeSeriesDataPointForms = std::forward<LatestTimeSeriesDataPointFormsT>(value); }
131 template<typename LatestTimeSeriesDataPointFormsT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
132 AssetListing& WithLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT&& value) { SetLatestTimeSeriesDataPointForms(std::forward<LatestTimeSeriesDataPointFormsT>(value)); return *this;}
133 template<typename LatestTimeSeriesDataPointFormsT = TimeSeriesDataPointSummaryFormOutput>
134 AssetListing& AddLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT&& value) { m_latestTimeSeriesDataPointFormsHasBeenSet = true; m_latestTimeSeriesDataPointForms.emplace_back(std::forward<LatestTimeSeriesDataPointFormsT>(value)); return *this; }
136
138
142 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
143 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
144 template<typename OwningProjectIdT = Aws::String>
145 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
146 template<typename OwningProjectIdT = Aws::String>
147 AssetListing& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
149 private:
150
151 Aws::String m_assetId;
152 bool m_assetIdHasBeenSet = false;
153
154 Aws::String m_assetRevision;
155 bool m_assetRevisionHasBeenSet = false;
156
157 Aws::String m_assetType;
158 bool m_assetTypeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_createdAt{};
161 bool m_createdAtHasBeenSet = false;
162
163 Aws::String m_forms;
164 bool m_formsHasBeenSet = false;
165
166 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
167 bool m_glossaryTermsHasBeenSet = false;
168
169 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointForms;
170 bool m_latestTimeSeriesDataPointFormsHasBeenSet = false;
171
172 Aws::String m_owningProjectId;
173 bool m_owningProjectIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace DataZone
178} // 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
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
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
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