AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetMetadataGenerationRunResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/MetadataGenerationRunStatus.h>
13#include <aws/datazone/model/MetadataGenerationRunTarget.h>
14#include <aws/datazone/model/MetadataGenerationRunType.h>
15#include <aws/datazone/model/MetadataGenerationRunTypeStat.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone {
29namespace Model {
31 public:
32 AWS_DATAZONE_API GetMetadataGenerationRunResult() = default;
35
37
41 inline const Aws::String& GetDomainId() const { return m_domainId; }
42 template <typename DomainIdT = Aws::String>
43 void SetDomainId(DomainIdT&& value) {
44 m_domainIdHasBeenSet = true;
45 m_domainId = std::forward<DomainIdT>(value);
46 }
47 template <typename DomainIdT = Aws::String>
49 SetDomainId(std::forward<DomainIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline const MetadataGenerationRunTarget& GetTarget() const { return m_target; }
76 template <typename TargetT = MetadataGenerationRunTarget>
77 void SetTarget(TargetT&& value) {
78 m_targetHasBeenSet = true;
79 m_target = std::forward<TargetT>(value);
80 }
81 template <typename TargetT = MetadataGenerationRunTarget>
83 SetTarget(std::forward<TargetT>(value));
84 return *this;
85 }
87
89
92 inline MetadataGenerationRunStatus GetStatus() const { return m_status; }
94 m_statusHasBeenSet = true;
95 m_status = value;
96 }
98 SetStatus(value);
99 return *this;
100 }
102
104
107 inline const Aws::Vector<MetadataGenerationRunType>& GetTypes() const { return m_types; }
108 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
109 void SetTypes(TypesT&& value) {
110 m_typesHasBeenSet = true;
111 m_types = std::forward<TypesT>(value);
112 }
113 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
115 SetTypes(std::forward<TypesT>(value));
116 return *this;
117 }
119 m_typesHasBeenSet = true;
120 m_types.push_back(value);
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
130 template <typename CreatedAtT = Aws::Utils::DateTime>
131 void SetCreatedAt(CreatedAtT&& value) {
132 m_createdAtHasBeenSet = true;
133 m_createdAt = std::forward<CreatedAtT>(value);
134 }
135 template <typename CreatedAtT = Aws::Utils::DateTime>
137 SetCreatedAt(std::forward<CreatedAtT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
147 template <typename CreatedByT = Aws::String>
148 void SetCreatedBy(CreatedByT&& value) {
149 m_createdByHasBeenSet = true;
150 m_createdBy = std::forward<CreatedByT>(value);
151 }
152 template <typename CreatedByT = Aws::String>
154 SetCreatedBy(std::forward<CreatedByT>(value));
155 return *this;
156 }
158
160
164 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
165 template <typename OwningProjectIdT = Aws::String>
166 void SetOwningProjectId(OwningProjectIdT&& value) {
167 m_owningProjectIdHasBeenSet = true;
168 m_owningProjectId = std::forward<OwningProjectIdT>(value);
169 }
170 template <typename OwningProjectIdT = Aws::String>
172 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Vector<MetadataGenerationRunTypeStat>& GetTypeStats() const { return m_typeStats; }
182 template <typename TypeStatsT = Aws::Vector<MetadataGenerationRunTypeStat>>
183 void SetTypeStats(TypeStatsT&& value) {
184 m_typeStatsHasBeenSet = true;
185 m_typeStats = std::forward<TypeStatsT>(value);
186 }
187 template <typename TypeStatsT = Aws::Vector<MetadataGenerationRunTypeStat>>
189 SetTypeStats(std::forward<TypeStatsT>(value));
190 return *this;
191 }
192 template <typename TypeStatsT = MetadataGenerationRunTypeStat>
194 m_typeStatsHasBeenSet = true;
195 m_typeStats.emplace_back(std::forward<TypeStatsT>(value));
196 return *this;
197 }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template <typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) {
205 m_requestIdHasBeenSet = true;
206 m_requestId = std::forward<RequestIdT>(value);
207 }
208 template <typename RequestIdT = Aws::String>
210 SetRequestId(std::forward<RequestIdT>(value));
211 return *this;
212 }
214 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
215
216 private:
217 Aws::String m_domainId;
218
219 Aws::String m_id;
220
222
224
226
227 Aws::Utils::DateTime m_createdAt{};
228
229 Aws::String m_createdBy;
230
231 Aws::String m_owningProjectId;
232
234
235 Aws::String m_requestId;
236 Aws::Http::HttpResponseCode m_HttpResponseCode;
237 bool m_domainIdHasBeenSet = false;
238 bool m_idHasBeenSet = false;
239 bool m_targetHasBeenSet = false;
240 bool m_statusHasBeenSet = false;
241 bool m_typesHasBeenSet = false;
242 bool m_createdAtHasBeenSet = false;
243 bool m_createdByHasBeenSet = false;
244 bool m_owningProjectIdHasBeenSet = false;
245 bool m_typeStatsHasBeenSet = false;
246 bool m_requestIdHasBeenSet = false;
247};
248
249} // namespace Model
250} // namespace DataZone
251} // 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