7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningPolicyBuildStepContext.h>
9#include <aws/bedrock/model/AutomatedReasoningPolicyBuildStepMessage.h>
10#include <aws/bedrock/model/AutomatedReasoningPolicyDefinitionElement.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename ContextT = AutomatedReasoningPolicyBuildStepContext>
48 m_contextHasBeenSet =
true;
49 m_context = std::forward<ContextT>(value);
51 template <
typename ContextT = AutomatedReasoningPolicyBuildStepContext>
65 template <
typename PriorElementT = AutomatedReasoningPolicyDefinitionElement>
67 m_priorElementHasBeenSet =
true;
68 m_priorElement = std::forward<PriorElementT>(value);
70 template <
typename PriorElementT = AutomatedReasoningPolicyDefinitionElement>
84 template <
typename MessagesT = Aws::Vector<AutomatedReasoningPolicyBuildStepMessage>>
86 m_messagesHasBeenSet =
true;
87 m_messages = std::forward<MessagesT>(value);
89 template <
typename MessagesT = Aws::Vector<AutomatedReasoningPolicyBuildStepMessage>>
94 template <
typename MessagesT = AutomatedReasoningPolicyBuildStepMessage>
96 m_messagesHasBeenSet =
true;
97 m_messages.emplace_back(std::forward<MessagesT>(value));
107 bool m_contextHasBeenSet =
false;
108 bool m_priorElementHasBeenSet =
false;
109 bool m_messagesHasBeenSet =
false;
AutomatedReasoningPolicyBuildStep & WithMessages(MessagesT &&value)
void SetPriorElement(PriorElementT &&value)
const AutomatedReasoningPolicyDefinitionElement & GetPriorElement() const
AWS_BEDROCK_API AutomatedReasoningPolicyBuildStep(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AutomatedReasoningPolicyBuildStepMessage > & GetMessages() const
AWS_BEDROCK_API AutomatedReasoningPolicyBuildStep()=default
AutomatedReasoningPolicyBuildStep & WithPriorElement(PriorElementT &&value)
AutomatedReasoningPolicyBuildStep & WithContext(ContextT &&value)
bool MessagesHasBeenSet() const
const AutomatedReasoningPolicyBuildStepContext & GetContext() const
bool PriorElementHasBeenSet() const
bool ContextHasBeenSet() const
void SetContext(ContextT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicyBuildStep & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessages(MessagesT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningPolicyBuildStep & AddMessages(MessagesT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue