AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FilePart.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent-runtime/model/OutputFile.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 FilePart();
37 AWS_BEDROCKAGENTRUNTIME_API FilePart(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API FilePart& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<OutputFile>& GetFiles() const{ return m_files; }
47 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
48 inline void SetFiles(const Aws::Vector<OutputFile>& value) { m_filesHasBeenSet = true; m_files = value; }
49 inline void SetFiles(Aws::Vector<OutputFile>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
50 inline FilePart& WithFiles(const Aws::Vector<OutputFile>& value) { SetFiles(value); return *this;}
51 inline FilePart& WithFiles(Aws::Vector<OutputFile>&& value) { SetFiles(std::move(value)); return *this;}
52 inline FilePart& AddFiles(const OutputFile& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
53 inline FilePart& AddFiles(OutputFile&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_filesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace BedrockAgentRuntime
63} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FilePart(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API FilePart()
AWS_BEDROCKAGENTRUNTIME_API FilePart & operator=(Aws::Utils::Json::JsonView jsonValue)
FilePart & WithFiles(const Aws::Vector< OutputFile > &value)
Definition FilePart.h:50
const Aws::Vector< OutputFile > & GetFiles() const
Definition FilePart.h:46
FilePart & AddFiles(OutputFile &&value)
Definition FilePart.h:53
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FilePart & AddFiles(const OutputFile &value)
Definition FilePart.h:52
void SetFiles(Aws::Vector< OutputFile > &&value)
Definition FilePart.h:49
void SetFiles(const Aws::Vector< OutputFile > &value)
Definition FilePart.h:48
FilePart & WithFiles(Aws::Vector< OutputFile > &&value)
Definition FilePart.h:51
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue