7#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
9#include <aws/bedrock-agent-runtime/model/FlowInput.h>
10#include <aws/bedrock-agent-runtime/model/InvokeFlowHandler.h>
11#include <aws/bedrock-agent-runtime/model/ModelPerformanceConfiguration.h>
12#include <aws/core/utils/event/EventStreamDecoder.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19namespace BedrockAgentRuntime {
73 m_enableTraceHasBeenSet =
true;
74 m_enableTrace = value;
89 template <
typename ExecutionIdT = Aws::String>
91 m_executionIdHasBeenSet =
true;
92 m_executionId = std::forward<ExecutionIdT>(value);
94 template <
typename ExecutionIdT = Aws::String>
107 template <
typename FlowAliasIdentifierT = Aws::String>
109 m_flowAliasIdentifierHasBeenSet =
true;
110 m_flowAliasIdentifier = std::forward<FlowAliasIdentifierT>(value);
112 template <
typename FlowAliasIdentifierT = Aws::String>
125 template <
typename FlowIdentifierT = Aws::String>
127 m_flowIdentifierHasBeenSet =
true;
128 m_flowIdentifier = std::forward<FlowIdentifierT>(value);
130 template <
typename FlowIdentifierT = Aws::String>
144 template <
typename InputsT = Aws::Vector<FlowInput>>
146 m_inputsHasBeenSet =
true;
147 m_inputs = std::forward<InputsT>(value);
149 template <
typename InputsT = Aws::Vector<FlowInput>>
154 template <
typename InputsT = FlowInput>
156 m_inputsHasBeenSet =
true;
157 m_inputs.emplace_back(std::forward<InputsT>(value));
168 template <
typename ModelPerformanceConfigurationT = ModelPerformanceConfiguration>
170 m_modelPerformanceConfigurationHasBeenSet =
true;
171 m_modelPerformanceConfiguration = std::forward<ModelPerformanceConfigurationT>(value);
173 template <
typename ModelPerformanceConfigurationT = ModelPerformanceConfiguration>
180 bool m_enableTrace{
false};
190 ModelPerformanceConfiguration m_modelPerformanceConfiguration;
191 InvokeFlowHandler m_handler;
194 bool m_enableTraceHasBeenSet =
false;
195 bool m_executionIdHasBeenSet =
false;
196 bool m_flowAliasIdentifierHasBeenSet =
false;
197 bool m_flowIdentifierHasBeenSet =
false;
198 bool m_inputsHasBeenSet =
false;
199 bool m_modelPerformanceConfigurationHasBeenSet =
false;
void SetExecutionId(ExecutionIdT &&value)
InvokeFlowRequest & WithExecutionId(ExecutionIdT &&value)
InvokeFlowRequest & AddInputs(InputsT &&value)
bool GetEnableTrace() const
InvokeFlowRequest & WithEnableTrace(bool value)
const Aws::Vector< FlowInput > & GetInputs() const
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
const Aws::String & GetFlowIdentifier() const
InvokeFlowRequest & WithInputs(InputsT &&value)
bool FlowIdentifierHasBeenSet() const
void SetModelPerformanceConfiguration(ModelPerformanceConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API InvokeFlowRequest()=default
InvokeFlowRequest & WithModelPerformanceConfiguration(ModelPerformanceConfigurationT &&value)
const Aws::String & GetExecutionId() const
void SetInputs(InputsT &&value)
InvokeFlowRequest & WithFlowAliasIdentifier(FlowAliasIdentifierT &&value)
void SetFlowAliasIdentifier(FlowAliasIdentifierT &&value)
InvokeFlowRequest & WithFlowIdentifier(FlowIdentifierT &&value)
virtual bool HasEventStreamResponse() const override
const Aws::String & GetFlowAliasIdentifier() const
const ModelPerformanceConfiguration & GetModelPerformanceConfiguration() const
void SetEnableTrace(bool value)
bool FlowAliasIdentifierHasBeenSet() const
bool ExecutionIdHasBeenSet() const
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
InvokeFlowHandler & GetEventStreamHandler()
bool ModelPerformanceConfigurationHasBeenSet() const
bool InputsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetFlowIdentifier(FlowIdentifierT &&value)
bool EnableTraceHasBeenSet() const
InvokeFlowRequest & WithEventStreamHandler(const InvokeFlowHandler &value)
void SetEventStreamHandler(const InvokeFlowHandler &value)
void ResetEventStreamHandler(EventStreamHandler *handler)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector