AWS SDK for C++

AWS SDK for C++ Version 1.11.509

Loading...
Searching...
No Matches
GuardrailCoverage.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailTextCharactersCoverage.h>
9#include <aws/bedrock-runtime/model/GuardrailImageCoverage.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockRuntime
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKRUNTIME_API GuardrailCoverage();
36 AWS_BEDROCKRUNTIME_API GuardrailCoverage(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKRUNTIME_API GuardrailCoverage& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const GuardrailTextCharactersCoverage& GetTextCharacters() const{ return m_textCharacters; }
46 inline bool TextCharactersHasBeenSet() const { return m_textCharactersHasBeenSet; }
47 inline void SetTextCharacters(const GuardrailTextCharactersCoverage& value) { m_textCharactersHasBeenSet = true; m_textCharacters = value; }
48 inline void SetTextCharacters(GuardrailTextCharactersCoverage&& value) { m_textCharactersHasBeenSet = true; m_textCharacters = std::move(value); }
52
54
58 inline const GuardrailImageCoverage& GetImages() const{ return m_images; }
59 inline bool ImagesHasBeenSet() const { return m_imagesHasBeenSet; }
60 inline void SetImages(const GuardrailImageCoverage& value) { m_imagesHasBeenSet = true; m_images = value; }
61 inline void SetImages(GuardrailImageCoverage&& value) { m_imagesHasBeenSet = true; m_images = std::move(value); }
62 inline GuardrailCoverage& WithImages(const GuardrailImageCoverage& value) { SetImages(value); return *this;}
63 inline GuardrailCoverage& WithImages(GuardrailImageCoverage&& value) { SetImages(std::move(value)); return *this;}
65 private:
66
67 GuardrailTextCharactersCoverage m_textCharacters;
68 bool m_textCharactersHasBeenSet = false;
69
71 bool m_imagesHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockRuntime
76} // namespace Aws
void SetTextCharacters(GuardrailTextCharactersCoverage &&value)
GuardrailCoverage & WithImages(const GuardrailImageCoverage &value)
AWS_BEDROCKRUNTIME_API GuardrailCoverage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImages(const GuardrailImageCoverage &value)
void SetTextCharacters(const GuardrailTextCharactersCoverage &value)
GuardrailCoverage & WithTextCharacters(GuardrailTextCharactersCoverage &&value)
const GuardrailTextCharactersCoverage & GetTextCharacters() const
GuardrailCoverage & WithImages(GuardrailImageCoverage &&value)
const GuardrailImageCoverage & GetImages() const
GuardrailCoverage & WithTextCharacters(const GuardrailTextCharactersCoverage &value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API GuardrailCoverage(Aws::Utils::Json::JsonView jsonValue)
void SetImages(GuardrailImageCoverage &&value)
Aws::Utils::Json::JsonValue JsonValue