AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BedrockGuardrailConfiguration.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_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 LexModelsV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LEXMODELSV2_API BedrockGuardrailConfiguration();
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
46 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
47 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
48 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
49 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
50 inline BedrockGuardrailConfiguration& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
51 inline BedrockGuardrailConfiguration& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
52 inline BedrockGuardrailConfiguration& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
54
56
59 inline const Aws::String& GetVersion() const{ return m_version; }
60 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
61 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
62 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
63 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
64 inline BedrockGuardrailConfiguration& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
65 inline BedrockGuardrailConfiguration& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
66 inline BedrockGuardrailConfiguration& WithVersion(const char* value) { SetVersion(value); return *this;}
68 private:
69
70 Aws::String m_identifier;
71 bool m_identifierHasBeenSet = false;
72
73 Aws::String m_version;
74 bool m_versionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace LexModelsV2
79} // namespace Aws
AWS_LEXMODELSV2_API BedrockGuardrailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
BedrockGuardrailConfiguration & WithVersion(Aws::String &&value)
BedrockGuardrailConfiguration & WithIdentifier(const Aws::String &value)
BedrockGuardrailConfiguration & WithIdentifier(const char *value)
AWS_LEXMODELSV2_API BedrockGuardrailConfiguration(Aws::Utils::Json::JsonView jsonValue)
BedrockGuardrailConfiguration & WithVersion(const Aws::String &value)
BedrockGuardrailConfiguration & WithIdentifier(Aws::String &&value)
BedrockGuardrailConfiguration & WithVersion(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue