AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API ActionGroupExecutor() = default;
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline CustomControlMethod GetCustomControl() const { return m_customControl; }
44 inline bool CustomControlHasBeenSet() const { return m_customControlHasBeenSet; }
46 m_customControlHasBeenSet = true;
47 m_customControl = value;
48 }
50 SetCustomControl(value);
51 return *this;
52 }
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) {
64 m_lambdaHasBeenSet = true;
65 m_lambda = std::forward<LambdaT>(value);
66 }
67 template <typename LambdaT = Aws::String>
69 SetLambda(std::forward<LambdaT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_lambda;
77 bool m_customControlHasBeenSet = false;
78 bool m_lambdaHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace BedrockAgentRuntime
83} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue