AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ActionGroupExecutor.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/CustomControlMethod.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BEDROCKAGENTRUNTIME_API ActionGroupExecutor() = default;
38 AWS_BEDROCKAGENTRUNTIME_API ActionGroupExecutor(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API ActionGroupExecutor& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline CustomControlMethod GetCustomControl() const { return m_customControl; }
50 inline bool CustomControlHasBeenSet() const { return m_customControlHasBeenSet; }
51 inline void SetCustomControl(CustomControlMethod value) { m_customControlHasBeenSet = true; m_customControl = value; }
54
56
60 inline const Aws::String& GetLambda() const { return m_lambda; }
61 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
62 template<typename LambdaT = Aws::String>
63 void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet = true; m_lambda = std::forward<LambdaT>(value); }
64 template<typename LambdaT = Aws::String>
65 ActionGroupExecutor& WithLambda(LambdaT&& value) { SetLambda(std::forward<LambdaT>(value)); return *this;}
67 private:
68
70 bool m_customControlHasBeenSet = false;
71
72 Aws::String m_lambda;
73 bool m_lambdaHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace BedrockAgentRuntime
78} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ActionGroupExecutor & WithCustomControl(CustomControlMethod value)
AWS_BEDROCKAGENTRUNTIME_API ActionGroupExecutor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API ActionGroupExecutor()=default
AWS_BEDROCKAGENTRUNTIME_API ActionGroupExecutor(Aws::Utils::Json::JsonView jsonValue)
ActionGroupExecutor & WithLambda(LambdaT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue