AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailContentPolicyAssessment.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent-runtime/model/GuardrailContentFilter.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 BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API GuardrailContentPolicyAssessment();
37 AWS_BEDROCKAGENTRUNTIME_API GuardrailContentPolicyAssessment(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<GuardrailContentFilter>& GetFilters() const{ return m_filters; }
48 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
49 inline void SetFilters(const Aws::Vector<GuardrailContentFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
50 inline void SetFilters(Aws::Vector<GuardrailContentFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
53 inline GuardrailContentPolicyAssessment& AddFilters(const GuardrailContentFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
54 inline GuardrailContentPolicyAssessment& AddFilters(GuardrailContentFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_filtersHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace BedrockAgentRuntime
64} // namespace Aws
GuardrailContentPolicyAssessment & AddFilters(GuardrailContentFilter &&value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailContentPolicyAssessment(Aws::Utils::Json::JsonView jsonValue)
void SetFilters(const Aws::Vector< GuardrailContentFilter > &value)
GuardrailContentPolicyAssessment & AddFilters(const GuardrailContentFilter &value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailContentPolicyAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailContentPolicyAssessment & WithFilters(const Aws::Vector< GuardrailContentFilter > &value)
GuardrailContentPolicyAssessment & WithFilters(Aws::Vector< GuardrailContentFilter > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue