AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
AudioSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LexModelsV2 {
17namespace Model {
18
25 public:
26 AWS_LEXMODELSV2_API AudioSpecification() = default;
27 AWS_LEXMODELSV2_API AudioSpecification(Aws::Utils::Json::JsonView jsonValue);
29 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline int GetMaxLengthMs() const { return m_maxLengthMs; }
37 inline bool MaxLengthMsHasBeenSet() const { return m_maxLengthMsHasBeenSet; }
38 inline void SetMaxLengthMs(int value) {
39 m_maxLengthMsHasBeenSet = true;
40 m_maxLengthMs = value;
41 }
43 SetMaxLengthMs(value);
44 return *this;
45 }
47
49
53 inline int GetEndTimeoutMs() const { return m_endTimeoutMs; }
54 inline bool EndTimeoutMsHasBeenSet() const { return m_endTimeoutMsHasBeenSet; }
55 inline void SetEndTimeoutMs(int value) {
56 m_endTimeoutMsHasBeenSet = true;
57 m_endTimeoutMs = value;
58 }
60 SetEndTimeoutMs(value);
61 return *this;
62 }
64 private:
65 int m_maxLengthMs{0};
66
67 int m_endTimeoutMs{0};
68 bool m_maxLengthMsHasBeenSet = false;
69 bool m_endTimeoutMsHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace LexModelsV2
74} // namespace Aws
AudioSpecification & WithMaxLengthMs(int value)
AWS_LEXMODELSV2_API AudioSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API AudioSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API AudioSpecification()=default
AudioSpecification & WithEndTimeoutMs(int value)
Aws::Utils::Json::JsonValue JsonValue