AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DataAutomationProject.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/CustomOutputConfiguration.h>
9#include <aws/bedrock-data-automation/model/DataAutomationLibraryConfiguration.h>
10#include <aws/bedrock-data-automation/model/DataAutomationProjectStage.h>
11#include <aws/bedrock-data-automation/model/DataAutomationProjectStatus.h>
12#include <aws/bedrock-data-automation/model/DataAutomationProjectType.h>
13#include <aws/bedrock-data-automation/model/OverrideConfiguration.h>
14#include <aws/bedrock-data-automation/model/StandardOutputConfiguration.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace BedrockDataAutomation {
29namespace Model {
30
38 public:
39 AWS_BEDROCKDATAAUTOMATION_API DataAutomationProject() = default;
42 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
46 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
47 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
48 template <typename ProjectArnT = Aws::String>
49 void SetProjectArn(ProjectArnT&& value) {
50 m_projectArnHasBeenSet = true;
51 m_projectArn = std::forward<ProjectArnT>(value);
52 }
53 template <typename ProjectArnT = Aws::String>
55 SetProjectArn(std::forward<ProjectArnT>(value));
56 return *this;
57 }
59
61
62 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
63 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
64 template <typename CreationTimeT = Aws::Utils::DateTime>
66 m_creationTimeHasBeenSet = true;
67 m_creationTime = std::forward<CreationTimeT>(value);
68 }
69 template <typename CreationTimeT = Aws::Utils::DateTime>
71 SetCreationTime(std::forward<CreationTimeT>(value));
72 return *this;
73 }
75
77
78 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
79 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
80 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
82 m_lastModifiedTimeHasBeenSet = true;
83 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
84 }
85 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
87 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
88 return *this;
89 }
91
93
94 inline const Aws::String& GetProjectName() const { return m_projectName; }
95 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
96 template <typename ProjectNameT = Aws::String>
98 m_projectNameHasBeenSet = true;
99 m_projectName = std::forward<ProjectNameT>(value);
100 }
101 template <typename ProjectNameT = Aws::String>
103 SetProjectName(std::forward<ProjectNameT>(value));
104 return *this;
105 }
107
109
110 inline DataAutomationProjectStage GetProjectStage() const { return m_projectStage; }
111 inline bool ProjectStageHasBeenSet() const { return m_projectStageHasBeenSet; }
113 m_projectStageHasBeenSet = true;
114 m_projectStage = value;
115 }
117 SetProjectStage(value);
118 return *this;
119 }
121
123
124 inline DataAutomationProjectType GetProjectType() const { return m_projectType; }
125 inline bool ProjectTypeHasBeenSet() const { return m_projectTypeHasBeenSet; }
127 m_projectTypeHasBeenSet = true;
128 m_projectType = value;
129 }
131 SetProjectType(value);
132 return *this;
133 }
135
137
138 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
139 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
140 template <typename ProjectDescriptionT = Aws::String>
142 m_projectDescriptionHasBeenSet = true;
143 m_projectDescription = std::forward<ProjectDescriptionT>(value);
144 }
145 template <typename ProjectDescriptionT = Aws::String>
147 SetProjectDescription(std::forward<ProjectDescriptionT>(value));
148 return *this;
149 }
151
153
154 inline const StandardOutputConfiguration& GetStandardOutputConfiguration() const { return m_standardOutputConfiguration; }
155 inline bool StandardOutputConfigurationHasBeenSet() const { return m_standardOutputConfigurationHasBeenSet; }
156 template <typename StandardOutputConfigurationT = StandardOutputConfiguration>
158 m_standardOutputConfigurationHasBeenSet = true;
159 m_standardOutputConfiguration = std::forward<StandardOutputConfigurationT>(value);
160 }
161 template <typename StandardOutputConfigurationT = StandardOutputConfiguration>
163 SetStandardOutputConfiguration(std::forward<StandardOutputConfigurationT>(value));
164 return *this;
165 }
167
169
170 inline const CustomOutputConfiguration& GetCustomOutputConfiguration() const { return m_customOutputConfiguration; }
171 inline bool CustomOutputConfigurationHasBeenSet() const { return m_customOutputConfigurationHasBeenSet; }
172 template <typename CustomOutputConfigurationT = CustomOutputConfiguration>
174 m_customOutputConfigurationHasBeenSet = true;
175 m_customOutputConfiguration = std::forward<CustomOutputConfigurationT>(value);
176 }
177 template <typename CustomOutputConfigurationT = CustomOutputConfiguration>
179 SetCustomOutputConfiguration(std::forward<CustomOutputConfigurationT>(value));
180 return *this;
181 }
183
185
186 inline const OverrideConfiguration& GetOverrideConfiguration() const { return m_overrideConfiguration; }
187 inline bool OverrideConfigurationHasBeenSet() const { return m_overrideConfigurationHasBeenSet; }
188 template <typename OverrideConfigurationT = OverrideConfiguration>
190 m_overrideConfigurationHasBeenSet = true;
191 m_overrideConfiguration = std::forward<OverrideConfigurationT>(value);
192 }
193 template <typename OverrideConfigurationT = OverrideConfiguration>
195 SetOverrideConfiguration(std::forward<OverrideConfigurationT>(value));
196 return *this;
197 }
199
201
203 return m_dataAutomationLibraryConfiguration;
204 }
205 inline bool DataAutomationLibraryConfigurationHasBeenSet() const { return m_dataAutomationLibraryConfigurationHasBeenSet; }
206 template <typename DataAutomationLibraryConfigurationT = DataAutomationLibraryConfiguration>
208 m_dataAutomationLibraryConfigurationHasBeenSet = true;
209 m_dataAutomationLibraryConfiguration = std::forward<DataAutomationLibraryConfigurationT>(value);
210 }
211 template <typename DataAutomationLibraryConfigurationT = DataAutomationLibraryConfiguration>
213 SetDataAutomationLibraryConfiguration(std::forward<DataAutomationLibraryConfigurationT>(value));
214 return *this;
215 }
217
219
220 inline DataAutomationProjectStatus GetStatus() const { return m_status; }
221 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
223 m_statusHasBeenSet = true;
224 m_status = value;
225 }
227 SetStatus(value);
228 return *this;
229 }
231
233
234 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
235 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
236 template <typename KmsKeyIdT = Aws::String>
237 void SetKmsKeyId(KmsKeyIdT&& value) {
238 m_kmsKeyIdHasBeenSet = true;
239 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
240 }
241 template <typename KmsKeyIdT = Aws::String>
243 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
244 return *this;
245 }
247
249
250 inline const Aws::Map<Aws::String, Aws::String>& GetKmsEncryptionContext() const { return m_kmsEncryptionContext; }
251 inline bool KmsEncryptionContextHasBeenSet() const { return m_kmsEncryptionContextHasBeenSet; }
252 template <typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
254 m_kmsEncryptionContextHasBeenSet = true;
255 m_kmsEncryptionContext = std::forward<KmsEncryptionContextT>(value);
256 }
257 template <typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
259 SetKmsEncryptionContext(std::forward<KmsEncryptionContextT>(value));
260 return *this;
261 }
262 template <typename KmsEncryptionContextKeyT = Aws::String, typename KmsEncryptionContextValueT = Aws::String>
264 m_kmsEncryptionContextHasBeenSet = true;
265 m_kmsEncryptionContext.emplace(std::forward<KmsEncryptionContextKeyT>(key), std::forward<KmsEncryptionContextValueT>(value));
266 return *this;
267 }
269 private:
270 Aws::String m_projectArn;
271
272 Aws::Utils::DateTime m_creationTime{};
273
274 Aws::Utils::DateTime m_lastModifiedTime{};
275
276 Aws::String m_projectName;
277
279
281
282 Aws::String m_projectDescription;
283
284 StandardOutputConfiguration m_standardOutputConfiguration;
285
286 CustomOutputConfiguration m_customOutputConfiguration;
287
288 OverrideConfiguration m_overrideConfiguration;
289
290 DataAutomationLibraryConfiguration m_dataAutomationLibraryConfiguration;
291
293
294 Aws::String m_kmsKeyId;
295
296 Aws::Map<Aws::String, Aws::String> m_kmsEncryptionContext;
297 bool m_projectArnHasBeenSet = false;
298 bool m_creationTimeHasBeenSet = false;
299 bool m_lastModifiedTimeHasBeenSet = false;
300 bool m_projectNameHasBeenSet = false;
301 bool m_projectStageHasBeenSet = false;
302 bool m_projectTypeHasBeenSet = false;
303 bool m_projectDescriptionHasBeenSet = false;
304 bool m_standardOutputConfigurationHasBeenSet = false;
305 bool m_customOutputConfigurationHasBeenSet = false;
306 bool m_overrideConfigurationHasBeenSet = false;
307 bool m_dataAutomationLibraryConfigurationHasBeenSet = false;
308 bool m_statusHasBeenSet = false;
309 bool m_kmsKeyIdHasBeenSet = false;
310 bool m_kmsEncryptionContextHasBeenSet = false;
311};
312
313} // namespace Model
314} // namespace BedrockDataAutomation
315} // namespace Aws
DataAutomationProject & WithProjectType(DataAutomationProjectType value)
void SetStandardOutputConfiguration(StandardOutputConfigurationT &&value)
DataAutomationProject & WithCreationTime(CreationTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetKmsEncryptionContext() const
DataAutomationProject & WithProjectDescription(ProjectDescriptionT &&value)
DataAutomationProject & WithStatus(DataAutomationProjectStatus value)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
DataAutomationProject & WithKmsKeyId(KmsKeyIdT &&value)
AWS_BEDROCKDATAAUTOMATION_API DataAutomationProject(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API DataAutomationProject & operator=(Aws::Utils::Json::JsonView jsonValue)
const StandardOutputConfiguration & GetStandardOutputConfiguration() const
void SetDataAutomationLibraryConfiguration(DataAutomationLibraryConfigurationT &&value)
DataAutomationProject & WithLastModifiedTime(LastModifiedTimeT &&value)
DataAutomationProject & WithProjectStage(DataAutomationProjectStage value)
DataAutomationProject & AddKmsEncryptionContext(KmsEncryptionContextKeyT &&key, KmsEncryptionContextValueT &&value)
DataAutomationProject & WithOverrideConfiguration(OverrideConfigurationT &&value)
DataAutomationProject & WithDataAutomationLibraryConfiguration(DataAutomationLibraryConfigurationT &&value)
DataAutomationProject & WithKmsEncryptionContext(KmsEncryptionContextT &&value)
DataAutomationProject & WithStandardOutputConfiguration(StandardOutputConfigurationT &&value)
void SetCustomOutputConfiguration(CustomOutputConfigurationT &&value)
DataAutomationProject & WithProjectName(ProjectNameT &&value)
const OverrideConfiguration & GetOverrideConfiguration() const
AWS_BEDROCKDATAAUTOMATION_API DataAutomationProject()=default
const DataAutomationLibraryConfiguration & GetDataAutomationLibraryConfiguration() const
DataAutomationProject & WithProjectArn(ProjectArnT &&value)
DataAutomationProject & WithCustomOutputConfiguration(CustomOutputConfigurationT &&value)
const CustomOutputConfiguration & GetCustomOutputConfiguration() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue