7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-agent-runtime/model/Metadata.h>
23namespace BedrockAgentRuntime
49 template<
typename ExecutionErrorT = Aws::String>
50 void SetExecutionError(ExecutionErrorT&& value) { m_executionErrorHasBeenSet =
true; m_executionError = std::forward<ExecutionErrorT>(value); }
51 template<
typename ExecutionErrorT = Aws::String>
61 template<
typename ExecutionOutputT = Aws::String>
62 void SetExecutionOutput(ExecutionOutputT&& value) { m_executionOutputHasBeenSet =
true; m_executionOutput = std::forward<ExecutionOutputT>(value); }
63 template<
typename ExecutionOutputT = Aws::String>
73 inline void SetExecutionTimeout(
bool value) { m_executionTimeoutHasBeenSet =
true; m_executionTimeout = value; }
83 template<
typename FilesT = Aws::Vector<Aws::String>>
84 void SetFiles(FilesT&& value) { m_filesHasBeenSet =
true; m_files = std::forward<FilesT>(value); }
85 template<
typename FilesT = Aws::Vector<Aws::String>>
87 template<
typename FilesT = Aws::String>
97 template<
typename MetadataT = Metadata>
98 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
99 template<
typename MetadataT = Metadata>
105 bool m_executionErrorHasBeenSet =
false;
108 bool m_executionOutputHasBeenSet =
false;
110 bool m_executionTimeout{
false};
111 bool m_executionTimeoutHasBeenSet =
false;
114 bool m_filesHasBeenSet =
false;
117 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue