AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GuardrailImageCoverage.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
25 public:
26 AWS_BEDROCKRUNTIME_API GuardrailImageCoverage() = default;
29 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetGuarded() const { return m_guarded; }
36 inline bool GuardedHasBeenSet() const { return m_guardedHasBeenSet; }
37 inline void SetGuarded(int value) {
38 m_guardedHasBeenSet = true;
39 m_guarded = value;
40 }
42 SetGuarded(value);
43 return *this;
44 }
46
48
52 inline int GetTotal() const { return m_total; }
53 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
54 inline void SetTotal(int value) {
55 m_totalHasBeenSet = true;
56 m_total = value;
57 }
58 inline GuardrailImageCoverage& WithTotal(int value) {
59 SetTotal(value);
60 return *this;
61 }
63 private:
64 int m_guarded{0};
65
66 int m_total{0};
67 bool m_guardedHasBeenSet = false;
68 bool m_totalHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace BedrockRuntime
73} // 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue