AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InlineCodeFlowNodeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/SupportedLanguages.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
36 {
37 public:
38 AWS_BEDROCKAGENT_API InlineCodeFlowNodeConfiguration() = default;
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetCode() const { return m_code; }
52 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
53 template<typename CodeT = Aws::String>
54 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
55 template<typename CodeT = Aws::String>
56 InlineCodeFlowNodeConfiguration& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
58
60
65 inline SupportedLanguages GetLanguage() const { return m_language; }
66 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
67 inline void SetLanguage(SupportedLanguages value) { m_languageHasBeenSet = true; m_language = value; }
70 private:
71
72 Aws::String m_code;
73 bool m_codeHasBeenSet = false;
74
76 bool m_languageHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
InlineCodeFlowNodeConfiguration & WithLanguage(SupportedLanguages value)
AWS_BEDROCKAGENT_API InlineCodeFlowNodeConfiguration()=default
AWS_BEDROCKAGENT_API InlineCodeFlowNodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API InlineCodeFlowNodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue