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>
22namespace BedrockAgentRuntime
48 template<
typename ContentTypeT = Aws::String>
49 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
50 template<
typename ContentTypeT = Aws::String>
60 template<
typename DataT = Aws::Utils::CryptoBuffer>
61 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
62 template<
typename DataT = Aws::Utils::CryptoBuffer>
72 template<
typename IdentifierT = Aws::String>
73 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
74 template<
typename IdentifierT = Aws::String>
80 bool m_contentTypeHasBeenSet =
false;
83 bool m_dataHasBeenSet =
false;
86 bool m_identifierHasBeenSet =
false;
ByteContentDoc & WithContentType(ContentTypeT &&value)
bool IdentifierHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API ByteContentDoc()=default
const Aws::String & GetIdentifier() const
AWS_BEDROCKAGENTRUNTIME_API ByteContentDoc(Aws::Utils::Json::JsonView jsonValue)
void SetIdentifier(IdentifierT &&value)
void SetData(DataT &&value)
ByteContentDoc & WithData(DataT &&value)
ByteContentDoc & WithIdentifier(IdentifierT &&value)
AWS_BEDROCKAGENTRUNTIME_API ByteContentDoc & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::CryptoBuffer & GetData() const
void SetContentType(ContentTypeT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool DataHasBeenSet() const
bool ContentTypeHasBeenSet() const
const Aws::String & GetContentType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue