AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GuardrailAutomatedReasoningRule.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockRuntime
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningRule() = default;
38 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIdentifier() const { return m_identifier; }
46 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
47 template<typename IdentifierT = Aws::String>
48 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
49 template<typename IdentifierT = Aws::String>
50 GuardrailAutomatedReasoningRule& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
52
54
58 inline const Aws::String& GetPolicyVersionArn() const { return m_policyVersionArn; }
59 inline bool PolicyVersionArnHasBeenSet() const { return m_policyVersionArnHasBeenSet; }
60 template<typename PolicyVersionArnT = Aws::String>
61 void SetPolicyVersionArn(PolicyVersionArnT&& value) { m_policyVersionArnHasBeenSet = true; m_policyVersionArn = std::forward<PolicyVersionArnT>(value); }
62 template<typename PolicyVersionArnT = Aws::String>
63 GuardrailAutomatedReasoningRule& WithPolicyVersionArn(PolicyVersionArnT&& value) { SetPolicyVersionArn(std::forward<PolicyVersionArnT>(value)); return *this;}
65 private:
66
67 Aws::String m_identifier;
68 bool m_identifierHasBeenSet = false;
69
70 Aws::String m_policyVersionArn;
71 bool m_policyVersionArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockRuntime
76} // namespace Aws
GuardrailAutomatedReasoningRule & WithPolicyVersionArn(PolicyVersionArnT &&value)
GuardrailAutomatedReasoningRule & WithIdentifier(IdentifierT &&value)
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningRule()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningRule(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue