AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ByteContentDoc.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/core/utils/Array.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 ByteContentDoc();
37 AWS_BEDROCKAGENTRUNTIME_API ByteContentDoc(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API ByteContentDoc& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetContentType() const{ return m_contentType; }
47 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
48 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
49 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
50 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
51 inline ByteContentDoc& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
52 inline ByteContentDoc& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
53 inline ByteContentDoc& WithContentType(const char* value) { SetContentType(value); return *this;}
55
57
60 inline const Aws::Utils::CryptoBuffer& GetData() const{ return m_data; }
61 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
62 inline void SetData(const Aws::Utils::CryptoBuffer& value) { m_dataHasBeenSet = true; m_data = value; }
63 inline void SetData(Aws::Utils::CryptoBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
64 inline ByteContentDoc& WithData(const Aws::Utils::CryptoBuffer& value) { SetData(value); return *this;}
65 inline ByteContentDoc& WithData(Aws::Utils::CryptoBuffer&& value) { SetData(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
73 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
74 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
75 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
76 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
77 inline ByteContentDoc& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
78 inline ByteContentDoc& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
79 inline ByteContentDoc& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
81 private:
82
83 Aws::String m_contentType;
84 bool m_contentTypeHasBeenSet = false;
85
87 bool m_dataHasBeenSet = false;
88
89 Aws::String m_identifier;
90 bool m_identifierHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace BedrockAgentRuntime
95} // namespace Aws
ByteContentDoc & WithContentType(const char *value)
ByteContentDoc & WithContentType(const Aws::String &value)
void SetContentType(const Aws::String &value)
ByteContentDoc & WithData(const Aws::Utils::CryptoBuffer &value)
void SetData(Aws::Utils::CryptoBuffer &&value)
ByteContentDoc & WithIdentifier(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API ByteContentDoc(Aws::Utils::Json::JsonView jsonValue)
ByteContentDoc & WithContentType(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API ByteContentDoc & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API ByteContentDoc()
const Aws::Utils::CryptoBuffer & GetData() const
ByteContentDoc & WithData(Aws::Utils::CryptoBuffer &&value)
void SetIdentifier(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ByteContentDoc & WithIdentifier(const Aws::String &value)
ByteContentDoc & WithIdentifier(const char *value)
void SetData(const Aws::Utils::CryptoBuffer &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue