AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
31 public:
32 AWS_BEDROCKAGENT_API ActionGroupExecutor() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetLambda() const { return m_lambda; }
43 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
44 template <typename LambdaT = Aws::String>
45 void SetLambda(LambdaT&& value) {
46 m_lambdaHasBeenSet = true;
47 m_lambda = std::forward<LambdaT>(value);
48 }
49 template <typename LambdaT = Aws::String>
51 SetLambda(std::forward<LambdaT>(value));
52 return *this;
53 }
55
57
61 inline CustomControlMethod GetCustomControl() const { return m_customControl; }
62 inline bool CustomControlHasBeenSet() const { return m_customControlHasBeenSet; }
64 m_customControlHasBeenSet = true;
65 m_customControl = value;
66 }
68 SetCustomControl(value);
69 return *this;
70 }
72 private:
73 Aws::String m_lambda;
74
76 bool m_lambdaHasBeenSet = false;
77 bool m_customControlHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BedrockAgent
82} // 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::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