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>
22namespace BedrockAgentRuntime
50 inline void SetExecutionError(
const char* value) { m_executionErrorHasBeenSet =
true; m_executionError.assign(value); }
64 inline void SetExecutionOutput(
const char* value) { m_executionOutputHasBeenSet =
true; m_executionOutput.assign(value); }
76 inline void SetExecutionTimeout(
bool value) { m_executionTimeoutHasBeenSet =
true; m_executionTimeout = value; }
97 bool m_executionErrorHasBeenSet =
false;
100 bool m_executionOutputHasBeenSet =
false;
102 bool m_executionTimeout;
103 bool m_executionTimeoutHasBeenSet =
false;
106 bool m_filesHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationOutput()
CodeInterpreterInvocationOutput & WithExecutionError(Aws::String &&value)
CodeInterpreterInvocationOutput & WithExecutionError(const char *value)
CodeInterpreterInvocationOutput & AddFiles(Aws::String &&value)
CodeInterpreterInvocationOutput & AddFiles(const Aws::String &value)
void SetExecutionError(Aws::String &&value)
const Aws::String & GetExecutionOutput() const
void SetExecutionOutput(const Aws::String &value)
CodeInterpreterInvocationOutput & WithExecutionOutput(Aws::String &&value)
void SetExecutionOutput(const char *value)
bool ExecutionTimeoutHasBeenSet() const
CodeInterpreterInvocationOutput & WithExecutionOutput(const Aws::String &value)
const Aws::String & GetExecutionError() const
bool FilesHasBeenSet() const
void SetFiles(const Aws::Vector< Aws::String > &value)
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionTimeout(bool value)
void SetExecutionError(const Aws::String &value)
void SetFiles(Aws::Vector< Aws::String > &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
CodeInterpreterInvocationOutput & WithExecutionError(const Aws::String &value)
CodeInterpreterInvocationOutput & AddFiles(const char *value)
CodeInterpreterInvocationOutput & WithFiles(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetFiles() const
CodeInterpreterInvocationOutput & WithFiles(Aws::Vector< Aws::String > &&value)
CodeInterpreterInvocationOutput & WithExecutionOutput(const char *value)
bool GetExecutionTimeout() const
void SetExecutionError(const char *value)
bool ExecutionErrorHasBeenSet() const
bool ExecutionOutputHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeInterpreterInvocationOutput & WithExecutionTimeout(bool value)
void SetExecutionOutput(Aws::String &&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