7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailImageCoverage.h>
9#include <aws/bedrock-runtime/model/GuardrailTextCharactersCoverage.h>
20namespace BedrockRuntime {
41 template <
typename TextCharactersT = GuardrailTextCharactersCoverage>
43 m_textCharactersHasBeenSet =
true;
44 m_textCharacters = std::forward<TextCharactersT>(value);
46 template <
typename TextCharactersT = GuardrailTextCharactersCoverage>
60 template <
typename ImagesT = GuardrailImageCoverage>
62 m_imagesHasBeenSet =
true;
63 m_images = std::forward<ImagesT>(value);
65 template <
typename ImagesT = GuardrailImageCoverage>
75 bool m_textCharactersHasBeenSet =
false;
76 bool m_imagesHasBeenSet =
false;
GuardrailCoverage & WithTextCharacters(TextCharactersT &&value)
AWS_BEDROCKRUNTIME_API GuardrailCoverage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailCoverage()=default
void SetImages(ImagesT &&value)
bool TextCharactersHasBeenSet() const
const GuardrailTextCharactersCoverage & GetTextCharacters() const
bool ImagesHasBeenSet() const
const GuardrailImageCoverage & GetImages() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API GuardrailCoverage(Aws::Utils::Json::JsonView jsonValue)
GuardrailCoverage & WithImages(ImagesT &&value)
void SetTextCharacters(TextCharactersT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue