AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
GuardrailAutomatedReasoningStatement.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_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 BedrockRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningStatement() = default;
33 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetLogic() const { return m_logic; }
40 inline bool LogicHasBeenSet() const { return m_logicHasBeenSet; }
41 template <typename LogicT = Aws::String>
42 void SetLogic(LogicT&& value) {
43 m_logicHasBeenSet = true;
44 m_logic = std::forward<LogicT>(value);
45 }
46 template <typename LogicT = Aws::String>
48 SetLogic(std::forward<LogicT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetNaturalLanguage() const { return m_naturalLanguage; }
58 inline bool NaturalLanguageHasBeenSet() const { return m_naturalLanguageHasBeenSet; }
59 template <typename NaturalLanguageT = Aws::String>
61 m_naturalLanguageHasBeenSet = true;
62 m_naturalLanguage = std::forward<NaturalLanguageT>(value);
63 }
64 template <typename NaturalLanguageT = Aws::String>
66 SetNaturalLanguage(std::forward<NaturalLanguageT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_logic;
72
73 Aws::String m_naturalLanguage;
74 bool m_logicHasBeenSet = false;
75 bool m_naturalLanguageHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockRuntime
80} // namespace Aws
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningStatement(Aws::Utils::Json::JsonView jsonValue)
GuardrailAutomatedReasoningStatement & WithNaturalLanguage(NaturalLanguageT &&value)
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningStatement()=default
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