AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartFlowExecutionRequest.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent-runtime/model/ModelPerformanceConfiguration.h>
12#include <aws/bedrock-agent-runtime/model/FlowInput.h>
13#include <utility>
14
15namespace Aws
16{
17namespace BedrockAgentRuntime
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_BEDROCKAGENTRUNTIME_API StartFlowExecutionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartFlowExecution"; }
34
35 AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetFlowAliasIdentifier() const { return m_flowAliasIdentifier; }
43 inline bool FlowAliasIdentifierHasBeenSet() const { return m_flowAliasIdentifierHasBeenSet; }
44 template<typename FlowAliasIdentifierT = Aws::String>
45 void SetFlowAliasIdentifier(FlowAliasIdentifierT&& value) { m_flowAliasIdentifierHasBeenSet = true; m_flowAliasIdentifier = std::forward<FlowAliasIdentifierT>(value); }
46 template<typename FlowAliasIdentifierT = Aws::String>
47 StartFlowExecutionRequest& WithFlowAliasIdentifier(FlowAliasIdentifierT&& value) { SetFlowAliasIdentifier(std::forward<FlowAliasIdentifierT>(value)); return *this;}
49
51
55 inline const Aws::String& GetFlowExecutionName() const { return m_flowExecutionName; }
56 inline bool FlowExecutionNameHasBeenSet() const { return m_flowExecutionNameHasBeenSet; }
57 template<typename FlowExecutionNameT = Aws::String>
58 void SetFlowExecutionName(FlowExecutionNameT&& value) { m_flowExecutionNameHasBeenSet = true; m_flowExecutionName = std::forward<FlowExecutionNameT>(value); }
59 template<typename FlowExecutionNameT = Aws::String>
60 StartFlowExecutionRequest& WithFlowExecutionName(FlowExecutionNameT&& value) { SetFlowExecutionName(std::forward<FlowExecutionNameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
68 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
69 template<typename FlowIdentifierT = Aws::String>
70 void SetFlowIdentifier(FlowIdentifierT&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::forward<FlowIdentifierT>(value); }
71 template<typename FlowIdentifierT = Aws::String>
72 StartFlowExecutionRequest& WithFlowIdentifier(FlowIdentifierT&& value) { SetFlowIdentifier(std::forward<FlowIdentifierT>(value)); return *this;}
74
76
80 inline const Aws::Vector<FlowInput>& GetInputs() const { return m_inputs; }
81 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
82 template<typename InputsT = Aws::Vector<FlowInput>>
83 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
84 template<typename InputsT = Aws::Vector<FlowInput>>
85 StartFlowExecutionRequest& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
86 template<typename InputsT = FlowInput>
87 StartFlowExecutionRequest& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
89
91
95 inline const ModelPerformanceConfiguration& GetModelPerformanceConfiguration() const { return m_modelPerformanceConfiguration; }
96 inline bool ModelPerformanceConfigurationHasBeenSet() const { return m_modelPerformanceConfigurationHasBeenSet; }
97 template<typename ModelPerformanceConfigurationT = ModelPerformanceConfiguration>
98 void SetModelPerformanceConfiguration(ModelPerformanceConfigurationT&& value) { m_modelPerformanceConfigurationHasBeenSet = true; m_modelPerformanceConfiguration = std::forward<ModelPerformanceConfigurationT>(value); }
99 template<typename ModelPerformanceConfigurationT = ModelPerformanceConfiguration>
100 StartFlowExecutionRequest& WithModelPerformanceConfiguration(ModelPerformanceConfigurationT&& value) { SetModelPerformanceConfiguration(std::forward<ModelPerformanceConfigurationT>(value)); return *this;}
102 private:
103
104 Aws::String m_flowAliasIdentifier;
105 bool m_flowAliasIdentifierHasBeenSet = false;
106
107 Aws::String m_flowExecutionName;
108 bool m_flowExecutionNameHasBeenSet = false;
109
110 Aws::String m_flowIdentifier;
111 bool m_flowIdentifierHasBeenSet = false;
112
113 Aws::Vector<FlowInput> m_inputs;
114 bool m_inputsHasBeenSet = false;
115
116 ModelPerformanceConfiguration m_modelPerformanceConfiguration;
117 bool m_modelPerformanceConfigurationHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace BedrockAgentRuntime
122} // namespace Aws
const ModelPerformanceConfiguration & GetModelPerformanceConfiguration() const
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
StartFlowExecutionRequest & WithFlowExecutionName(FlowExecutionNameT &&value)
void SetModelPerformanceConfiguration(ModelPerformanceConfigurationT &&value)
StartFlowExecutionRequest & WithFlowIdentifier(FlowIdentifierT &&value)
StartFlowExecutionRequest & WithModelPerformanceConfiguration(ModelPerformanceConfigurationT &&value)
StartFlowExecutionRequest & WithFlowAliasIdentifier(FlowAliasIdentifierT &&value)
AWS_BEDROCKAGENTRUNTIME_API StartFlowExecutionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector