7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/AudioFormat.h>
9#include <aws/bedrock-runtime/model/AudioSource.h>
10#include <aws/bedrock-runtime/model/ErrorBlock.h>
21namespace BedrockRuntime {
45 m_formatHasBeenSet =
true;
61 template <
typename SourceT = AudioSource>
63 m_sourceHasBeenSet =
true;
64 m_source = std::forward<SourceT>(value);
66 template <
typename SourceT = AudioSource>
80 template <
typename ErrorT = ErrorBlock>
82 m_errorHasBeenSet =
true;
83 m_error = std::forward<ErrorT>(value);
85 template <
typename ErrorT = ErrorBlock>
87 SetError(std::forward<ErrorT>(value));
97 bool m_formatHasBeenSet =
false;
98 bool m_sourceHasBeenSet =
false;
99 bool m_errorHasBeenSet =
false;
bool SourceHasBeenSet() const
AWS_BEDROCKRUNTIME_API AudioBlock(Aws::Utils::Json::JsonView jsonValue)
AudioFormat GetFormat() const
bool FormatHasBeenSet() const
void SetError(ErrorT &&value)
const ErrorBlock & GetError() const
AudioBlock & WithSource(SourceT &&value)
bool ErrorHasBeenSet() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API AudioBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(AudioFormat value)
const AudioSource & GetSource() const
void SetSource(SourceT &&value)
AudioBlock & WithError(ErrorT &&value)
AudioBlock & WithFormat(AudioFormat value)
AWS_BEDROCKRUNTIME_API AudioBlock()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue