AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
InlineCodeFlowNodeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/SupportedLanguages.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
32 public:
33 AWS_BEDROCKAGENT_API InlineCodeFlowNodeConfiguration() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline const Aws::String& GetCode() const { return m_code; }
46 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
47 template <typename CodeT = Aws::String>
48 void SetCode(CodeT&& value) {
49 m_codeHasBeenSet = true;
50 m_code = std::forward<CodeT>(value);
51 }
52 template <typename CodeT = Aws::String>
54 SetCode(std::forward<CodeT>(value));
55 return *this;
56 }
58
60
65 inline SupportedLanguages GetLanguage() const { return m_language; }
66 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
67 inline void SetLanguage(SupportedLanguages value) {
68 m_languageHasBeenSet = true;
69 m_language = value;
70 }
72 SetLanguage(value);
73 return *this;
74 }
76 private:
77 Aws::String m_code;
78
80 bool m_codeHasBeenSet = false;
81 bool m_languageHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace BedrockAgent
86} // 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::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