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>
20namespace BedrockAgentRuntime {
43 template <
typename DataT = Aws::Utils::CryptoBuffer>
45 m_dataHasBeenSet =
true;
46 m_data = std::forward<DataT>(value);
48 template <
typename DataT = Aws::Utils::CryptoBuffer>
50 SetData(std::forward<DataT>(value));
61 template <
typename MediaTypeT = Aws::String>
63 m_mediaTypeHasBeenSet =
true;
64 m_mediaType = std::forward<MediaTypeT>(value);
66 template <
typename MediaTypeT = Aws::String>
76 bool m_dataHasBeenSet =
false;
77 bool m_mediaTypeHasBeenSet =
false;
void SetData(DataT &&value)
AWS_BEDROCKAGENTRUNTIME_API ByteContentFile()=default
bool MediaTypeHasBeenSet() const
const Aws::Utils::CryptoBuffer & GetData() const
void SetMediaType(MediaTypeT &&value)
ByteContentFile & WithMediaType(MediaTypeT &&value)
ByteContentFile & WithData(DataT &&value)
AWS_BEDROCKAGENTRUNTIME_API ByteContentFile(Aws::Utils::Json::JsonView jsonValue)
bool DataHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API ByteContentFile & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMediaType() 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