AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GuardrailConfigurationWithArn.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_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 BedrockAgentRuntime
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_BEDROCKAGENTRUNTIME_API GuardrailConfigurationWithArn() = default;
35 AWS_BEDROCKAGENTRUNTIME_API GuardrailConfigurationWithArn(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetGuardrailIdentifier() const { return m_guardrailIdentifier; }
45 inline bool GuardrailIdentifierHasBeenSet() const { return m_guardrailIdentifierHasBeenSet; }
46 template<typename GuardrailIdentifierT = Aws::String>
47 void SetGuardrailIdentifier(GuardrailIdentifierT&& value) { m_guardrailIdentifierHasBeenSet = true; m_guardrailIdentifier = std::forward<GuardrailIdentifierT>(value); }
48 template<typename GuardrailIdentifierT = Aws::String>
49 GuardrailConfigurationWithArn& WithGuardrailIdentifier(GuardrailIdentifierT&& value) { SetGuardrailIdentifier(std::forward<GuardrailIdentifierT>(value)); return *this;}
51
53
56 inline const Aws::String& GetGuardrailVersion() const { return m_guardrailVersion; }
57 inline bool GuardrailVersionHasBeenSet() const { return m_guardrailVersionHasBeenSet; }
58 template<typename GuardrailVersionT = Aws::String>
59 void SetGuardrailVersion(GuardrailVersionT&& value) { m_guardrailVersionHasBeenSet = true; m_guardrailVersion = std::forward<GuardrailVersionT>(value); }
60 template<typename GuardrailVersionT = Aws::String>
61 GuardrailConfigurationWithArn& WithGuardrailVersion(GuardrailVersionT&& value) { SetGuardrailVersion(std::forward<GuardrailVersionT>(value)); return *this;}
63 private:
64
65 Aws::String m_guardrailIdentifier;
66 bool m_guardrailIdentifierHasBeenSet = false;
67
68 Aws::String m_guardrailVersion;
69 bool m_guardrailVersionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace BedrockAgentRuntime
74} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailConfigurationWithArn & WithGuardrailVersion(GuardrailVersionT &&value)
GuardrailConfigurationWithArn & WithGuardrailIdentifier(GuardrailIdentifierT &&value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailConfigurationWithArn & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GuardrailConfigurationWithArn(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GuardrailConfigurationWithArn()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue