7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
9#include <aws/bedrock-agent-runtime/model/InvokeFlowHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/bedrock-agent-runtime/model/ModelPerformanceConfiguration.h>
14#include <aws/bedrock-agent-runtime/model/FlowInput.h>
19namespace BedrockAgentRuntime
70 inline void SetEnableTrace(
bool value) { m_enableTraceHasBeenSet =
true; m_enableTrace = value; }
81 template<
typename ExecutionIdT = Aws::String>
82 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet =
true; m_executionId = std::forward<ExecutionIdT>(value); }
83 template<
typename ExecutionIdT = Aws::String>
93 template<
typename FlowAliasIdentifierT = Aws::String>
94 void SetFlowAliasIdentifier(FlowAliasIdentifierT&& value) { m_flowAliasIdentifierHasBeenSet =
true; m_flowAliasIdentifier = std::forward<FlowAliasIdentifierT>(value); }
95 template<
typename FlowAliasIdentifierT = Aws::String>
105 template<
typename FlowIdentifierT = Aws::String>
106 void SetFlowIdentifier(FlowIdentifierT&& value) { m_flowIdentifierHasBeenSet =
true; m_flowIdentifier = std::forward<FlowIdentifierT>(value); }
107 template<
typename FlowIdentifierT = Aws::String>
118 template<
typename InputsT = Aws::Vector<FlowInput>>
119 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
120 template<
typename InputsT = Aws::Vector<FlowInput>>
122 template<
typename InputsT = FlowInput>
123 InvokeFlowRequest&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
132 template<
typename ModelPerformanceConfigurationT = ModelPerformanceConfiguration>
133 void SetModelPerformanceConfiguration(ModelPerformanceConfigurationT&& value) { m_modelPerformanceConfigurationHasBeenSet =
true; m_modelPerformanceConfiguration = std::forward<ModelPerformanceConfigurationT>(value); }
134 template<
typename ModelPerformanceConfigurationT = ModelPerformanceConfiguration>
139 bool m_enableTrace{
false};
140 bool m_enableTraceHasBeenSet =
false;
143 bool m_executionIdHasBeenSet =
false;
146 bool m_flowAliasIdentifierHasBeenSet =
false;
149 bool m_flowIdentifierHasBeenSet =
false;
152 bool m_inputsHasBeenSet =
false;
154 ModelPerformanceConfiguration m_modelPerformanceConfiguration;
155 bool m_modelPerformanceConfigurationHasBeenSet =
false;
156 InvokeFlowHandler m_handler;
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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector