AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API OutputFile() = default;
32 AWS_BEDROCKAGENTRUNTIME_API OutputFile(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Utils::CryptoBuffer& GetBytes() const { return m_bytes; }
41 inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
42 template <typename BytesT = Aws::Utils::CryptoBuffer>
43 void SetBytes(BytesT&& value) {
44 m_bytesHasBeenSet = true;
45 m_bytes = std::forward<BytesT>(value);
46 }
47 template <typename BytesT = Aws::Utils::CryptoBuffer>
49 SetBytes(std::forward<BytesT>(value));
50 return *this;
51 }
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) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetType() const { return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 template <typename TypeT = Aws::String>
79 void SetType(TypeT&& value) {
80 m_typeHasBeenSet = true;
81 m_type = std::forward<TypeT>(value);
82 }
83 template <typename TypeT = Aws::String>
85 SetType(std::forward<TypeT>(value));
86 return *this;
87 }
89 private:
91
92 Aws::String m_name;
93
94 Aws::String m_type;
95 bool m_bytesHasBeenSet = false;
96 bool m_nameHasBeenSet = false;
97 bool m_typeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace BedrockAgentRuntime
102} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API OutputFile & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputFile & WithBytes(BytesT &&value)
Definition OutputFile.h:48
OutputFile & WithName(NameT &&value)
Definition OutputFile.h:66
const Aws::String & GetType() const
Definition OutputFile.h:76
OutputFile & WithType(TypeT &&value)
Definition OutputFile.h:84
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:40
AWS_BEDROCKAGENTRUNTIME_API OutputFile()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue