AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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#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 Bedrock
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_BEDROCK_API GuardrailCrossRegionDetails() = default;
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const Aws::String& GetGuardrailProfileId() const { return m_guardrailProfileId; }
53 inline bool GuardrailProfileIdHasBeenSet() const { return m_guardrailProfileIdHasBeenSet; }
54 template<typename GuardrailProfileIdT = Aws::String>
55 void SetGuardrailProfileId(GuardrailProfileIdT&& value) { m_guardrailProfileIdHasBeenSet = true; m_guardrailProfileId = std::forward<GuardrailProfileIdT>(value); }
56 template<typename GuardrailProfileIdT = Aws::String>
57 GuardrailCrossRegionDetails& WithGuardrailProfileId(GuardrailProfileIdT&& value) { SetGuardrailProfileId(std::forward<GuardrailProfileIdT>(value)); return *this;}
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>
68 void SetGuardrailProfileArn(GuardrailProfileArnT&& value) { m_guardrailProfileArnHasBeenSet = true; m_guardrailProfileArn = std::forward<GuardrailProfileArnT>(value); }
69 template<typename GuardrailProfileArnT = Aws::String>
70 GuardrailCrossRegionDetails& WithGuardrailProfileArn(GuardrailProfileArnT&& value) { SetGuardrailProfileArn(std::forward<GuardrailProfileArnT>(value)); return *this;}
72 private:
73
74 Aws::String m_guardrailProfileId;
75 bool m_guardrailProfileIdHasBeenSet = false;
76
77 Aws::String m_guardrailProfileArn;
78 bool m_guardrailProfileArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Bedrock
83} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue