AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
AutomatedReasoningCheckScenario.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock/model/AutomatedReasoningLogicStatement.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCK_API AutomatedReasoningCheckScenario() = default;
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<AutomatedReasoningLogicStatement>& GetStatements() const { return m_statements; }
47 inline bool StatementsHasBeenSet() const { return m_statementsHasBeenSet; }
48 template<typename StatementsT = Aws::Vector<AutomatedReasoningLogicStatement>>
49 void SetStatements(StatementsT&& value) { m_statementsHasBeenSet = true; m_statements = std::forward<StatementsT>(value); }
50 template<typename StatementsT = Aws::Vector<AutomatedReasoningLogicStatement>>
51 AutomatedReasoningCheckScenario& WithStatements(StatementsT&& value) { SetStatements(std::forward<StatementsT>(value)); return *this;}
52 template<typename StatementsT = AutomatedReasoningLogicStatement>
53 AutomatedReasoningCheckScenario& AddStatements(StatementsT&& value) { m_statementsHasBeenSet = true; m_statements.emplace_back(std::forward<StatementsT>(value)); return *this; }
55 private:
56
58 bool m_statementsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Bedrock
63} // namespace Aws
const Aws::Vector< AutomatedReasoningLogicStatement > & GetStatements() const
AutomatedReasoningCheckScenario & AddStatements(StatementsT &&value)
AWS_BEDROCK_API AutomatedReasoningCheckScenario(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningCheckScenario & WithStatements(StatementsT &&value)
AWS_BEDROCK_API AutomatedReasoningCheckScenario()=default
AWS_BEDROCK_API AutomatedReasoningCheckScenario & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue