7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/BedrockGuardrailConfiguration.h>
10#include <aws/lexv2-models/model/BedrockTraceStatus.h>
21namespace LexModelsV2 {
43 template <
typename ModelArnT = Aws::String>
45 m_modelArnHasBeenSet =
true;
46 m_modelArn = std::forward<ModelArnT>(value);
48 template <
typename ModelArnT = Aws::String>
61 template <
typename GuardrailT = BedrockGuardrailConfiguration>
63 m_guardrailHasBeenSet =
true;
64 m_guardrail = std::forward<GuardrailT>(value);
66 template <
typename GuardrailT = BedrockGuardrailConfiguration>
80 m_traceStatusHasBeenSet =
true;
81 m_traceStatus = value;
95 template <
typename CustomPromptT = Aws::String>
97 m_customPromptHasBeenSet =
true;
98 m_customPrompt = std::forward<CustomPromptT>(value);
100 template <
typename CustomPromptT = Aws::String>
114 bool m_modelArnHasBeenSet =
false;
115 bool m_guardrailHasBeenSet =
false;
116 bool m_traceStatusHasBeenSet =
false;
117 bool m_customPromptHasBeenSet =
false;
void SetModelArn(ModelArnT &&value)
bool GuardrailHasBeenSet() const
AWS_LEXMODELSV2_API BedrockModelSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
BedrockModelSpecification & WithGuardrail(GuardrailT &&value)
const BedrockGuardrailConfiguration & GetGuardrail() const
bool TraceStatusHasBeenSet() const
bool ModelArnHasBeenSet() const
AWS_LEXMODELSV2_API BedrockModelSpecification(Aws::Utils::Json::JsonView jsonValue)
bool CustomPromptHasBeenSet() const
void SetTraceStatus(BedrockTraceStatus value)
BedrockModelSpecification & WithTraceStatus(BedrockTraceStatus value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCustomPrompt() const
void SetGuardrail(GuardrailT &&value)
BedrockModelSpecification & WithModelArn(ModelArnT &&value)
AWS_LEXMODELSV2_API BedrockModelSpecification()=default
const Aws::String & GetModelArn() const
void SetCustomPrompt(CustomPromptT &&value)
BedrockModelSpecification & WithCustomPrompt(CustomPromptT &&value)
BedrockTraceStatus GetTraceStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue