AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
AsyncInvokeSummary.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockRuntime
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BEDROCKRUNTIME_API AsyncInvokeSummary() = default;
38 AWS_BEDROCKRUNTIME_API AsyncInvokeSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKRUNTIME_API AsyncInvokeSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetInvocationArn() const { return m_invocationArn; }
48 inline bool InvocationArnHasBeenSet() const { return m_invocationArnHasBeenSet; }
49 template<typename InvocationArnT = Aws::String>
50 void SetInvocationArn(InvocationArnT&& value) { m_invocationArnHasBeenSet = true; m_invocationArn = std::forward<InvocationArnT>(value); }
51 template<typename InvocationArnT = Aws::String>
52 AsyncInvokeSummary& WithInvocationArn(InvocationArnT&& value) { SetInvocationArn(std::forward<InvocationArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetModelArn() const { return m_modelArn; }
60 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
61 template<typename ModelArnT = Aws::String>
62 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
63 template<typename ModelArnT = Aws::String>
64 AsyncInvokeSummary& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
72 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
73 template<typename ClientRequestTokenT = Aws::String>
74 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
75 template<typename ClientRequestTokenT = Aws::String>
76 AsyncInvokeSummary& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
78
80
83 inline AsyncInvokeStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(AsyncInvokeStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline AsyncInvokeSummary& WithStatus(AsyncInvokeStatus value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
94 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
95 template<typename FailureMessageT = Aws::String>
96 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
97 template<typename FailureMessageT = Aws::String>
98 AsyncInvokeSummary& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
106 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
107 template<typename SubmitTimeT = Aws::Utils::DateTime>
108 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
109 template<typename SubmitTimeT = Aws::Utils::DateTime>
110 AsyncInvokeSummary& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
118 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
119 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
120 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
121 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
122 AsyncInvokeSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
130 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
131 template<typename EndTimeT = Aws::Utils::DateTime>
132 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
133 template<typename EndTimeT = Aws::Utils::DateTime>
134 AsyncInvokeSummary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
136
138
141 inline const AsyncInvokeOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
142 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
143 template<typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
144 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
145 template<typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
146 AsyncInvokeSummary& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
148 private:
149
150 Aws::String m_invocationArn;
151 bool m_invocationArnHasBeenSet = false;
152
153 Aws::String m_modelArn;
154 bool m_modelArnHasBeenSet = false;
155
156 Aws::String m_clientRequestToken;
157 bool m_clientRequestTokenHasBeenSet = false;
158
160 bool m_statusHasBeenSet = false;
161
162 Aws::String m_failureMessage;
163 bool m_failureMessageHasBeenSet = false;
164
165 Aws::Utils::DateTime m_submitTime{};
166 bool m_submitTimeHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastModifiedTime{};
169 bool m_lastModifiedTimeHasBeenSet = false;
170
171 Aws::Utils::DateTime m_endTime{};
172 bool m_endTimeHasBeenSet = false;
173
174 AsyncInvokeOutputDataConfig m_outputDataConfig;
175 bool m_outputDataConfigHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace BedrockRuntime
180} // namespace Aws
AsyncInvokeSummary & WithEndTime(EndTimeT &&value)
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary(Aws::Utils::Json::JsonView jsonValue)
AsyncInvokeSummary & WithFailureMessage(FailureMessageT &&value)
AsyncInvokeSummary & WithInvocationArn(InvocationArnT &&value)
const Aws::Utils::DateTime & GetSubmitTime() const
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary()=default
AsyncInvokeSummary & WithModelArn(ModelArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AsyncInvokeSummary & WithStatus(AsyncInvokeStatus value)
AsyncInvokeSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetOutputDataConfig(OutputDataConfigT &&value)
const Aws::Utils::DateTime & GetEndTime() const
AsyncInvokeSummary & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AsyncInvokeSummary & WithOutputDataConfig(OutputDataConfigT &&value)
AsyncInvokeSummary & WithSubmitTime(SubmitTimeT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
const AsyncInvokeOutputDataConfig & GetOutputDataConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue