AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowResponseStream.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AccessDeniedException.h>
9#include <aws/bedrock-agent-runtime/model/BadGatewayException.h>
10#include <aws/bedrock-agent-runtime/model/ConflictException.h>
11#include <aws/bedrock-agent-runtime/model/DependencyFailedException.h>
12#include <aws/bedrock-agent-runtime/model/FlowCompletionEvent.h>
13#include <aws/bedrock-agent-runtime/model/FlowOutputEvent.h>
14#include <aws/bedrock-agent-runtime/model/InternalServerException.h>
15#include <aws/bedrock-agent-runtime/model/ResourceNotFoundException.h>
16#include <aws/bedrock-agent-runtime/model/ServiceQuotaExceededException.h>
17#include <aws/bedrock-agent-runtime/model/ThrottlingException.h>
18#include <aws/bedrock-agent-runtime/model/ValidationException.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace BedrockAgentRuntime
32{
33namespace Model
34{
35
45 {
46 public:
47 AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream();
48 AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream(Aws::Utils::Json::JsonView jsonValue);
49 AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
58 inline const AccessDeniedException& GetAccessDeniedException() const{ return m_accessDeniedException; }
59 inline bool AccessDeniedExceptionHasBeenSet() const { return m_accessDeniedExceptionHasBeenSet; }
60 inline void SetAccessDeniedException(const AccessDeniedException& value) { m_accessDeniedExceptionHasBeenSet = true; m_accessDeniedException = value; }
61 inline void SetAccessDeniedException(AccessDeniedException&& value) { m_accessDeniedExceptionHasBeenSet = true; m_accessDeniedException = std::move(value); }
62 inline FlowResponseStream& WithAccessDeniedException(const AccessDeniedException& value) { SetAccessDeniedException(value); return *this;}
63 inline FlowResponseStream& WithAccessDeniedException(AccessDeniedException&& value) { SetAccessDeniedException(std::move(value)); return *this;}
65
67
71 inline const BadGatewayException& GetBadGatewayException() const{ return m_badGatewayException; }
72 inline bool BadGatewayExceptionHasBeenSet() const { return m_badGatewayExceptionHasBeenSet; }
73 inline void SetBadGatewayException(const BadGatewayException& value) { m_badGatewayExceptionHasBeenSet = true; m_badGatewayException = value; }
74 inline void SetBadGatewayException(BadGatewayException&& value) { m_badGatewayExceptionHasBeenSet = true; m_badGatewayException = std::move(value); }
76 inline FlowResponseStream& WithBadGatewayException(BadGatewayException&& value) { SetBadGatewayException(std::move(value)); return *this;}
78
80
84 inline const ConflictException& GetConflictException() const{ return m_conflictException; }
85 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
86 inline void SetConflictException(const ConflictException& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = value; }
87 inline void SetConflictException(ConflictException&& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = std::move(value); }
88 inline FlowResponseStream& WithConflictException(const ConflictException& value) { SetConflictException(value); return *this;}
89 inline FlowResponseStream& WithConflictException(ConflictException&& value) { SetConflictException(std::move(value)); return *this;}
91
93
97 inline const DependencyFailedException& GetDependencyFailedException() const{ return m_dependencyFailedException; }
98 inline bool DependencyFailedExceptionHasBeenSet() const { return m_dependencyFailedExceptionHasBeenSet; }
99 inline void SetDependencyFailedException(const DependencyFailedException& value) { m_dependencyFailedExceptionHasBeenSet = true; m_dependencyFailedException = value; }
100 inline void SetDependencyFailedException(DependencyFailedException&& value) { m_dependencyFailedExceptionHasBeenSet = true; m_dependencyFailedException = std::move(value); }
104
106
109 inline const FlowCompletionEvent& GetFlowCompletionEvent() const{ return m_flowCompletionEvent; }
110 inline bool FlowCompletionEventHasBeenSet() const { return m_flowCompletionEventHasBeenSet; }
111 inline void SetFlowCompletionEvent(const FlowCompletionEvent& value) { m_flowCompletionEventHasBeenSet = true; m_flowCompletionEvent = value; }
112 inline void SetFlowCompletionEvent(FlowCompletionEvent&& value) { m_flowCompletionEventHasBeenSet = true; m_flowCompletionEvent = std::move(value); }
116
118
121 inline const FlowOutputEvent& GetFlowOutputEvent() const{ return m_flowOutputEvent; }
122 inline bool FlowOutputEventHasBeenSet() const { return m_flowOutputEventHasBeenSet; }
123 inline void SetFlowOutputEvent(const FlowOutputEvent& value) { m_flowOutputEventHasBeenSet = true; m_flowOutputEvent = value; }
124 inline void SetFlowOutputEvent(FlowOutputEvent&& value) { m_flowOutputEventHasBeenSet = true; m_flowOutputEvent = std::move(value); }
125 inline FlowResponseStream& WithFlowOutputEvent(const FlowOutputEvent& value) { SetFlowOutputEvent(value); return *this;}
126 inline FlowResponseStream& WithFlowOutputEvent(FlowOutputEvent&& value) { SetFlowOutputEvent(std::move(value)); return *this;}
128
130
133 inline const InternalServerException& GetInternalServerException() const{ return m_internalServerException; }
134 inline bool InternalServerExceptionHasBeenSet() const { return m_internalServerExceptionHasBeenSet; }
135 inline void SetInternalServerException(const InternalServerException& value) { m_internalServerExceptionHasBeenSet = true; m_internalServerException = value; }
136 inline void SetInternalServerException(InternalServerException&& value) { m_internalServerExceptionHasBeenSet = true; m_internalServerException = std::move(value); }
137 inline FlowResponseStream& WithInternalServerException(const InternalServerException& value) { SetInternalServerException(value); return *this;}
138 inline FlowResponseStream& WithInternalServerException(InternalServerException&& value) { SetInternalServerException(std::move(value)); return *this;}
140
142
146 inline const ResourceNotFoundException& GetResourceNotFoundException() const{ return m_resourceNotFoundException; }
147 inline bool ResourceNotFoundExceptionHasBeenSet() const { return m_resourceNotFoundExceptionHasBeenSet; }
148 inline void SetResourceNotFoundException(const ResourceNotFoundException& value) { m_resourceNotFoundExceptionHasBeenSet = true; m_resourceNotFoundException = value; }
149 inline void SetResourceNotFoundException(ResourceNotFoundException&& value) { m_resourceNotFoundExceptionHasBeenSet = true; m_resourceNotFoundException = std::move(value); }
150 inline FlowResponseStream& WithResourceNotFoundException(const ResourceNotFoundException& value) { SetResourceNotFoundException(value); return *this;}
151 inline FlowResponseStream& WithResourceNotFoundException(ResourceNotFoundException&& value) { SetResourceNotFoundException(std::move(value)); return *this;}
153
155
159 inline const ServiceQuotaExceededException& GetServiceQuotaExceededException() const{ return m_serviceQuotaExceededException; }
160 inline bool ServiceQuotaExceededExceptionHasBeenSet() const { return m_serviceQuotaExceededExceptionHasBeenSet; }
161 inline void SetServiceQuotaExceededException(const ServiceQuotaExceededException& value) { m_serviceQuotaExceededExceptionHasBeenSet = true; m_serviceQuotaExceededException = value; }
162 inline void SetServiceQuotaExceededException(ServiceQuotaExceededException&& value) { m_serviceQuotaExceededExceptionHasBeenSet = true; m_serviceQuotaExceededException = std::move(value); }
163 inline FlowResponseStream& WithServiceQuotaExceededException(const ServiceQuotaExceededException& value) { SetServiceQuotaExceededException(value); return *this;}
164 inline FlowResponseStream& WithServiceQuotaExceededException(ServiceQuotaExceededException&& value) { SetServiceQuotaExceededException(std::move(value)); return *this;}
166
168
171 inline const ThrottlingException& GetThrottlingException() const{ return m_throttlingException; }
172 inline bool ThrottlingExceptionHasBeenSet() const { return m_throttlingExceptionHasBeenSet; }
173 inline void SetThrottlingException(const ThrottlingException& value) { m_throttlingExceptionHasBeenSet = true; m_throttlingException = value; }
174 inline void SetThrottlingException(ThrottlingException&& value) { m_throttlingExceptionHasBeenSet = true; m_throttlingException = std::move(value); }
175 inline FlowResponseStream& WithThrottlingException(const ThrottlingException& value) { SetThrottlingException(value); return *this;}
176 inline FlowResponseStream& WithThrottlingException(ThrottlingException&& value) { SetThrottlingException(std::move(value)); return *this;}
178
180
184 inline const ValidationException& GetValidationException() const{ return m_validationException; }
185 inline bool ValidationExceptionHasBeenSet() const { return m_validationExceptionHasBeenSet; }
186 inline void SetValidationException(const ValidationException& value) { m_validationExceptionHasBeenSet = true; m_validationException = value; }
187 inline void SetValidationException(ValidationException&& value) { m_validationExceptionHasBeenSet = true; m_validationException = std::move(value); }
188 inline FlowResponseStream& WithValidationException(const ValidationException& value) { SetValidationException(value); return *this;}
189 inline FlowResponseStream& WithValidationException(ValidationException&& value) { SetValidationException(std::move(value)); return *this;}
191 private:
192
193 AccessDeniedException m_accessDeniedException;
194 bool m_accessDeniedExceptionHasBeenSet = false;
195
196 BadGatewayException m_badGatewayException;
197 bool m_badGatewayExceptionHasBeenSet = false;
198
199 ConflictException m_conflictException;
200 bool m_conflictExceptionHasBeenSet = false;
201
202 DependencyFailedException m_dependencyFailedException;
203 bool m_dependencyFailedExceptionHasBeenSet = false;
204
205 FlowCompletionEvent m_flowCompletionEvent;
206 bool m_flowCompletionEventHasBeenSet = false;
207
208 FlowOutputEvent m_flowOutputEvent;
209 bool m_flowOutputEventHasBeenSet = false;
210
211 InternalServerException m_internalServerException;
212 bool m_internalServerExceptionHasBeenSet = false;
213
214 ResourceNotFoundException m_resourceNotFoundException;
215 bool m_resourceNotFoundExceptionHasBeenSet = false;
216
217 ServiceQuotaExceededException m_serviceQuotaExceededException;
218 bool m_serviceQuotaExceededExceptionHasBeenSet = false;
219
220 ThrottlingException m_throttlingException;
221 bool m_throttlingExceptionHasBeenSet = false;
222
223 ValidationException m_validationException;
224 bool m_validationExceptionHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace BedrockAgentRuntime
229} // namespace Aws
void SetConflictException(const ConflictException &value)
FlowResponseStream & WithValidationException(ValidationException &&value)
FlowResponseStream & WithConflictException(ConflictException &&value)
void SetValidationException(const ValidationException &value)
void SetThrottlingException(ThrottlingException &&value)
void SetThrottlingException(const ThrottlingException &value)
FlowResponseStream & WithDependencyFailedException(DependencyFailedException &&value)
void SetResourceNotFoundException(ResourceNotFoundException &&value)
const InternalServerException & GetInternalServerException() const
void SetInternalServerException(const InternalServerException &value)
AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceQuotaExceededException(ServiceQuotaExceededException &&value)
FlowResponseStream & WithValidationException(const ValidationException &value)
const AccessDeniedException & GetAccessDeniedException() const
void SetInternalServerException(InternalServerException &&value)
FlowResponseStream & WithAccessDeniedException(AccessDeniedException &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream()
FlowResponseStream & WithFlowCompletionEvent(FlowCompletionEvent &&value)
const BadGatewayException & GetBadGatewayException() const
void SetFlowCompletionEvent(const FlowCompletionEvent &value)
void SetAccessDeniedException(const AccessDeniedException &value)
FlowResponseStream & WithInternalServerException(const InternalServerException &value)
FlowResponseStream & WithAccessDeniedException(const AccessDeniedException &value)
void SetDependencyFailedException(DependencyFailedException &&value)
void SetFlowCompletionEvent(FlowCompletionEvent &&value)
FlowResponseStream & WithInternalServerException(InternalServerException &&value)
FlowResponseStream & WithThrottlingException(ThrottlingException &&value)
FlowResponseStream & WithServiceQuotaExceededException(ServiceQuotaExceededException &&value)
const ConflictException & GetConflictException() const
const ResourceNotFoundException & GetResourceNotFoundException() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowResponseStream & WithBadGatewayException(BadGatewayException &&value)
void SetResourceNotFoundException(const ResourceNotFoundException &value)
FlowResponseStream & WithResourceNotFoundException(const ResourceNotFoundException &value)
FlowResponseStream & WithDependencyFailedException(const DependencyFailedException &value)
void SetDependencyFailedException(const DependencyFailedException &value)
const ValidationException & GetValidationException() const
const FlowCompletionEvent & GetFlowCompletionEvent() const
FlowResponseStream & WithFlowCompletionEvent(const FlowCompletionEvent &value)
void SetAccessDeniedException(AccessDeniedException &&value)
FlowResponseStream & WithFlowOutputEvent(const FlowOutputEvent &value)
FlowResponseStream & WithFlowOutputEvent(FlowOutputEvent &&value)
void SetServiceQuotaExceededException(const ServiceQuotaExceededException &value)
const ServiceQuotaExceededException & GetServiceQuotaExceededException() const
FlowResponseStream & WithBadGatewayException(const BadGatewayException &value)
void SetValidationException(ValidationException &&value)
void SetBadGatewayException(const BadGatewayException &value)
void SetFlowOutputEvent(const FlowOutputEvent &value)
FlowResponseStream & WithServiceQuotaExceededException(const ServiceQuotaExceededException &value)
const ThrottlingException & GetThrottlingException() const
AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream(Aws::Utils::Json::JsonView jsonValue)
const DependencyFailedException & GetDependencyFailedException() const
FlowResponseStream & WithThrottlingException(const ThrottlingException &value)
FlowResponseStream & WithConflictException(const ConflictException &value)
FlowResponseStream & WithResourceNotFoundException(ResourceNotFoundException &&value)
void SetBadGatewayException(BadGatewayException &&value)
Aws::Utils::Json::JsonValue JsonValue