AWS SDK for C++

AWS SDK for C++ Version 1.11.760

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningRule() = default;
33 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetIdentifier() const { return m_identifier; }
40 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
41 template <typename IdentifierT = Aws::String>
42 void SetIdentifier(IdentifierT&& value) {
43 m_identifierHasBeenSet = true;
44 m_identifier = std::forward<IdentifierT>(value);
45 }
46 template <typename IdentifierT = Aws::String>
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
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>
62 m_policyVersionArnHasBeenSet = true;
63 m_policyVersionArn = std::forward<PolicyVersionArnT>(value);
64 }
65 template <typename PolicyVersionArnT = Aws::String>
67 SetPolicyVersionArn(std::forward<PolicyVersionArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_identifier;
73
74 Aws::String m_policyVersionArn;
75 bool m_identifierHasBeenSet = false;
76 bool m_policyVersionArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockRuntime
81} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue