AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const CustomControlMethod& GetCustomControl() const{ return m_customControl; }
49 inline bool CustomControlHasBeenSet() const { return m_customControlHasBeenSet; }
50 inline void SetCustomControl(const CustomControlMethod& value) { m_customControlHasBeenSet = true; m_customControl = value; }
51 inline void SetCustomControl(CustomControlMethod&& value) { m_customControlHasBeenSet = true; m_customControl = std::move(value); }
52 inline ActionGroupExecutor& WithCustomControl(const CustomControlMethod& value) { SetCustomControl(value); return *this;}
53 inline ActionGroupExecutor& WithCustomControl(CustomControlMethod&& value) { SetCustomControl(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetLambda() const{ return m_lambda; }
62 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
63 inline void SetLambda(const Aws::String& value) { m_lambdaHasBeenSet = true; m_lambda = value; }
64 inline void SetLambda(Aws::String&& value) { m_lambdaHasBeenSet = true; m_lambda = std::move(value); }
65 inline void SetLambda(const char* value) { m_lambdaHasBeenSet = true; m_lambda.assign(value); }
66 inline ActionGroupExecutor& WithLambda(const Aws::String& value) { SetLambda(value); return *this;}
67 inline ActionGroupExecutor& WithLambda(Aws::String&& value) { SetLambda(std::move(value)); return *this;}
68 inline ActionGroupExecutor& WithLambda(const char* value) { SetLambda(value); return *this;}
70 private:
71
72 CustomControlMethod m_customControl;
73 bool m_customControlHasBeenSet = false;
74
75 Aws::String m_lambda;
76 bool m_lambdaHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
ActionGroupExecutor & WithCustomControl(const CustomControlMethod &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
ActionGroupExecutor & WithLambda(Aws::String &&value)
ActionGroupExecutor & WithCustomControl(CustomControlMethod &&value)
ActionGroupExecutor & WithLambda(const char *value)
AWS_BEDROCKAGENT_API ActionGroupExecutor(Aws::Utils::Json::JsonView jsonValue)
const CustomControlMethod & GetCustomControl() const
void SetCustomControl(const CustomControlMethod &value)
ActionGroupExecutor & WithLambda(const Aws::String &value)
AWS_BEDROCKAGENT_API ActionGroupExecutor & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomControl(CustomControlMethod &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue