AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
GuardrailChecksPromptAttackUsage.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockRuntime {
17namespace Model {
18
26 public:
27 AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackUsage() = default;
30 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetTextUnits() const { return m_textUnits; }
37 inline bool TextUnitsHasBeenSet() const { return m_textUnitsHasBeenSet; }
38 inline void SetTextUnits(int value) {
39 m_textUnitsHasBeenSet = true;
40 m_textUnits = value;
41 }
43 SetTextUnits(value);
44 return *this;
45 }
47 private:
48 int m_textUnits{0};
49 bool m_textUnitsHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace BedrockRuntime
54} // namespace Aws
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackUsage(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackUsage()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue