AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
AudioSegment.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime {
20namespace Model {
21
33 public:
34 AWS_BEDROCKAGENTRUNTIME_API AudioSegment() = default;
37 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
45 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
46 template <typename S3UriT = Aws::String>
47 void SetS3Uri(S3UriT&& value) {
48 m_s3UriHasBeenSet = true;
49 m_s3Uri = std::forward<S3UriT>(value);
50 }
51 template <typename S3UriT = Aws::String>
53 SetS3Uri(std::forward<S3UriT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetTranscription() const { return m_transcription; }
63 inline bool TranscriptionHasBeenSet() const { return m_transcriptionHasBeenSet; }
64 template <typename TranscriptionT = Aws::String>
66 m_transcriptionHasBeenSet = true;
67 m_transcription = std::forward<TranscriptionT>(value);
68 }
69 template <typename TranscriptionT = Aws::String>
71 SetTranscription(std::forward<TranscriptionT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_s3Uri;
77
78 Aws::String m_transcription;
79 bool m_s3UriHasBeenSet = false;
80 bool m_transcriptionHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace BedrockAgentRuntime
85} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API AudioSegment(Aws::Utils::Json::JsonView jsonValue)
void SetTranscription(TranscriptionT &&value)
AudioSegment & WithS3Uri(S3UriT &&value)
const Aws::String & GetTranscription() const
AWS_BEDROCKAGENTRUNTIME_API AudioSegment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AudioSegment & WithTranscription(TranscriptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API AudioSegment()=default
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