AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
AgenticRetrieveBedrockGuardrailConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_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 BedrockAgentRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveBedrockGuardrailConfiguration() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetGuardrailId() const { return m_guardrailId; }
40 inline bool GuardrailIdHasBeenSet() const { return m_guardrailIdHasBeenSet; }
41 template <typename GuardrailIdT = Aws::String>
43 m_guardrailIdHasBeenSet = true;
44 m_guardrailId = std::forward<GuardrailIdT>(value);
45 }
46 template <typename GuardrailIdT = Aws::String>
48 SetGuardrailId(std::forward<GuardrailIdT>(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_guardrailId;
72
73 Aws::String m_guardrailVersion;
74 bool m_guardrailIdHasBeenSet = false;
75 bool m_guardrailVersionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgentRuntime
80} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AgenticRetrieveBedrockGuardrailConfiguration & WithGuardrailVersion(GuardrailVersionT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveBedrockGuardrailConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveBedrockGuardrailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveBedrockGuardrailConfiguration()=default
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