AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GetAsyncInvokeResult.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-runtime/model/AsyncInvokeStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-runtime/model/AsyncInvokeOutputDataConfig.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace BedrockRuntime
27{
28namespace Model
29{
31 {
32 public:
33 AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult() = default;
36
37
39
42 inline const Aws::String& GetInvocationArn() const { return m_invocationArn; }
43 template<typename InvocationArnT = Aws::String>
44 void SetInvocationArn(InvocationArnT&& value) { m_invocationArnHasBeenSet = true; m_invocationArn = std::forward<InvocationArnT>(value); }
45 template<typename InvocationArnT = Aws::String>
46 GetAsyncInvokeResult& WithInvocationArn(InvocationArnT&& value) { SetInvocationArn(std::forward<InvocationArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetModelArn() const { return m_modelArn; }
54 template<typename ModelArnT = Aws::String>
55 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
56 template<typename ModelArnT = Aws::String>
57 GetAsyncInvokeResult& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
65 template<typename ClientRequestTokenT = Aws::String>
66 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
67 template<typename ClientRequestTokenT = Aws::String>
68 GetAsyncInvokeResult& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
70
72
75 inline AsyncInvokeStatus GetStatus() const { return m_status; }
76 inline void SetStatus(AsyncInvokeStatus value) { m_statusHasBeenSet = true; m_status = value; }
77 inline GetAsyncInvokeResult& WithStatus(AsyncInvokeStatus value) { SetStatus(value); return *this;}
79
81
84 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
85 template<typename FailureMessageT = Aws::String>
86 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
87 template<typename FailureMessageT = Aws::String>
88 GetAsyncInvokeResult& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
96 template<typename SubmitTimeT = Aws::Utils::DateTime>
97 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
98 template<typename SubmitTimeT = Aws::Utils::DateTime>
99 GetAsyncInvokeResult& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
107 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
108 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
109 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
110 GetAsyncInvokeResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
118 template<typename EndTimeT = Aws::Utils::DateTime>
119 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
120 template<typename EndTimeT = Aws::Utils::DateTime>
121 GetAsyncInvokeResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
123
125
128 inline const AsyncInvokeOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
129 template<typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
130 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
131 template<typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
132 GetAsyncInvokeResult& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template<typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
140 template<typename RequestIdT = Aws::String>
141 GetAsyncInvokeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
143 private:
144
145 Aws::String m_invocationArn;
146 bool m_invocationArnHasBeenSet = false;
147
148 Aws::String m_modelArn;
149 bool m_modelArnHasBeenSet = false;
150
151 Aws::String m_clientRequestToken;
152 bool m_clientRequestTokenHasBeenSet = false;
153
155 bool m_statusHasBeenSet = false;
156
157 Aws::String m_failureMessage;
158 bool m_failureMessageHasBeenSet = false;
159
160 Aws::Utils::DateTime m_submitTime{};
161 bool m_submitTimeHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastModifiedTime{};
164 bool m_lastModifiedTimeHasBeenSet = false;
165
166 Aws::Utils::DateTime m_endTime{};
167 bool m_endTimeHasBeenSet = false;
168
169 AsyncInvokeOutputDataConfig m_outputDataConfig;
170 bool m_outputDataConfigHasBeenSet = false;
171
172 Aws::String m_requestId;
173 bool m_requestIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace BedrockRuntime
178} // namespace Aws
GetAsyncInvokeResult & WithStatus(AsyncInvokeStatus value)
AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult()=default
AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAsyncInvokeResult & WithFailureMessage(FailureMessageT &&value)
GetAsyncInvokeResult & WithModelArn(ModelArnT &&value)
GetAsyncInvokeResult & WithRequestId(RequestIdT &&value)
GetAsyncInvokeResult & WithSubmitTime(SubmitTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
GetAsyncInvokeResult & WithInvocationArn(InvocationArnT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::Utils::DateTime & GetSubmitTime() const
GetAsyncInvokeResult & WithClientRequestToken(ClientRequestTokenT &&value)
GetAsyncInvokeResult & WithOutputDataConfig(OutputDataConfigT &&value)
GetAsyncInvokeResult & WithEndTime(EndTimeT &&value)
GetAsyncInvokeResult & WithLastModifiedTime(LastModifiedTimeT &&value)
const AsyncInvokeOutputDataConfig & GetOutputDataConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue