AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
StartMetadataGenerationRunResult.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/MetadataGenerationRunType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataZone {
26namespace Model {
28 public:
29 AWS_DATAZONE_API StartMetadataGenerationRunResult() = default;
32
34
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetId() const { return m_id; }
56 template <typename IdT = Aws::String>
57 void SetId(IdT&& value) {
58 m_idHasBeenSet = true;
59 m_id = std::forward<IdT>(value);
60 }
61 template <typename IdT = Aws::String>
63 SetId(std::forward<IdT>(value));
64 return *this;
65 }
67
69
72 inline MetadataGenerationRunStatus GetStatus() const { return m_status; }
74 m_statusHasBeenSet = true;
75 m_status = value;
76 }
78 SetStatus(value);
79 return *this;
80 }
82
84
87 inline const Aws::Vector<MetadataGenerationRunType>& GetTypes() const { return m_types; }
88 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
89 void SetTypes(TypesT&& value) {
90 m_typesHasBeenSet = true;
91 m_types = std::forward<TypesT>(value);
92 }
93 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
95 SetTypes(std::forward<TypesT>(value));
96 return *this;
97 }
99 m_typesHasBeenSet = true;
100 m_types.push_back(value);
101 return *this;
102 }
104
106
109 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
110 template <typename CreatedAtT = Aws::Utils::DateTime>
111 void SetCreatedAt(CreatedAtT&& value) {
112 m_createdAtHasBeenSet = true;
113 m_createdAt = std::forward<CreatedAtT>(value);
114 }
115 template <typename CreatedAtT = Aws::Utils::DateTime>
117 SetCreatedAt(std::forward<CreatedAtT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
127 template <typename CreatedByT = Aws::String>
128 void SetCreatedBy(CreatedByT&& value) {
129 m_createdByHasBeenSet = true;
130 m_createdBy = std::forward<CreatedByT>(value);
131 }
132 template <typename CreatedByT = Aws::String>
134 SetCreatedBy(std::forward<CreatedByT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
145 template <typename OwningProjectIdT = Aws::String>
146 void SetOwningProjectId(OwningProjectIdT&& value) {
147 m_owningProjectIdHasBeenSet = true;
148 m_owningProjectId = std::forward<OwningProjectIdT>(value);
149 }
150 template <typename OwningProjectIdT = Aws::String>
152 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
153 return *this;
154 }
156
158
159 inline const Aws::String& GetRequestId() const { return m_requestId; }
160 template <typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) {
162 m_requestIdHasBeenSet = true;
163 m_requestId = std::forward<RequestIdT>(value);
164 }
165 template <typename RequestIdT = Aws::String>
167 SetRequestId(std::forward<RequestIdT>(value));
168 return *this;
169 }
171 private:
172 Aws::String m_domainId;
173
174 Aws::String m_id;
175
177
179
180 Aws::Utils::DateTime m_createdAt{};
181
182 Aws::String m_createdBy;
183
184 Aws::String m_owningProjectId;
185
186 Aws::String m_requestId;
187 bool m_domainIdHasBeenSet = false;
188 bool m_idHasBeenSet = false;
189 bool m_statusHasBeenSet = false;
190 bool m_typesHasBeenSet = false;
191 bool m_createdAtHasBeenSet = false;
192 bool m_createdByHasBeenSet = false;
193 bool m_owningProjectIdHasBeenSet = false;
194 bool m_requestIdHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace DataZone
199} // 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