AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AutomatedReasoningLogicStatement.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
30 public:
31 AWS_BEDROCK_API AutomatedReasoningLogicStatement() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetLogic() const { return m_logic; }
42 inline bool LogicHasBeenSet() const { return m_logicHasBeenSet; }
43 template <typename LogicT = Aws::String>
44 void SetLogic(LogicT&& value) {
45 m_logicHasBeenSet = true;
46 m_logic = std::forward<LogicT>(value);
47 }
48 template <typename LogicT = Aws::String>
50 SetLogic(std::forward<LogicT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetNaturalLanguage() const { return m_naturalLanguage; }
61 inline bool NaturalLanguageHasBeenSet() const { return m_naturalLanguageHasBeenSet; }
62 template <typename NaturalLanguageT = Aws::String>
64 m_naturalLanguageHasBeenSet = true;
65 m_naturalLanguage = std::forward<NaturalLanguageT>(value);
66 }
67 template <typename NaturalLanguageT = Aws::String>
69 SetNaturalLanguage(std::forward<NaturalLanguageT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_logic;
75
76 Aws::String m_naturalLanguage;
77 bool m_logicHasBeenSet = false;
78 bool m_naturalLanguageHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Bedrock
83} // namespace Aws
AWS_BEDROCK_API AutomatedReasoningLogicStatement(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API AutomatedReasoningLogicStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API AutomatedReasoningLogicStatement()=default
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningLogicStatement & WithNaturalLanguage(NaturalLanguageT &&value)
AutomatedReasoningLogicStatement & WithLogic(LogicT &&value)
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