AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GuardrailCrossRegionConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_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 Bedrock {
20namespace Model {
21
34 public:
35 AWS_BEDROCK_API GuardrailCrossRegionConfig() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
48 inline const Aws::String& GetGuardrailProfileIdentifier() const { return m_guardrailProfileIdentifier; }
49 inline bool GuardrailProfileIdentifierHasBeenSet() const { return m_guardrailProfileIdentifierHasBeenSet; }
50 template <typename GuardrailProfileIdentifierT = Aws::String>
52 m_guardrailProfileIdentifierHasBeenSet = true;
53 m_guardrailProfileIdentifier = std::forward<GuardrailProfileIdentifierT>(value);
54 }
55 template <typename GuardrailProfileIdentifierT = Aws::String>
57 SetGuardrailProfileIdentifier(std::forward<GuardrailProfileIdentifierT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_guardrailProfileIdentifier;
63 bool m_guardrailProfileIdentifierHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace Bedrock
68} // namespace Aws
AWS_BEDROCK_API GuardrailCrossRegionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API GuardrailCrossRegionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API GuardrailCrossRegionConfig()=default
GuardrailCrossRegionConfig & WithGuardrailProfileIdentifier(GuardrailProfileIdentifierT &&value)
void SetGuardrailProfileIdentifier(GuardrailProfileIdentifierT &&value)
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