AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GuardrailCrossRegionDetails.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
32 public:
33 AWS_BEDROCK_API GuardrailCrossRegionDetails() = default;
36 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
46 inline const Aws::String& GetGuardrailProfileId() const { return m_guardrailProfileId; }
47 inline bool GuardrailProfileIdHasBeenSet() const { return m_guardrailProfileIdHasBeenSet; }
48 template <typename GuardrailProfileIdT = Aws::String>
50 m_guardrailProfileIdHasBeenSet = true;
51 m_guardrailProfileId = std::forward<GuardrailProfileIdT>(value);
52 }
53 template <typename GuardrailProfileIdT = Aws::String>
55 SetGuardrailProfileId(std::forward<GuardrailProfileIdT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetGuardrailProfileArn() const { return m_guardrailProfileArn; }
66 inline bool GuardrailProfileArnHasBeenSet() const { return m_guardrailProfileArnHasBeenSet; }
67 template <typename GuardrailProfileArnT = Aws::String>
69 m_guardrailProfileArnHasBeenSet = true;
70 m_guardrailProfileArn = std::forward<GuardrailProfileArnT>(value);
71 }
72 template <typename GuardrailProfileArnT = Aws::String>
74 SetGuardrailProfileArn(std::forward<GuardrailProfileArnT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_guardrailProfileId;
80
81 Aws::String m_guardrailProfileArn;
82 bool m_guardrailProfileIdHasBeenSet = false;
83 bool m_guardrailProfileArnHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Bedrock
88} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API GuardrailCrossRegionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API GuardrailCrossRegionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API GuardrailCrossRegionDetails()=default
GuardrailCrossRegionDetails & WithGuardrailProfileArn(GuardrailProfileArnT &&value)
GuardrailCrossRegionDetails & WithGuardrailProfileId(GuardrailProfileIdT &&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