AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OutputFile.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.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 OutputFile() = default;
37 AWS_BEDROCKAGENTRUNTIME_API OutputFile(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API OutputFile& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::CryptoBuffer& GetBytes() const { return m_bytes; }
47 inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
48 template<typename BytesT = Aws::Utils::CryptoBuffer>
49 void SetBytes(BytesT&& value) { m_bytesHasBeenSet = true; m_bytes = std::forward<BytesT>(value); }
50 template<typename BytesT = Aws::Utils::CryptoBuffer>
51 OutputFile& WithBytes(BytesT&& value) { SetBytes(std::forward<BytesT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 OutputFile& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetType() const { return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 template<typename TypeT = Aws::String>
73 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
74 template<typename TypeT = Aws::String>
75 OutputFile& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
77 private:
78
80 bool m_bytesHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 Aws::String m_type;
86 bool m_typeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace BedrockAgentRuntime
91} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API OutputFile & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputFile & WithBytes(BytesT &&value)
Definition OutputFile.h:51
OutputFile & WithName(NameT &&value)
Definition OutputFile.h:63
const Aws::String & GetType() const
Definition OutputFile.h:70
OutputFile & WithType(TypeT &&value)
Definition OutputFile.h:75
AWS_BEDROCKAGENTRUNTIME_API OutputFile(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition OutputFile.h:58
const Aws::Utils::CryptoBuffer & GetBytes() const
Definition OutputFile.h:46
AWS_BEDROCKAGENTRUNTIME_API OutputFile()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue