AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InputFile.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/bedrock-agent-runtime/model/FileSource.h>
10#include <aws/bedrock-agent-runtime/model/FileUseCase.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API InputFile() = default;
37 AWS_BEDROCKAGENTRUNTIME_API InputFile(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API InputFile& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 InputFile& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const FileSource& GetSource() const { return m_source; }
59 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
60 template<typename SourceT = FileSource>
61 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
62 template<typename SourceT = FileSource>
63 InputFile& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
65
67
70 inline FileUseCase GetUseCase() const { return m_useCase; }
71 inline bool UseCaseHasBeenSet() const { return m_useCaseHasBeenSet; }
72 inline void SetUseCase(FileUseCase value) { m_useCaseHasBeenSet = true; m_useCase = value; }
73 inline InputFile& WithUseCase(FileUseCase value) { SetUseCase(value); return *this;}
75 private:
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79
80 FileSource m_source;
81 bool m_sourceHasBeenSet = false;
82
84 bool m_useCaseHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace BedrockAgentRuntime
89} // namespace Aws
InputFile & WithUseCase(FileUseCase value)
Definition InputFile.h:73
InputFile & WithSource(SourceT &&value)
Definition InputFile.h:63
const Aws::String & GetName() const
Definition InputFile.h:46
AWS_BEDROCKAGENTRUNTIME_API InputFile()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InputFile & WithName(NameT &&value)
Definition InputFile.h:51
AWS_BEDROCKAGENTRUNTIME_API InputFile(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InputFile & operator=(Aws::Utils::Json::JsonView jsonValue)
const FileSource & GetSource() const
Definition InputFile.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue