AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDataAutomationStatusResult.h
1
6#pragma once
7#include <aws/bedrock-data-automation-runtime/BedrockDataAutomationRuntime_EXPORTS.h>
8#include <aws/bedrock-data-automation-runtime/model/AutomationJobStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-data-automation-runtime/model/OutputConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BedrockDataAutomationRuntime
26{
27namespace Model
28{
35 {
36 public:
37 AWS_BEDROCKDATAAUTOMATIONRUNTIME_API GetDataAutomationStatusResult() = default;
40
41
43
46 inline AutomationJobStatus GetStatus() const { return m_status; }
47 inline void SetStatus(AutomationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
50
52
55 inline const Aws::String& GetErrorType() const { return m_errorType; }
56 template<typename ErrorTypeT = Aws::String>
57 void SetErrorType(ErrorTypeT&& value) { m_errorTypeHasBeenSet = true; m_errorType = std::forward<ErrorTypeT>(value); }
58 template<typename ErrorTypeT = Aws::String>
59 GetDataAutomationStatusResult& WithErrorType(ErrorTypeT&& value) { SetErrorType(std::forward<ErrorTypeT>(value)); return *this;}
61
63
66 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
67 template<typename ErrorMessageT = Aws::String>
68 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
69 template<typename ErrorMessageT = Aws::String>
70 GetDataAutomationStatusResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
72
74
77 inline const OutputConfiguration& GetOutputConfiguration() const { return m_outputConfiguration; }
78 template<typename OutputConfigurationT = OutputConfiguration>
79 void SetOutputConfiguration(OutputConfigurationT&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::forward<OutputConfigurationT>(value); }
80 template<typename OutputConfigurationT = OutputConfiguration>
81 GetDataAutomationStatusResult& WithOutputConfiguration(OutputConfigurationT&& value) { SetOutputConfiguration(std::forward<OutputConfigurationT>(value)); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template<typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
89 template<typename RequestIdT = Aws::String>
90 GetDataAutomationStatusResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
92 private:
93
95 bool m_statusHasBeenSet = false;
96
97 Aws::String m_errorType;
98 bool m_errorTypeHasBeenSet = false;
99
100 Aws::String m_errorMessage;
101 bool m_errorMessageHasBeenSet = false;
102
103 OutputConfiguration m_outputConfiguration;
104 bool m_outputConfigurationHasBeenSet = false;
105
106 Aws::String m_requestId;
107 bool m_requestIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace BedrockDataAutomationRuntime
112} // namespace Aws
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API GetDataAutomationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API GetDataAutomationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataAutomationStatusResult & WithStatus(AutomationJobStatus value)
GetDataAutomationStatusResult & WithOutputConfiguration(OutputConfigurationT &&value)
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API GetDataAutomationStatusResult()=default
GetDataAutomationStatusResult & WithErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue