AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
MetadataGenerationRunItem.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
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone {
25namespace Model {
26
33 public:
34 AWS_DATAZONE_API MetadataGenerationRunItem() = default;
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetDomainId() const { return m_domainId; }
45 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
46 template <typename DomainIdT = Aws::String>
47 void SetDomainId(DomainIdT&& value) {
48 m_domainIdHasBeenSet = true;
49 m_domainId = std::forward<DomainIdT>(value);
50 }
51 template <typename DomainIdT = Aws::String>
53 SetDomainId(std::forward<DomainIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetId() const { return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 template <typename IdT = Aws::String>
65 void SetId(IdT&& value) {
66 m_idHasBeenSet = true;
67 m_id = std::forward<IdT>(value);
68 }
69 template <typename IdT = Aws::String>
71 SetId(std::forward<IdT>(value));
72 return *this;
73 }
75
77
80 inline const MetadataGenerationRunTarget& GetTarget() const { return m_target; }
81 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
82 template <typename TargetT = MetadataGenerationRunTarget>
83 void SetTarget(TargetT&& value) {
84 m_targetHasBeenSet = true;
85 m_target = std::forward<TargetT>(value);
86 }
87 template <typename TargetT = MetadataGenerationRunTarget>
89 SetTarget(std::forward<TargetT>(value));
90 return *this;
91 }
93
95
98 inline MetadataGenerationRunStatus GetStatus() const { return m_status; }
99 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 m_statusHasBeenSet = true;
102 m_status = value;
103 }
105 SetStatus(value);
106 return *this;
107 }
109
111
114 inline const Aws::Vector<MetadataGenerationRunType>& GetTypes() const { return m_types; }
115 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
116 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
117 void SetTypes(TypesT&& value) {
118 m_typesHasBeenSet = true;
119 m_types = std::forward<TypesT>(value);
120 }
121 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
123 SetTypes(std::forward<TypesT>(value));
124 return *this;
125 }
127 m_typesHasBeenSet = true;
128 m_types.push_back(value);
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
138 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
139 template <typename CreatedAtT = Aws::Utils::DateTime>
140 void SetCreatedAt(CreatedAtT&& value) {
141 m_createdAtHasBeenSet = true;
142 m_createdAt = std::forward<CreatedAtT>(value);
143 }
144 template <typename CreatedAtT = Aws::Utils::DateTime>
146 SetCreatedAt(std::forward<CreatedAtT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
156 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
157 template <typename CreatedByT = Aws::String>
158 void SetCreatedBy(CreatedByT&& value) {
159 m_createdByHasBeenSet = true;
160 m_createdBy = std::forward<CreatedByT>(value);
161 }
162 template <typename CreatedByT = Aws::String>
164 SetCreatedBy(std::forward<CreatedByT>(value));
165 return *this;
166 }
168
170
174 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
175 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
176 template <typename OwningProjectIdT = Aws::String>
177 void SetOwningProjectId(OwningProjectIdT&& value) {
178 m_owningProjectIdHasBeenSet = true;
179 m_owningProjectId = std::forward<OwningProjectIdT>(value);
180 }
181 template <typename OwningProjectIdT = Aws::String>
183 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
184 return *this;
185 }
187 private:
188 Aws::String m_domainId;
189
190 Aws::String m_id;
191
193
195
197
198 Aws::Utils::DateTime m_createdAt{};
199
200 Aws::String m_createdBy;
201
202 Aws::String m_owningProjectId;
203 bool m_domainIdHasBeenSet = false;
204 bool m_idHasBeenSet = false;
205 bool m_targetHasBeenSet = false;
206 bool m_statusHasBeenSet = false;
207 bool m_typesHasBeenSet = false;
208 bool m_createdAtHasBeenSet = false;
209 bool m_createdByHasBeenSet = false;
210 bool m_owningProjectIdHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace DataZone
215} // namespace Aws
MetadataGenerationRunItem & WithOwningProjectId(OwningProjectIdT &&value)
AWS_DATAZONE_API MetadataGenerationRunItem()=default
MetadataGenerationRunItem & WithCreatedAt(CreatedAtT &&value)
const MetadataGenerationRunTarget & GetTarget() const
AWS_DATAZONE_API MetadataGenerationRunItem(Aws::Utils::Json::JsonView jsonValue)
MetadataGenerationRunItem & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
MetadataGenerationRunItem & WithDomainId(DomainIdT &&value)
MetadataGenerationRunItem & WithTarget(TargetT &&value)
MetadataGenerationRunItem & WithTypes(TypesT &&value)
AWS_DATAZONE_API MetadataGenerationRunItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(MetadataGenerationRunStatus value)
const Aws::Vector< MetadataGenerationRunType > & GetTypes() const
MetadataGenerationRunItem & AddTypes(MetadataGenerationRunType value)
MetadataGenerationRunItem & WithId(IdT &&value)
MetadataGenerationRunItem & WithStatus(MetadataGenerationRunStatus 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