AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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