AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
StartFlowExecutionRequest.h
1
6#pragma once
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/ModelPerformanceConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace BedrockAgentRuntime {
18namespace Model {
19
23 public:
24 AWS_BEDROCKAGENTRUNTIME_API StartFlowExecutionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartFlowExecution"; }
31
32 AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetFlowAliasIdentifier() const { return m_flowAliasIdentifier; }
39 inline bool FlowAliasIdentifierHasBeenSet() const { return m_flowAliasIdentifierHasBeenSet; }
40 template <typename FlowAliasIdentifierT = Aws::String>
42 m_flowAliasIdentifierHasBeenSet = true;
43 m_flowAliasIdentifier = std::forward<FlowAliasIdentifierT>(value);
44 }
45 template <typename FlowAliasIdentifierT = Aws::String>
47 SetFlowAliasIdentifier(std::forward<FlowAliasIdentifierT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetFlowExecutionName() const { return m_flowExecutionName; }
58 inline bool FlowExecutionNameHasBeenSet() const { return m_flowExecutionNameHasBeenSet; }
59 template <typename FlowExecutionNameT = Aws::String>
61 m_flowExecutionNameHasBeenSet = true;
62 m_flowExecutionName = std::forward<FlowExecutionNameT>(value);
63 }
64 template <typename FlowExecutionNameT = Aws::String>
66 SetFlowExecutionName(std::forward<FlowExecutionNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
76 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
77 template <typename FlowIdentifierT = Aws::String>
79 m_flowIdentifierHasBeenSet = true;
80 m_flowIdentifier = std::forward<FlowIdentifierT>(value);
81 }
82 template <typename FlowIdentifierT = Aws::String>
84 SetFlowIdentifier(std::forward<FlowIdentifierT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::Vector<FlowInput>& GetInputs() const { return m_inputs; }
95 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
96 template <typename InputsT = Aws::Vector<FlowInput>>
97 void SetInputs(InputsT&& value) {
98 m_inputsHasBeenSet = true;
99 m_inputs = std::forward<InputsT>(value);
100 }
101 template <typename InputsT = Aws::Vector<FlowInput>>
103 SetInputs(std::forward<InputsT>(value));
104 return *this;
105 }
106 template <typename InputsT = FlowInput>
108 m_inputsHasBeenSet = true;
109 m_inputs.emplace_back(std::forward<InputsT>(value));
110 return *this;
111 }
113
115
119 inline const ModelPerformanceConfiguration& GetModelPerformanceConfiguration() const { return m_modelPerformanceConfiguration; }
120 inline bool ModelPerformanceConfigurationHasBeenSet() const { return m_modelPerformanceConfigurationHasBeenSet; }
121 template <typename ModelPerformanceConfigurationT = ModelPerformanceConfiguration>
123 m_modelPerformanceConfigurationHasBeenSet = true;
124 m_modelPerformanceConfiguration = std::forward<ModelPerformanceConfigurationT>(value);
125 }
126 template <typename ModelPerformanceConfigurationT = ModelPerformanceConfiguration>
128 SetModelPerformanceConfiguration(std::forward<ModelPerformanceConfigurationT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_flowAliasIdentifier;
134
135 Aws::String m_flowExecutionName;
136
137 Aws::String m_flowIdentifier;
138
139 Aws::Vector<FlowInput> m_inputs;
140
141 ModelPerformanceConfiguration m_modelPerformanceConfiguration;
142 bool m_flowAliasIdentifierHasBeenSet = false;
143 bool m_flowExecutionNameHasBeenSet = false;
144 bool m_flowIdentifierHasBeenSet = false;
145 bool m_inputsHasBeenSet = false;
146 bool m_modelPerformanceConfigurationHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace BedrockAgentRuntime
151} // 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::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