AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBytes(const Aws::Utils::CryptoBuffer& value) { m_bytesHasBeenSet = true; m_bytes = value; }
49 inline void SetBytes(Aws::Utils::CryptoBuffer&& value) { m_bytesHasBeenSet = true; m_bytes = std::move(value); }
50 inline OutputFile& WithBytes(const Aws::Utils::CryptoBuffer& value) { SetBytes(value); return *this;}
51 inline OutputFile& WithBytes(Aws::Utils::CryptoBuffer&& value) { SetBytes(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline OutputFile& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline OutputFile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline OutputFile& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::String& GetType() const{ return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
75 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
76 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
77 inline OutputFile& WithType(const Aws::String& value) { SetType(value); return *this;}
78 inline OutputFile& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
79 inline OutputFile& WithType(const char* value) { SetType(value); return *this;}
81 private:
82
84 bool m_bytesHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_type;
90 bool m_typeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace BedrockAgentRuntime
95} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API OutputFile & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputFile & WithType(const char *value)
Definition OutputFile.h:79
OutputFile & WithName(Aws::String &&value)
Definition OutputFile.h:64
OutputFile & WithName(const Aws::String &value)
Definition OutputFile.h:63
OutputFile & WithBytes(Aws::Utils::CryptoBuffer &&value)
Definition OutputFile.h:51
const Aws::String & GetType() const
Definition OutputFile.h:72
AWS_BEDROCKAGENTRUNTIME_API OutputFile(Aws::Utils::Json::JsonView jsonValue)
OutputFile & WithBytes(const Aws::Utils::CryptoBuffer &value)
Definition OutputFile.h:50
const Aws::String & GetName() const
Definition OutputFile.h:58
const Aws::Utils::CryptoBuffer & GetBytes() const
Definition OutputFile.h:46
void SetType(const Aws::String &value)
Definition OutputFile.h:74
void SetBytes(Aws::Utils::CryptoBuffer &&value)
Definition OutputFile.h:49
OutputFile & WithName(const char *value)
Definition OutputFile.h:65
void SetName(const Aws::String &value)
Definition OutputFile.h:60
OutputFile & WithType(const Aws::String &value)
Definition OutputFile.h:77
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
OutputFile & WithType(Aws::String &&value)
Definition OutputFile.h:78
void SetBytes(const Aws::Utils::CryptoBuffer &value)
Definition OutputFile.h:48
AWS_BEDROCKAGENTRUNTIME_API OutputFile()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue