7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailChecksPromptAttackResultEntry.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace BedrockRuntime {
41 template <
typename ResultsT = Aws::Vector<GuardrailChecksPromptAttackResultEntry>>
43 m_resultsHasBeenSet =
true;
44 m_results = std::forward<ResultsT>(value);
46 template <
typename ResultsT = Aws::Vector<GuardrailChecksPromptAttackResultEntry>>
51 template <
typename ResultsT = GuardrailChecksPromptAttackResultEntry>
53 m_resultsHasBeenSet =
true;
54 m_results.emplace_back(std::forward<ResultsT>(value));
60 bool m_resultsHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackResult & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailChecksPromptAttackResult & AddResults(ResultsT &&value)
GuardrailChecksPromptAttackResult & WithResults(ResultsT &&value)
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackResult()=default
bool ResultsHasBeenSet() const
const Aws::Vector< GuardrailChecksPromptAttackResultEntry > & GetResults() const
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackResult(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResults(ResultsT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue