AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
AutomatedReasoningPolicyDefinitionRule.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 AutomatedReasoningPolicyDefinitionRule() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetExpression() const { return m_expression; }
59 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
60 template <typename ExpressionT = Aws::String>
61 void SetExpression(ExpressionT&& value) {
62 m_expressionHasBeenSet = true;
63 m_expression = std::forward<ExpressionT>(value);
64 }
65 template <typename ExpressionT = Aws::String>
67 SetExpression(std::forward<ExpressionT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetAlternateExpression() const { return m_alternateExpression; }
78 inline bool AlternateExpressionHasBeenSet() const { return m_alternateExpressionHasBeenSet; }
79 template <typename AlternateExpressionT = Aws::String>
80 void SetAlternateExpression(AlternateExpressionT&& value) {
81 m_alternateExpressionHasBeenSet = true;
82 m_alternateExpression = std::forward<AlternateExpressionT>(value);
83 }
84 template <typename AlternateExpressionT = Aws::String>
86 SetAlternateExpression(std::forward<AlternateExpressionT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_id;
92 bool m_idHasBeenSet = false;
93
94 Aws::String m_expression;
95 bool m_expressionHasBeenSet = false;
96
97 Aws::String m_alternateExpression;
98 bool m_alternateExpressionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Bedrock
103} // namespace Aws
AWS_BEDROCK_API AutomatedReasoningPolicyDefinitionRule(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningPolicyDefinitionRule & WithAlternateExpression(AlternateExpressionT &&value)
AutomatedReasoningPolicyDefinitionRule & WithExpression(ExpressionT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicyDefinitionRule & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue