7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AnalyzePromptEvent.h>
9#include <aws/bedrock-agent-runtime/model/BadGatewayException.h>
10#include <aws/bedrock-agent-runtime/model/DependencyFailedException.h>
11#include <aws/bedrock-agent-runtime/model/InternalServerException.h>
12#include <aws/bedrock-agent-runtime/model/OptimizedPromptEvent.h>
23namespace BedrockAgentRuntime {
46 template <
typename AccessDeniedExceptionT = BedrockAgentRuntimeError>
48 m_accessDeniedExceptionHasBeenSet =
true;
49 m_accessDeniedException = std::forward<AccessDeniedExceptionT>(value);
51 template <
typename AccessDeniedExceptionT = BedrockAgentRuntimeError>
65 template <
typename AnalyzePromptEventT = AnalyzePromptEvent>
67 m_analyzePromptEventHasBeenSet =
true;
68 m_analyzePromptEvent = std::forward<AnalyzePromptEventT>(value);
70 template <
typename AnalyzePromptEventT = AnalyzePromptEvent>
84 template <
typename BadGatewayExceptionT = BadGatewayException>
86 m_badGatewayExceptionHasBeenSet =
true;
87 m_badGatewayException = std::forward<BadGatewayExceptionT>(value);
89 template <
typename BadGatewayExceptionT = BadGatewayException>
103 template <
typename DependencyFailedExceptionT = DependencyFailedException>
105 m_dependencyFailedExceptionHasBeenSet =
true;
106 m_dependencyFailedException = std::forward<DependencyFailedExceptionT>(value);
108 template <
typename DependencyFailedExceptionT = DependencyFailedException>
121 template <
typename InternalServerExceptionT = InternalServerException>
123 m_internalServerExceptionHasBeenSet =
true;
124 m_internalServerException = std::forward<InternalServerExceptionT>(value);
126 template <
typename InternalServerExceptionT = InternalServerException>
139 template <
typename OptimizedPromptEventT = OptimizedPromptEvent>
141 m_optimizedPromptEventHasBeenSet =
true;
142 m_optimizedPromptEvent = std::forward<OptimizedPromptEventT>(value);
144 template <
typename OptimizedPromptEventT = OptimizedPromptEvent>
160 template <
typename ThrottlingExceptionT = BedrockAgentRuntimeError>
162 m_throttlingExceptionHasBeenSet =
true;
163 m_throttlingException = std::forward<ThrottlingExceptionT>(value);
165 template <
typename ThrottlingExceptionT = BedrockAgentRuntimeError>
179 template <
typename Val
idationExceptionT = BedrockAgentRuntimeError>
181 m_validationExceptionHasBeenSet =
true;
182 m_validationException = std::forward<ValidationExceptionT>(value);
184 template <
typename Val
idationExceptionT = BedrockAgentRuntimeError>
206 bool m_accessDeniedExceptionHasBeenSet =
false;
207 bool m_analyzePromptEventHasBeenSet =
false;
208 bool m_badGatewayExceptionHasBeenSet =
false;
209 bool m_dependencyFailedExceptionHasBeenSet =
false;
210 bool m_internalServerExceptionHasBeenSet =
false;
211 bool m_optimizedPromptEventHasBeenSet =
false;
212 bool m_throttlingExceptionHasBeenSet =
false;
213 bool m_validationExceptionHasBeenSet =
false;
void SetBadGatewayException(BadGatewayExceptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptStream()=default
bool DependencyFailedExceptionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptStream & operator=(Aws::Utils::Json::JsonView jsonValue)
OptimizedPromptStream & WithOptimizedPromptEvent(OptimizedPromptEventT &&value)
void SetAccessDeniedException(AccessDeniedExceptionT &&value)
void SetOptimizedPromptEvent(OptimizedPromptEventT &&value)
OptimizedPromptStream & WithBadGatewayException(BadGatewayExceptionT &&value)
bool ThrottlingExceptionHasBeenSet() const
const DependencyFailedException & GetDependencyFailedException() const
bool ValidationExceptionHasBeenSet() const
bool BadGatewayExceptionHasBeenSet() const
const BadGatewayException & GetBadGatewayException() const
const OptimizedPromptEvent & GetOptimizedPromptEvent() const
OptimizedPromptStream & WithThrottlingException(ThrottlingExceptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const BedrockAgentRuntimeError & GetAccessDeniedException() const
OptimizedPromptStream & WithAnalyzePromptEvent(AnalyzePromptEventT &&value)
OptimizedPromptStream & WithAccessDeniedException(AccessDeniedExceptionT &&value)
void SetThrottlingException(ThrottlingExceptionT &&value)
bool AccessDeniedExceptionHasBeenSet() const
void SetDependencyFailedException(DependencyFailedExceptionT &&value)
const BedrockAgentRuntimeError & GetThrottlingException() const
OptimizedPromptStream & WithValidationException(ValidationExceptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptStream(Aws::Utils::Json::JsonView jsonValue)
bool OptimizedPromptEventHasBeenSet() const
OptimizedPromptStream & WithDependencyFailedException(DependencyFailedExceptionT &&value)
void SetAnalyzePromptEvent(AnalyzePromptEventT &&value)
bool InternalServerExceptionHasBeenSet() const
void SetValidationException(ValidationExceptionT &&value)
const AnalyzePromptEvent & GetAnalyzePromptEvent() const
const BedrockAgentRuntimeError & GetValidationException() const
const InternalServerException & GetInternalServerException() const
bool AnalyzePromptEventHasBeenSet() const
void SetInternalServerException(InternalServerExceptionT &&value)
OptimizedPromptStream & WithInternalServerException(InternalServerExceptionT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue