AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
GetBlueprintOptimizationStatusResult.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/BlueprintOptimizationJobStatus.h>
9#include <aws/bedrock-data-automation/model/BlueprintOptimizationOutputConfiguration.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockDataAutomation {
25namespace Model {
32 public:
33 AWS_BEDROCKDATAAUTOMATION_API GetBlueprintOptimizationStatusResult() = default;
34 AWS_BEDROCKDATAAUTOMATION_API GetBlueprintOptimizationStatusResult(
36 AWS_BEDROCKDATAAUTOMATION_API GetBlueprintOptimizationStatusResult& operator=(
38
40
43 inline BlueprintOptimizationJobStatus GetStatus() const { return m_status; }
45 m_statusHasBeenSet = true;
46 m_status = value;
47 }
49 SetStatus(value);
50 return *this;
51 }
53
55
58 inline const Aws::String& GetErrorType() const { return m_errorType; }
59 template <typename ErrorTypeT = Aws::String>
60 void SetErrorType(ErrorTypeT&& value) {
61 m_errorTypeHasBeenSet = true;
62 m_errorType = std::forward<ErrorTypeT>(value);
63 }
64 template <typename ErrorTypeT = Aws::String>
66 SetErrorType(std::forward<ErrorTypeT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
76 template <typename ErrorMessageT = Aws::String>
78 m_errorMessageHasBeenSet = true;
79 m_errorMessage = std::forward<ErrorMessageT>(value);
80 }
81 template <typename ErrorMessageT = Aws::String>
83 SetErrorMessage(std::forward<ErrorMessageT>(value));
84 return *this;
85 }
87
89
92 inline const BlueprintOptimizationOutputConfiguration& GetOutputConfiguration() const { return m_outputConfiguration; }
93 template <typename OutputConfigurationT = BlueprintOptimizationOutputConfiguration>
95 m_outputConfigurationHasBeenSet = true;
96 m_outputConfiguration = std::forward<OutputConfigurationT>(value);
97 }
98 template <typename OutputConfigurationT = BlueprintOptimizationOutputConfiguration>
100 SetOutputConfiguration(std::forward<OutputConfigurationT>(value));
101 return *this;
102 }
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template <typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) {
110 m_requestIdHasBeenSet = true;
111 m_requestId = std::forward<RequestIdT>(value);
112 }
113 template <typename RequestIdT = Aws::String>
115 SetRequestId(std::forward<RequestIdT>(value));
116 return *this;
117 }
119 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
120
121 private:
123
124 Aws::String m_errorType;
125
126 Aws::String m_errorMessage;
127
128 BlueprintOptimizationOutputConfiguration m_outputConfiguration;
129
130 Aws::String m_requestId;
131 Aws::Http::HttpResponseCode m_HttpResponseCode;
132 bool m_statusHasBeenSet = false;
133 bool m_errorTypeHasBeenSet = false;
134 bool m_errorMessageHasBeenSet = false;
135 bool m_outputConfigurationHasBeenSet = false;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace BedrockDataAutomation
141} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API GetBlueprintOptimizationStatusResult()=default
AWS_BEDROCKDATAAUTOMATION_API GetBlueprintOptimizationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKDATAAUTOMATION_API GetBlueprintOptimizationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBlueprintOptimizationStatusResult & WithOutputConfiguration(OutputConfigurationT &&value)
GetBlueprintOptimizationStatusResult & WithErrorMessage(ErrorMessageT &&value)
GetBlueprintOptimizationStatusResult & WithStatus(BlueprintOptimizationJobStatus 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