AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline InputFile& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline InputFile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline InputFile& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const FileSource& GetSource() const{ return m_source; }
61 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
62 inline void SetSource(const FileSource& value) { m_sourceHasBeenSet = true; m_source = value; }
63 inline void SetSource(FileSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
64 inline InputFile& WithSource(const FileSource& value) { SetSource(value); return *this;}
65 inline InputFile& WithSource(FileSource&& value) { SetSource(std::move(value)); return *this;}
67
69
72 inline const FileUseCase& GetUseCase() const{ return m_useCase; }
73 inline bool UseCaseHasBeenSet() const { return m_useCaseHasBeenSet; }
74 inline void SetUseCase(const FileUseCase& value) { m_useCaseHasBeenSet = true; m_useCase = value; }
75 inline void SetUseCase(FileUseCase&& value) { m_useCaseHasBeenSet = true; m_useCase = std::move(value); }
76 inline InputFile& WithUseCase(const FileUseCase& value) { SetUseCase(value); return *this;}
77 inline InputFile& WithUseCase(FileUseCase&& value) { SetUseCase(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 FileSource m_source;
85 bool m_sourceHasBeenSet = false;
86
87 FileUseCase m_useCase;
88 bool m_useCaseHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace BedrockAgentRuntime
93} // namespace Aws
InputFile & WithSource(const FileSource &value)
Definition InputFile.h:64
void SetUseCase(FileUseCase &&value)
Definition InputFile.h:75
void SetName(Aws::String &&value)
Definition InputFile.h:49
const FileUseCase & GetUseCase() const
Definition InputFile.h:72
const Aws::String & GetName() const
Definition InputFile.h:46
InputFile & WithUseCase(const FileUseCase &value)
Definition InputFile.h:76
void SetSource(FileSource &&value)
Definition InputFile.h:63
InputFile & WithName(Aws::String &&value)
Definition InputFile.h:52
void SetUseCase(const FileUseCase &value)
Definition InputFile.h:74
void SetName(const Aws::String &value)
Definition InputFile.h:48
AWS_BEDROCKAGENTRUNTIME_API InputFile()
InputFile & WithName(const char *value)
Definition InputFile.h:53
void SetSource(const FileSource &value)
Definition InputFile.h:62
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InputFile & WithSource(FileSource &&value)
Definition InputFile.h:65
InputFile & WithName(const Aws::String &value)
Definition InputFile.h:51
InputFile & WithUseCase(FileUseCase &&value)
Definition InputFile.h:77
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:60
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue