AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_LEXMODELSV2_API AudioSpecification();
33 AWS_LEXMODELSV2_API AudioSpecification(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline int GetMaxLengthMs() const{ return m_maxLengthMs; }
44 inline bool MaxLengthMsHasBeenSet() const { return m_maxLengthMsHasBeenSet; }
45 inline void SetMaxLengthMs(int value) { m_maxLengthMsHasBeenSet = true; m_maxLengthMs = value; }
46 inline AudioSpecification& WithMaxLengthMs(int value) { SetMaxLengthMs(value); return *this;}
48
50
54 inline int GetEndTimeoutMs() const{ return m_endTimeoutMs; }
55 inline bool EndTimeoutMsHasBeenSet() const { return m_endTimeoutMsHasBeenSet; }
56 inline void SetEndTimeoutMs(int value) { m_endTimeoutMsHasBeenSet = true; m_endTimeoutMs = value; }
57 inline AudioSpecification& WithEndTimeoutMs(int value) { SetEndTimeoutMs(value); return *this;}
59 private:
60
61 int m_maxLengthMs;
62 bool m_maxLengthMsHasBeenSet = false;
63
64 int m_endTimeoutMs;
65 bool m_endTimeoutMsHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace LexModelsV2
70} // 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
AudioSpecification & WithEndTimeoutMs(int value)
Aws::Utils::Json::JsonValue JsonValue