AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
DataAutomationLibraryIngestionJob.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/EntityType.h>
9#include <aws/bedrock-data-automation/model/LibraryIngestionJobOperationType.h>
10#include <aws/bedrock-data-automation/model/LibraryIngestionJobStatus.h>
11#include <aws/bedrock-data-automation/model/OutputConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockDataAutomation {
25namespace Model {
26
34 public:
35 AWS_BEDROCKDATAAUTOMATION_API DataAutomationLibraryIngestionJob() = default;
38 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetJobArn() const { return m_jobArn; }
45 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
46 template <typename JobArnT = Aws::String>
47 void SetJobArn(JobArnT&& value) {
48 m_jobArnHasBeenSet = true;
49 m_jobArn = std::forward<JobArnT>(value);
50 }
51 template <typename JobArnT = Aws::String>
53 SetJobArn(std::forward<JobArnT>(value));
54 return *this;
55 }
57
59
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
80 inline EntityType GetEntityType() const { return m_entityType; }
81 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
82 inline void SetEntityType(EntityType value) {
83 m_entityTypeHasBeenSet = true;
84 m_entityType = value;
85 }
87 SetEntityType(value);
88 return *this;
89 }
91
93
96 inline LibraryIngestionJobOperationType GetOperationType() const { return m_operationType; }
97 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
99 m_operationTypeHasBeenSet = true;
100 m_operationType = value;
101 }
103 SetOperationType(value);
104 return *this;
105 }
107
109
112 inline LibraryIngestionJobStatus GetJobStatus() const { return m_jobStatus; }
113 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
115 m_jobStatusHasBeenSet = true;
116 m_jobStatus = value;
117 }
119 SetJobStatus(value);
120 return *this;
121 }
123
125
128 inline const OutputConfiguration& GetOutputConfiguration() const { return m_outputConfiguration; }
129 inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; }
130 template <typename OutputConfigurationT = OutputConfiguration>
132 m_outputConfigurationHasBeenSet = true;
133 m_outputConfiguration = std::forward<OutputConfigurationT>(value);
134 }
135 template <typename OutputConfigurationT = OutputConfiguration>
137 SetOutputConfiguration(std::forward<OutputConfigurationT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
147 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
148 template <typename CompletionTimeT = Aws::Utils::DateTime>
150 m_completionTimeHasBeenSet = true;
151 m_completionTime = std::forward<CompletionTimeT>(value);
152 }
153 template <typename CompletionTimeT = Aws::Utils::DateTime>
155 SetCompletionTime(std::forward<CompletionTimeT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
165 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
166 template <typename ErrorMessageT = Aws::String>
168 m_errorMessageHasBeenSet = true;
169 m_errorMessage = std::forward<ErrorMessageT>(value);
170 }
171 template <typename ErrorMessageT = Aws::String>
173 SetErrorMessage(std::forward<ErrorMessageT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::String& GetErrorType() const { return m_errorType; }
183 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
184 template <typename ErrorTypeT = Aws::String>
185 void SetErrorType(ErrorTypeT&& value) {
186 m_errorTypeHasBeenSet = true;
187 m_errorType = std::forward<ErrorTypeT>(value);
188 }
189 template <typename ErrorTypeT = Aws::String>
191 SetErrorType(std::forward<ErrorTypeT>(value));
192 return *this;
193 }
195 private:
196 Aws::String m_jobArn;
197
198 Aws::Utils::DateTime m_creationTime{};
199
200 EntityType m_entityType{EntityType::NOT_SET};
201
203
205
206 OutputConfiguration m_outputConfiguration;
207
208 Aws::Utils::DateTime m_completionTime{};
209
210 Aws::String m_errorMessage;
211
212 Aws::String m_errorType;
213 bool m_jobArnHasBeenSet = false;
214 bool m_creationTimeHasBeenSet = false;
215 bool m_entityTypeHasBeenSet = false;
216 bool m_operationTypeHasBeenSet = false;
217 bool m_jobStatusHasBeenSet = false;
218 bool m_outputConfigurationHasBeenSet = false;
219 bool m_completionTimeHasBeenSet = false;
220 bool m_errorMessageHasBeenSet = false;
221 bool m_errorTypeHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace BedrockDataAutomation
226} // namespace Aws
DataAutomationLibraryIngestionJob & WithCompletionTime(CompletionTimeT &&value)
DataAutomationLibraryIngestionJob & WithJobStatus(LibraryIngestionJobStatus value)
AWS_BEDROCKDATAAUTOMATION_API DataAutomationLibraryIngestionJob()=default
AWS_BEDROCKDATAAUTOMATION_API DataAutomationLibraryIngestionJob(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API DataAutomationLibraryIngestionJob & operator=(Aws::Utils::Json::JsonView jsonValue)
DataAutomationLibraryIngestionJob & WithErrorMessage(ErrorMessageT &&value)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
DataAutomationLibraryIngestionJob & WithCreationTime(CreationTimeT &&value)
DataAutomationLibraryIngestionJob & WithOperationType(LibraryIngestionJobOperationType value)
DataAutomationLibraryIngestionJob & WithOutputConfiguration(OutputConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue