AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
StartMetadataGenerationRunResult.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/MetadataGenerationRunType.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone {
27namespace Model {
29 public:
30 AWS_DATAZONE_API StartMetadataGenerationRunResult() = default;
33
35
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 template <typename IdT = Aws::String>
58 void SetId(IdT&& value) {
59 m_idHasBeenSet = true;
60 m_id = std::forward<IdT>(value);
61 }
62 template <typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
65 return *this;
66 }
68
70
73 inline MetadataGenerationRunStatus GetStatus() const { return m_status; }
75 m_statusHasBeenSet = true;
76 m_status = value;
77 }
79 SetStatus(value);
80 return *this;
81 }
83
85
88 inline const Aws::Vector<MetadataGenerationRunType>& GetTypes() const { return m_types; }
89 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
90 void SetTypes(TypesT&& value) {
91 m_typesHasBeenSet = true;
92 m_types = std::forward<TypesT>(value);
93 }
94 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
96 SetTypes(std::forward<TypesT>(value));
97 return *this;
98 }
100 m_typesHasBeenSet = true;
101 m_types.push_back(value);
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
111 template <typename CreatedAtT = Aws::Utils::DateTime>
112 void SetCreatedAt(CreatedAtT&& value) {
113 m_createdAtHasBeenSet = true;
114 m_createdAt = std::forward<CreatedAtT>(value);
115 }
116 template <typename CreatedAtT = Aws::Utils::DateTime>
118 SetCreatedAt(std::forward<CreatedAtT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
128 template <typename CreatedByT = Aws::String>
129 void SetCreatedBy(CreatedByT&& value) {
130 m_createdByHasBeenSet = true;
131 m_createdBy = std::forward<CreatedByT>(value);
132 }
133 template <typename CreatedByT = Aws::String>
135 SetCreatedBy(std::forward<CreatedByT>(value));
136 return *this;
137 }
139
141
145 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
146 template <typename OwningProjectIdT = Aws::String>
147 void SetOwningProjectId(OwningProjectIdT&& value) {
148 m_owningProjectIdHasBeenSet = true;
149 m_owningProjectId = std::forward<OwningProjectIdT>(value);
150 }
151 template <typename OwningProjectIdT = Aws::String>
153 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
154 return *this;
155 }
157
159
160 inline const Aws::String& GetRequestId() const { return m_requestId; }
161 template <typename RequestIdT = Aws::String>
162 void SetRequestId(RequestIdT&& value) {
163 m_requestIdHasBeenSet = true;
164 m_requestId = std::forward<RequestIdT>(value);
165 }
166 template <typename RequestIdT = Aws::String>
168 SetRequestId(std::forward<RequestIdT>(value));
169 return *this;
170 }
172 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
173
174 private:
175 Aws::String m_domainId;
176
177 Aws::String m_id;
178
180
182
183 Aws::Utils::DateTime m_createdAt{};
184
185 Aws::String m_createdBy;
186
187 Aws::String m_owningProjectId;
188
189 Aws::String m_requestId;
190 Aws::Http::HttpResponseCode m_HttpResponseCode;
191 bool m_domainIdHasBeenSet = false;
192 bool m_idHasBeenSet = false;
193 bool m_statusHasBeenSet = false;
194 bool m_typesHasBeenSet = false;
195 bool m_createdAtHasBeenSet = false;
196 bool m_createdByHasBeenSet = false;
197 bool m_owningProjectIdHasBeenSet = false;
198 bool m_requestIdHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace DataZone
203} // namespace Aws
AWS_DATAZONE_API StartMetadataGenerationRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API StartMetadataGenerationRunResult()=default
StartMetadataGenerationRunResult & WithCreatedAt(CreatedAtT &&value)
StartMetadataGenerationRunResult & WithTypes(TypesT &&value)
StartMetadataGenerationRunResult & AddTypes(MetadataGenerationRunType value)
StartMetadataGenerationRunResult & WithStatus(MetadataGenerationRunStatus value)
StartMetadataGenerationRunResult & WithCreatedBy(CreatedByT &&value)
StartMetadataGenerationRunResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API StartMetadataGenerationRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartMetadataGenerationRunResult & WithOwningProjectId(OwningProjectIdT &&value)
const Aws::Vector< MetadataGenerationRunType > & GetTypes() const
StartMetadataGenerationRunResult & WithDomainId(DomainIdT &&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