7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/BedrockSessionContentBlock.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace BedrockAgentRuntime {
42 template <
typename ContentBlocksT = Aws::Vector<BedrockSessionContentBlock>>
44 m_contentBlocksHasBeenSet =
true;
45 m_contentBlocks = std::forward<ContentBlocksT>(value);
47 template <
typename ContentBlocksT = Aws::Vector<BedrockSessionContentBlock>>
52 template <
typename ContentBlocksT = BedrockSessionContentBlock>
54 m_contentBlocksHasBeenSet =
true;
55 m_contentBlocks.emplace_back(std::forward<ContentBlocksT>(value));
61 bool m_contentBlocksHasBeenSet =
false;
InvocationStepPayload & AddContentBlocks(ContentBlocksT &&value)
AWS_BEDROCKAGENTRUNTIME_API InvocationStepPayload()=default
const Aws::Vector< BedrockSessionContentBlock > & GetContentBlocks() const
AWS_BEDROCKAGENTRUNTIME_API InvocationStepPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InvocationStepPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentBlocks(ContentBlocksT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InvocationStepPayload & WithContentBlocks(ContentBlocksT &&value)
bool ContentBlocksHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue