AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailContextualGroundingPolicyConfig.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/GuardrailContextualGroundingFilterConfig.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:
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<GuardrailContextualGroundingFilterConfig>& GetFiltersConfig() const{ return m_filtersConfig; }
48 inline bool FiltersConfigHasBeenSet() const { return m_filtersConfigHasBeenSet; }
49 inline void SetFiltersConfig(const Aws::Vector<GuardrailContextualGroundingFilterConfig>& value) { m_filtersConfigHasBeenSet = true; m_filtersConfig = value; }
50 inline void SetFiltersConfig(Aws::Vector<GuardrailContextualGroundingFilterConfig>&& value) { m_filtersConfigHasBeenSet = true; m_filtersConfig = std::move(value); }
53 inline GuardrailContextualGroundingPolicyConfig& AddFiltersConfig(const GuardrailContextualGroundingFilterConfig& value) { m_filtersConfigHasBeenSet = true; m_filtersConfig.push_back(value); return *this; }
54 inline GuardrailContextualGroundingPolicyConfig& AddFiltersConfig(GuardrailContextualGroundingFilterConfig&& value) { m_filtersConfigHasBeenSet = true; m_filtersConfig.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_filtersConfigHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Bedrock
64} // namespace Aws
GuardrailContextualGroundingPolicyConfig & AddFiltersConfig(GuardrailContextualGroundingFilterConfig &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< GuardrailContextualGroundingFilterConfig > & GetFiltersConfig() const
AWS_BEDROCK_API GuardrailContextualGroundingPolicyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFiltersConfig(const Aws::Vector< GuardrailContextualGroundingFilterConfig > &value)
GuardrailContextualGroundingPolicyConfig & AddFiltersConfig(const GuardrailContextualGroundingFilterConfig &value)
GuardrailContextualGroundingPolicyConfig & WithFiltersConfig(Aws::Vector< GuardrailContextualGroundingFilterConfig > &&value)
void SetFiltersConfig(Aws::Vector< GuardrailContextualGroundingFilterConfig > &&value)
AWS_BEDROCK_API GuardrailContextualGroundingPolicyConfig(Aws::Utils::Json::JsonView jsonValue)
GuardrailContextualGroundingPolicyConfig & WithFiltersConfig(const Aws::Vector< GuardrailContextualGroundingFilterConfig > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue