AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
49 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
50 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
51 inline CodeInterpreterInvocationInput& WithCode(const Aws::String& value) { SetCode(value); return *this;}
52 inline CodeInterpreterInvocationInput& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
53 inline CodeInterpreterInvocationInput& WithCode(const char* value) { SetCode(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetFiles() const{ return m_files; }
61 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
62 inline void SetFiles(const Aws::Vector<Aws::String>& value) { m_filesHasBeenSet = true; m_files = value; }
63 inline void SetFiles(Aws::Vector<Aws::String>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
64 inline CodeInterpreterInvocationInput& WithFiles(const Aws::Vector<Aws::String>& value) { SetFiles(value); return *this;}
65 inline CodeInterpreterInvocationInput& WithFiles(Aws::Vector<Aws::String>&& value) { SetFiles(std::move(value)); return *this;}
66 inline CodeInterpreterInvocationInput& AddFiles(const Aws::String& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
67 inline CodeInterpreterInvocationInput& AddFiles(Aws::String&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
68 inline CodeInterpreterInvocationInput& AddFiles(const char* value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
70 private:
71
72 Aws::String m_code;
73 bool m_codeHasBeenSet = false;
74
76 bool m_filesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BedrockAgentRuntime
81} // namespace Aws
CodeInterpreterInvocationInput & AddFiles(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
CodeInterpreterInvocationInput & WithFiles(Aws::Vector< Aws::String > &&value)
CodeInterpreterInvocationInput & WithCode(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationInput(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API CodeInterpreterInvocationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeInterpreterInvocationInput & WithCode(Aws::String &&value)
CodeInterpreterInvocationInput & AddFiles(Aws::String &&value)
CodeInterpreterInvocationInput & WithFiles(const Aws::Vector< 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