AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ActionGroupExecutor.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/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 BedrockAgent
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BEDROCKAGENT_API ActionGroupExecutor() = default;
38 AWS_BEDROCKAGENT_API ActionGroupExecutor(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline CustomControlMethod GetCustomControl() const { return m_customControl; }
49 inline bool CustomControlHasBeenSet() const { return m_customControlHasBeenSet; }
50 inline void SetCustomControl(CustomControlMethod value) { m_customControlHasBeenSet = true; m_customControl = value; }
53
55
59 inline const Aws::String& GetLambda() const { return m_lambda; }
60 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
61 template<typename LambdaT = Aws::String>
62 void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet = true; m_lambda = std::forward<LambdaT>(value); }
63 template<typename LambdaT = Aws::String>
64 ActionGroupExecutor& WithLambda(LambdaT&& value) { SetLambda(std::forward<LambdaT>(value)); return *this;}
66 private:
67
69 bool m_customControlHasBeenSet = false;
70
71 Aws::String m_lambda;
72 bool m_lambdaHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BedrockAgent
77} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
ActionGroupExecutor & WithCustomControl(CustomControlMethod value)
ActionGroupExecutor & WithLambda(LambdaT &&value)
AWS_BEDROCKAGENT_API ActionGroupExecutor(Aws::Utils::Json::JsonView jsonValue)
void SetCustomControl(CustomControlMethod value)
AWS_BEDROCKAGENT_API ActionGroupExecutor()=default
AWS_BEDROCKAGENT_API ActionGroupExecutor & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue