AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
UnifiedSpeechSettings.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/SpeechFoundationModel.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API UnifiedSpeechSettings() = default;
31 AWS_LEXMODELSV2_API UnifiedSpeechSettings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const SpeechFoundationModel& GetSpeechFoundationModel() const { return m_speechFoundationModel; }
41 inline bool SpeechFoundationModelHasBeenSet() const { return m_speechFoundationModelHasBeenSet; }
42 template <typename SpeechFoundationModelT = SpeechFoundationModel>
43 void SetSpeechFoundationModel(SpeechFoundationModelT&& value) {
44 m_speechFoundationModelHasBeenSet = true;
45 m_speechFoundationModel = std::forward<SpeechFoundationModelT>(value);
46 }
47 template <typename SpeechFoundationModelT = SpeechFoundationModel>
48 UnifiedSpeechSettings& WithSpeechFoundationModel(SpeechFoundationModelT&& value) {
49 SetSpeechFoundationModel(std::forward<SpeechFoundationModelT>(value));
50 return *this;
51 }
53 private:
54 SpeechFoundationModel m_speechFoundationModel;
55 bool m_speechFoundationModelHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace LexModelsV2
60} // namespace Aws
const SpeechFoundationModel & GetSpeechFoundationModel() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
UnifiedSpeechSettings & WithSpeechFoundationModel(SpeechFoundationModelT &&value)
AWS_LEXMODELSV2_API UnifiedSpeechSettings()=default
AWS_LEXMODELSV2_API UnifiedSpeechSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSpeechFoundationModel(SpeechFoundationModelT &&value)
AWS_LEXMODELSV2_API UnifiedSpeechSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue