7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Metadata.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockAgentRuntime {
43 template <
typename ExecutionErrorT = Aws::String>
45 m_executionErrorHasBeenSet =
true;
46 m_executionError = std::forward<ExecutionErrorT>(value);
48 template <
typename ExecutionErrorT = Aws::String>
61 template <
typename ExecutionOutputT = Aws::String>
63 m_executionOutputHasBeenSet =
true;
64 m_executionOutput = std::forward<ExecutionOutputT>(value);
66 template <
typename ExecutionOutputT = Aws::String>
80 m_executionTimeoutHasBeenSet =
true;
81 m_executionTimeout = value;
95 template <
typename FilesT = Aws::Vector<Aws::String>>
97 m_filesHasBeenSet =
true;
98 m_files = std::forward<FilesT>(value);
100 template <
typename FilesT = Aws::Vector<Aws::String>>
102 SetFiles(std::forward<FilesT>(value));
105 template <
typename FilesT = Aws::String>
107 m_filesHasBeenSet =
true;
108 m_files.emplace_back(std::forward<FilesT>(value));
119 template <
typename MetadataT = Metadata>
121 m_metadataHasBeenSet =
true;
122 m_metadata = std::forward<MetadataT>(value);
124 template <
typename MetadataT = Metadata>
135 bool m_executionTimeout{
false};
140 bool m_executionErrorHasBeenSet =
false;
141 bool m_executionOutputHasBeenSet =
false;
142 bool m_executionTimeoutHasBeenSet =
false;
143 bool m_filesHasBeenSet =
false;
144 bool m_metadataHasBeenSet =
false;
CodeInterpreterInvocationOutput & WithFiles(FilesT &&value)
const Aws::String & GetExecutionOutput() const
void SetMetadata(MetadataT &&value)
bool ExecutionTimeoutHasBeenSet() const
const Aws::String & GetExecutionError() const
bool FilesHasBeenSet() const
CodeInterpreterInvocationOutput & WithMetadata(MetadataT &&value)
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionError(ExecutionErrorT &&value)
void SetExecutionTimeout(bool value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFiles(FilesT &&value)
bool MetadataHasBeenSet() const
CodeInterpreterInvocationOutput & WithExecutionOutput(ExecutionOutputT &&value)
void SetExecutionOutput(ExecutionOutputT &&value)
const Aws::Vector< Aws::String > & GetFiles() const
const Metadata & GetMetadata() const
CodeInterpreterInvocationOutput & WithExecutionError(ExecutionErrorT &&value)
bool GetExecutionTimeout() const
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationOutput()=default
bool ExecutionErrorHasBeenSet() const
bool ExecutionOutputHasBeenSet() const
CodeInterpreterInvocationOutput & AddFiles(FilesT &&value)
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeInterpreterInvocationOutput & WithExecutionTimeout(bool value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue