AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
BedrockGuardrailConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API BedrockGuardrailConfiguration() = default;
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetIdentifier() const { return m_identifier; }
40 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
41 template <typename IdentifierT = Aws::String>
42 void SetIdentifier(IdentifierT&& value) {
43 m_identifierHasBeenSet = true;
44 m_identifier = std::forward<IdentifierT>(value);
45 }
46 template <typename IdentifierT = Aws::String>
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetVersion() const { return m_version; }
58 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
59 template <typename VersionT = Aws::String>
60 void SetVersion(VersionT&& value) {
61 m_versionHasBeenSet = true;
62 m_version = std::forward<VersionT>(value);
63 }
64 template <typename VersionT = Aws::String>
66 SetVersion(std::forward<VersionT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_identifier;
72
73 Aws::String m_version;
74 bool m_identifierHasBeenSet = false;
75 bool m_versionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace LexModelsV2
80} // namespace Aws
AWS_LEXMODELSV2_API BedrockGuardrailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BedrockGuardrailConfiguration()=default
AWS_LEXMODELSV2_API BedrockGuardrailConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BedrockGuardrailConfiguration & WithIdentifier(IdentifierT &&value)
BedrockGuardrailConfiguration & WithVersion(VersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue