AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
AudioSegmentationConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockAgent {
17namespace Model {
18
27 public:
28 AWS_BEDROCKAGENT_API AudioSegmentationConfiguration() = default;
31 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
38 inline int GetFixedLengthDuration() const { return m_fixedLengthDuration; }
39 inline bool FixedLengthDurationHasBeenSet() const { return m_fixedLengthDurationHasBeenSet; }
40 inline void SetFixedLengthDuration(int value) {
41 m_fixedLengthDurationHasBeenSet = true;
42 m_fixedLengthDuration = value;
43 }
46 return *this;
47 }
49 private:
50 int m_fixedLengthDuration{0};
51 bool m_fixedLengthDurationHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace BedrockAgent
56} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API AudioSegmentationConfiguration()=default
AWS_BEDROCKAGENT_API AudioSegmentationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AudioSegmentationConfiguration & WithFixedLengthDuration(int value)
AWS_BEDROCKAGENT_API AudioSegmentationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue