AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AIGuardrailAssessment.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QConnect {
17namespace Model {
18
26 public:
27 AWS_QCONNECT_API AIGuardrailAssessment() = default;
30 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetBlocked() const { return m_blocked; }
37 inline bool BlockedHasBeenSet() const { return m_blockedHasBeenSet; }
38 inline void SetBlocked(bool value) {
39 m_blockedHasBeenSet = true;
40 m_blocked = value;
41 }
42 inline AIGuardrailAssessment& WithBlocked(bool value) {
43 SetBlocked(value);
44 return *this;
45 }
47 private:
48 bool m_blocked{false};
49 bool m_blockedHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace QConnect
54} // namespace Aws
AWS_QCONNECT_API AIGuardrailAssessment(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API AIGuardrailAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API AIGuardrailAssessment()=default
AIGuardrailAssessment & WithBlocked(bool value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue