AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodeInterpreterInvocationInput.h
1
6#pragma once
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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationInput() = default;
37 AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationInput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCode() const { return m_code; }
47 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
48 template<typename CodeT = Aws::String>
49 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
50 template<typename CodeT = Aws::String>
51 CodeInterpreterInvocationInput& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetFiles() const { return m_files; }
59 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
60 template<typename FilesT = Aws::Vector<Aws::String>>
61 void SetFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files = std::forward<FilesT>(value); }
62 template<typename FilesT = Aws::Vector<Aws::String>>
63 CodeInterpreterInvocationInput& WithFiles(FilesT&& value) { SetFiles(std::forward<FilesT>(value)); return *this;}
64 template<typename FilesT = Aws::String>
65 CodeInterpreterInvocationInput& AddFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files.emplace_back(std::forward<FilesT>(value)); return *this; }
67 private:
68
69 Aws::String m_code;
70 bool m_codeHasBeenSet = false;
71
73 bool m_filesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace BedrockAgentRuntime
78} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationInput(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationInput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue