AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DeepgramSpeechModelConfig.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 DeepgramSpeechModelConfig() = default;
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetApiTokenSecretArn() const { return m_apiTokenSecretArn; }
41 inline bool ApiTokenSecretArnHasBeenSet() const { return m_apiTokenSecretArnHasBeenSet; }
42 template <typename ApiTokenSecretArnT = Aws::String>
43 void SetApiTokenSecretArn(ApiTokenSecretArnT&& value) {
44 m_apiTokenSecretArnHasBeenSet = true;
45 m_apiTokenSecretArn = std::forward<ApiTokenSecretArnT>(value);
46 }
47 template <typename ApiTokenSecretArnT = Aws::String>
48 DeepgramSpeechModelConfig& WithApiTokenSecretArn(ApiTokenSecretArnT&& value) {
49 SetApiTokenSecretArn(std::forward<ApiTokenSecretArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetModelId() const { return m_modelId; }
60 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
61 template <typename ModelIdT = Aws::String>
62 void SetModelId(ModelIdT&& value) {
63 m_modelIdHasBeenSet = true;
64 m_modelId = std::forward<ModelIdT>(value);
65 }
66 template <typename ModelIdT = Aws::String>
68 SetModelId(std::forward<ModelIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_apiTokenSecretArn;
74
75 Aws::String m_modelId;
76 bool m_apiTokenSecretArnHasBeenSet = false;
77 bool m_modelIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace LexModelsV2
82} // namespace Aws
AWS_LEXMODELSV2_API DeepgramSpeechModelConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
DeepgramSpeechModelConfig & WithApiTokenSecretArn(ApiTokenSecretArnT &&value)
DeepgramSpeechModelConfig & WithModelId(ModelIdT &&value)
AWS_LEXMODELSV2_API DeepgramSpeechModelConfig()=default
AWS_LEXMODELSV2_API DeepgramSpeechModelConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue