AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailTopicPolicyConfig.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/GuardrailTopicConfig.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 GuardrailTopicPolicyConfig();
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<GuardrailTopicConfig>& GetTopicsConfig() const{ return m_topicsConfig; }
47 inline bool TopicsConfigHasBeenSet() const { return m_topicsConfigHasBeenSet; }
48 inline void SetTopicsConfig(const Aws::Vector<GuardrailTopicConfig>& value) { m_topicsConfigHasBeenSet = true; m_topicsConfig = value; }
49 inline void SetTopicsConfig(Aws::Vector<GuardrailTopicConfig>&& value) { m_topicsConfigHasBeenSet = true; m_topicsConfig = std::move(value); }
52 inline GuardrailTopicPolicyConfig& AddTopicsConfig(const GuardrailTopicConfig& value) { m_topicsConfigHasBeenSet = true; m_topicsConfig.push_back(value); return *this; }
53 inline GuardrailTopicPolicyConfig& AddTopicsConfig(GuardrailTopicConfig&& value) { m_topicsConfigHasBeenSet = true; m_topicsConfig.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_topicsConfigHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Bedrock
63} // namespace Aws
void SetTopicsConfig(Aws::Vector< GuardrailTopicConfig > &&value)
GuardrailTopicPolicyConfig & WithTopicsConfig(Aws::Vector< GuardrailTopicConfig > &&value)
AWS_BEDROCK_API GuardrailTopicPolicyConfig(Aws::Utils::Json::JsonView jsonValue)
GuardrailTopicPolicyConfig & WithTopicsConfig(const Aws::Vector< GuardrailTopicConfig > &value)
GuardrailTopicPolicyConfig & AddTopicsConfig(GuardrailTopicConfig &&value)
void SetTopicsConfig(const Aws::Vector< GuardrailTopicConfig > &value)
AWS_BEDROCK_API GuardrailTopicPolicyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< GuardrailTopicConfig > & GetTopicsConfig() const
GuardrailTopicPolicyConfig & AddTopicsConfig(const GuardrailTopicConfig &value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue