AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
AutomatedReasoningCheckLogicWarning.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningCheckLogicWarningType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock/model/AutomatedReasoningLogicStatement.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_BEDROCK_API AutomatedReasoningCheckLogicWarning() = default;
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline AutomatedReasoningCheckLogicWarningType GetType() const { return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 inline void SetType(AutomatedReasoningCheckLogicWarningType value) { m_typeHasBeenSet = true; m_type = value; }
54
56
60 inline const Aws::Vector<AutomatedReasoningLogicStatement>& GetPremises() const { return m_premises; }
61 inline bool PremisesHasBeenSet() const { return m_premisesHasBeenSet; }
62 template<typename PremisesT = Aws::Vector<AutomatedReasoningLogicStatement>>
63 void SetPremises(PremisesT&& value) { m_premisesHasBeenSet = true; m_premises = std::forward<PremisesT>(value); }
64 template<typename PremisesT = Aws::Vector<AutomatedReasoningLogicStatement>>
65 AutomatedReasoningCheckLogicWarning& WithPremises(PremisesT&& value) { SetPremises(std::forward<PremisesT>(value)); return *this;}
66 template<typename PremisesT = AutomatedReasoningLogicStatement>
67 AutomatedReasoningCheckLogicWarning& AddPremises(PremisesT&& value) { m_premisesHasBeenSet = true; m_premises.emplace_back(std::forward<PremisesT>(value)); return *this; }
69
71
75 inline const Aws::Vector<AutomatedReasoningLogicStatement>& GetClaims() const { return m_claims; }
76 inline bool ClaimsHasBeenSet() const { return m_claimsHasBeenSet; }
77 template<typename ClaimsT = Aws::Vector<AutomatedReasoningLogicStatement>>
78 void SetClaims(ClaimsT&& value) { m_claimsHasBeenSet = true; m_claims = std::forward<ClaimsT>(value); }
79 template<typename ClaimsT = Aws::Vector<AutomatedReasoningLogicStatement>>
80 AutomatedReasoningCheckLogicWarning& WithClaims(ClaimsT&& value) { SetClaims(std::forward<ClaimsT>(value)); return *this;}
81 template<typename ClaimsT = AutomatedReasoningLogicStatement>
82 AutomatedReasoningCheckLogicWarning& AddClaims(ClaimsT&& value) { m_claimsHasBeenSet = true; m_claims.emplace_back(std::forward<ClaimsT>(value)); return *this; }
84 private:
85
87 bool m_typeHasBeenSet = false;
88
90 bool m_premisesHasBeenSet = false;
91
93 bool m_claimsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Bedrock
98} // namespace Aws
AutomatedReasoningCheckLogicWarning & AddPremises(PremisesT &&value)
void SetType(AutomatedReasoningCheckLogicWarningType value)
AWS_BEDROCK_API AutomatedReasoningCheckLogicWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningCheckLogicWarning & WithPremises(PremisesT &&value)
const Aws::Vector< AutomatedReasoningLogicStatement > & GetClaims() const
const Aws::Vector< AutomatedReasoningLogicStatement > & GetPremises() const
AutomatedReasoningCheckLogicWarning & WithClaims(ClaimsT &&value)
AutomatedReasoningCheckLogicWarning & AddClaims(ClaimsT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningCheckLogicWarning & WithType(AutomatedReasoningCheckLogicWarningType value)
AWS_BEDROCK_API AutomatedReasoningCheckLogicWarning(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue