AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GetMetadataGenerationRunResult.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/MetadataGenerationRunStatus.h>
12#include <aws/datazone/model/MetadataGenerationRunTarget.h>
13#include <aws/datazone/model/MetadataGenerationRunType.h>
14#include <aws/datazone/model/MetadataGenerationRunTypeStat.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone {
28namespace Model {
30 public:
31 AWS_DATAZONE_API GetMetadataGenerationRunResult() = default;
34
36
40 inline const Aws::String& GetDomainId() const { return m_domainId; }
41 template <typename DomainIdT = Aws::String>
42 void SetDomainId(DomainIdT&& value) {
43 m_domainIdHasBeenSet = true;
44 m_domainId = std::forward<DomainIdT>(value);
45 }
46 template <typename DomainIdT = Aws::String>
48 SetDomainId(std::forward<DomainIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69
71
74 inline const MetadataGenerationRunTarget& GetTarget() const { return m_target; }
75 template <typename TargetT = MetadataGenerationRunTarget>
76 void SetTarget(TargetT&& value) {
77 m_targetHasBeenSet = true;
78 m_target = std::forward<TargetT>(value);
79 }
80 template <typename TargetT = MetadataGenerationRunTarget>
82 SetTarget(std::forward<TargetT>(value));
83 return *this;
84 }
86
88
91 inline MetadataGenerationRunStatus GetStatus() const { return m_status; }
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(value);
98 return *this;
99 }
101
103
106 inline const Aws::Vector<MetadataGenerationRunType>& GetTypes() const { return m_types; }
107 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
108 void SetTypes(TypesT&& value) {
109 m_typesHasBeenSet = true;
110 m_types = std::forward<TypesT>(value);
111 }
112 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
114 SetTypes(std::forward<TypesT>(value));
115 return *this;
116 }
118 m_typesHasBeenSet = true;
119 m_types.push_back(value);
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
129 template <typename CreatedAtT = Aws::Utils::DateTime>
130 void SetCreatedAt(CreatedAtT&& value) {
131 m_createdAtHasBeenSet = true;
132 m_createdAt = std::forward<CreatedAtT>(value);
133 }
134 template <typename CreatedAtT = Aws::Utils::DateTime>
136 SetCreatedAt(std::forward<CreatedAtT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
146 template <typename CreatedByT = Aws::String>
147 void SetCreatedBy(CreatedByT&& value) {
148 m_createdByHasBeenSet = true;
149 m_createdBy = std::forward<CreatedByT>(value);
150 }
151 template <typename CreatedByT = Aws::String>
153 SetCreatedBy(std::forward<CreatedByT>(value));
154 return *this;
155 }
157
159
163 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
164 template <typename OwningProjectIdT = Aws::String>
165 void SetOwningProjectId(OwningProjectIdT&& value) {
166 m_owningProjectIdHasBeenSet = true;
167 m_owningProjectId = std::forward<OwningProjectIdT>(value);
168 }
169 template <typename OwningProjectIdT = Aws::String>
171 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::Vector<MetadataGenerationRunTypeStat>& GetTypeStats() const { return m_typeStats; }
181 template <typename TypeStatsT = Aws::Vector<MetadataGenerationRunTypeStat>>
182 void SetTypeStats(TypeStatsT&& value) {
183 m_typeStatsHasBeenSet = true;
184 m_typeStats = std::forward<TypeStatsT>(value);
185 }
186 template <typename TypeStatsT = Aws::Vector<MetadataGenerationRunTypeStat>>
188 SetTypeStats(std::forward<TypeStatsT>(value));
189 return *this;
190 }
191 template <typename TypeStatsT = MetadataGenerationRunTypeStat>
193 m_typeStatsHasBeenSet = true;
194 m_typeStats.emplace_back(std::forward<TypeStatsT>(value));
195 return *this;
196 }
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template <typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) {
204 m_requestIdHasBeenSet = true;
205 m_requestId = std::forward<RequestIdT>(value);
206 }
207 template <typename RequestIdT = Aws::String>
209 SetRequestId(std::forward<RequestIdT>(value));
210 return *this;
211 }
213 private:
214 Aws::String m_domainId;
215
216 Aws::String m_id;
217
219
221
223
224 Aws::Utils::DateTime m_createdAt{};
225
226 Aws::String m_createdBy;
227
228 Aws::String m_owningProjectId;
229
231
232 Aws::String m_requestId;
233 bool m_domainIdHasBeenSet = false;
234 bool m_idHasBeenSet = false;
235 bool m_targetHasBeenSet = false;
236 bool m_statusHasBeenSet = false;
237 bool m_typesHasBeenSet = false;
238 bool m_createdAtHasBeenSet = false;
239 bool m_createdByHasBeenSet = false;
240 bool m_owningProjectIdHasBeenSet = false;
241 bool m_typeStatsHasBeenSet = false;
242 bool m_requestIdHasBeenSet = false;
243};
244
245} // namespace Model
246} // namespace DataZone
247} // namespace Aws
const Aws::Vector< MetadataGenerationRunType > & GetTypes() const
GetMetadataGenerationRunResult & WithTypes(TypesT &&value)
GetMetadataGenerationRunResult & WithStatus(MetadataGenerationRunStatus value)
GetMetadataGenerationRunResult & WithOwningProjectId(OwningProjectIdT &&value)
GetMetadataGenerationRunResult & WithRequestId(RequestIdT &&value)
GetMetadataGenerationRunResult & WithTypeStats(TypeStatsT &&value)
GetMetadataGenerationRunResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetMetadataGenerationRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API GetMetadataGenerationRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API GetMetadataGenerationRunResult()=default
GetMetadataGenerationRunResult & WithTarget(TargetT &&value)
GetMetadataGenerationRunResult & WithCreatedAt(CreatedAtT &&value)
GetMetadataGenerationRunResult & AddTypeStats(TypeStatsT &&value)
GetMetadataGenerationRunResult & WithCreatedBy(CreatedByT &&value)
const Aws::Vector< MetadataGenerationRunTypeStat > & GetTypeStats() const
GetMetadataGenerationRunResult & AddTypes(MetadataGenerationRunType 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