AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
SpeechFoundationModel.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.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 SpeechFoundationModel() = default;
31 AWS_LEXMODELSV2_API SpeechFoundationModel(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetModelArn() const { return m_modelArn; }
41 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
42 template <typename ModelArnT = Aws::String>
43 void SetModelArn(ModelArnT&& value) {
44 m_modelArnHasBeenSet = true;
45 m_modelArn = std::forward<ModelArnT>(value);
46 }
47 template <typename ModelArnT = Aws::String>
48 SpeechFoundationModel& WithModelArn(ModelArnT&& value) {
49 SetModelArn(std::forward<ModelArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetVoiceId() const { return m_voiceId; }
60 inline bool VoiceIdHasBeenSet() const { return m_voiceIdHasBeenSet; }
61 template <typename VoiceIdT = Aws::String>
62 void SetVoiceId(VoiceIdT&& value) {
63 m_voiceIdHasBeenSet = true;
64 m_voiceId = std::forward<VoiceIdT>(value);
65 }
66 template <typename VoiceIdT = Aws::String>
68 SetVoiceId(std::forward<VoiceIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_modelArn;
74
75 Aws::String m_voiceId;
76 bool m_modelArnHasBeenSet = false;
77 bool m_voiceIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace LexModelsV2
82} // namespace Aws
AWS_LEXMODELSV2_API SpeechFoundationModel & operator=(Aws::Utils::Json::JsonView jsonValue)
SpeechFoundationModel & WithModelArn(ModelArnT &&value)
AWS_LEXMODELSV2_API SpeechFoundationModel()=default
AWS_LEXMODELSV2_API SpeechFoundationModel(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
SpeechFoundationModel & WithVoiceId(VoiceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue