AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
SelectiveContentGuarding.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/SelectiveGuardingMode.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
29 public:
30 AWS_BEDROCK_API SelectiveContentGuarding() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline SelectiveGuardingMode GetSystem() const { return m_system; }
40 inline bool SystemHasBeenSet() const { return m_systemHasBeenSet; }
41 inline void SetSystem(SelectiveGuardingMode value) {
42 m_systemHasBeenSet = true;
43 m_system = value;
44 }
46 SetSystem(value);
47 return *this;
48 }
50
52
55 inline SelectiveGuardingMode GetMessages() const { return m_messages; }
56 inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; }
58 m_messagesHasBeenSet = true;
59 m_messages = value;
60 }
62 SetMessages(value);
63 return *this;
64 }
66 private:
68
70 bool m_systemHasBeenSet = false;
71 bool m_messagesHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Bedrock
76} // namespace Aws
AWS_BEDROCK_API SelectiveContentGuarding & operator=(Aws::Utils::Json::JsonView jsonValue)
SelectiveContentGuarding & WithMessages(SelectiveGuardingMode value)
AWS_BEDROCK_API SelectiveContentGuarding()=default
AWS_BEDROCK_API SelectiveContentGuarding(Aws::Utils::Json::JsonView jsonValue)
SelectiveContentGuarding & WithSystem(SelectiveGuardingMode value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue