AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
GuardrailAutomatedReasoningPolicyAssessment.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailAutomatedReasoningFinding.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockRuntime {
21namespace Model {
22
31 public:
32 AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningPolicyAssessment() = default;
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<GuardrailAutomatedReasoningFinding>& GetFindings() const { return m_findings; }
43 inline bool FindingsHasBeenSet() const { return m_findingsHasBeenSet; }
44 template <typename FindingsT = Aws::Vector<GuardrailAutomatedReasoningFinding>>
45 void SetFindings(FindingsT&& value) {
46 m_findingsHasBeenSet = true;
47 m_findings = std::forward<FindingsT>(value);
48 }
49 template <typename FindingsT = Aws::Vector<GuardrailAutomatedReasoningFinding>>
51 SetFindings(std::forward<FindingsT>(value));
52 return *this;
53 }
54 template <typename FindingsT = GuardrailAutomatedReasoningFinding>
56 m_findingsHasBeenSet = true;
57 m_findings.emplace_back(std::forward<FindingsT>(value));
58 return *this;
59 }
61 private:
63 bool m_findingsHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace BedrockRuntime
68} // namespace Aws
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< GuardrailAutomatedReasoningFinding > & GetFindings() const
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningPolicyAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningPolicyAssessment(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue