AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GuardrailImageCoverage.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_BEDROCKRUNTIME_API GuardrailImageCoverage() = default;
33 AWS_BEDROCKRUNTIME_API GuardrailImageCoverage(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetGuarded() const { return m_guarded; }
43 inline bool GuardedHasBeenSet() const { return m_guardedHasBeenSet; }
44 inline void SetGuarded(int value) { m_guardedHasBeenSet = true; m_guarded = value; }
45 inline GuardrailImageCoverage& WithGuarded(int value) { SetGuarded(value); return *this;}
47
49
53 inline int GetTotal() const { return m_total; }
54 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
55 inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; }
56 inline GuardrailImageCoverage& WithTotal(int value) { SetTotal(value); return *this;}
58 private:
59
60 int m_guarded{0};
61 bool m_guardedHasBeenSet = false;
62
63 int m_total{0};
64 bool m_totalHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace BedrockRuntime
69} // namespace Aws
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API GuardrailImageCoverage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailImageCoverage()=default
AWS_BEDROCKRUNTIME_API GuardrailImageCoverage(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue