AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GuardrailConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_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 BedrockAgent {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENT_API GuardrailConfiguration() = default;
33 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetGuardrailIdentifier() const { return m_guardrailIdentifier; }
40 inline bool GuardrailIdentifierHasBeenSet() const { return m_guardrailIdentifierHasBeenSet; }
41 template <typename GuardrailIdentifierT = Aws::String>
43 m_guardrailIdentifierHasBeenSet = true;
44 m_guardrailIdentifier = std::forward<GuardrailIdentifierT>(value);
45 }
46 template <typename GuardrailIdentifierT = Aws::String>
48 SetGuardrailIdentifier(std::forward<GuardrailIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetGuardrailVersion() const { return m_guardrailVersion; }
58 inline bool GuardrailVersionHasBeenSet() const { return m_guardrailVersionHasBeenSet; }
59 template <typename GuardrailVersionT = Aws::String>
61 m_guardrailVersionHasBeenSet = true;
62 m_guardrailVersion = std::forward<GuardrailVersionT>(value);
63 }
64 template <typename GuardrailVersionT = Aws::String>
66 SetGuardrailVersion(std::forward<GuardrailVersionT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_guardrailIdentifier;
72
73 Aws::String m_guardrailVersion;
74 bool m_guardrailIdentifierHasBeenSet = false;
75 bool m_guardrailVersionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgent
80} // namespace Aws
GuardrailConfiguration & WithGuardrailVersion(GuardrailVersionT &&value)
AWS_BEDROCKAGENT_API GuardrailConfiguration()=default
void SetGuardrailIdentifier(GuardrailIdentifierT &&value)
GuardrailConfiguration & WithGuardrailIdentifier(GuardrailIdentifierT &&value)
AWS_BEDROCKAGENT_API GuardrailConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API GuardrailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
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