AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LanguageModel.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/transcribe/model/CLMLanguageCode.h>
11#include <aws/transcribe/model/BaseModelName.h>
12#include <aws/transcribe/model/ModelStatus.h>
13#include <aws/transcribe/model/InputDataConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace TranscribeService
27{
28namespace Model
29{
30
43 {
44 public:
45 AWS_TRANSCRIBESERVICE_API LanguageModel();
46 AWS_TRANSCRIBESERVICE_API LanguageModel(Aws::Utils::Json::JsonView jsonValue);
47 AWS_TRANSCRIBESERVICE_API LanguageModel& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
57 inline const Aws::String& GetModelName() const{ return m_modelName; }
58 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
59 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
60 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
61 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
62 inline LanguageModel& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
63 inline LanguageModel& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
64 inline LanguageModel& WithModelName(const char* value) { SetModelName(value); return *this;}
66
68
74 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
75 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
76 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
77 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
78 inline LanguageModel& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
79 inline LanguageModel& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
81
83
89 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
90 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
91 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
92 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
93 inline LanguageModel& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
94 inline LanguageModel& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
96
98
108 inline const CLMLanguageCode& GetLanguageCode() const{ return m_languageCode; }
109 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
110 inline void SetLanguageCode(const CLMLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
111 inline void SetLanguageCode(CLMLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
112 inline LanguageModel& WithLanguageCode(const CLMLanguageCode& value) { SetLanguageCode(value); return *this;}
113 inline LanguageModel& WithLanguageCode(CLMLanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
115
117
121 inline const BaseModelName& GetBaseModelName() const{ return m_baseModelName; }
122 inline bool BaseModelNameHasBeenSet() const { return m_baseModelNameHasBeenSet; }
123 inline void SetBaseModelName(const BaseModelName& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = value; }
124 inline void SetBaseModelName(BaseModelName&& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = std::move(value); }
125 inline LanguageModel& WithBaseModelName(const BaseModelName& value) { SetBaseModelName(value); return *this;}
126 inline LanguageModel& WithBaseModelName(BaseModelName&& value) { SetBaseModelName(std::move(value)); return *this;}
128
130
134 inline const ModelStatus& GetModelStatus() const{ return m_modelStatus; }
135 inline bool ModelStatusHasBeenSet() const { return m_modelStatusHasBeenSet; }
136 inline void SetModelStatus(const ModelStatus& value) { m_modelStatusHasBeenSet = true; m_modelStatus = value; }
137 inline void SetModelStatus(ModelStatus&& value) { m_modelStatusHasBeenSet = true; m_modelStatus = std::move(value); }
138 inline LanguageModel& WithModelStatus(const ModelStatus& value) { SetModelStatus(value); return *this;}
139 inline LanguageModel& WithModelStatus(ModelStatus&& value) { SetModelStatus(std::move(value)); return *this;}
141
143
152 inline bool GetUpgradeAvailability() const{ return m_upgradeAvailability; }
153 inline bool UpgradeAvailabilityHasBeenSet() const { return m_upgradeAvailabilityHasBeenSet; }
154 inline void SetUpgradeAvailability(bool value) { m_upgradeAvailabilityHasBeenSet = true; m_upgradeAvailability = value; }
155 inline LanguageModel& WithUpgradeAvailability(bool value) { SetUpgradeAvailability(value); return *this;}
157
159
166 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
167 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
168 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
169 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
170 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
171 inline LanguageModel& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
172 inline LanguageModel& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
173 inline LanguageModel& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
175
177
182 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
183 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
184 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
185 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
186 inline LanguageModel& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;}
187 inline LanguageModel& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
189 private:
190
191 Aws::String m_modelName;
192 bool m_modelNameHasBeenSet = false;
193
194 Aws::Utils::DateTime m_createTime;
195 bool m_createTimeHasBeenSet = false;
196
197 Aws::Utils::DateTime m_lastModifiedTime;
198 bool m_lastModifiedTimeHasBeenSet = false;
199
200 CLMLanguageCode m_languageCode;
201 bool m_languageCodeHasBeenSet = false;
202
203 BaseModelName m_baseModelName;
204 bool m_baseModelNameHasBeenSet = false;
205
206 ModelStatus m_modelStatus;
207 bool m_modelStatusHasBeenSet = false;
208
209 bool m_upgradeAvailability;
210 bool m_upgradeAvailabilityHasBeenSet = false;
211
212 Aws::String m_failureReason;
213 bool m_failureReasonHasBeenSet = false;
214
215 InputDataConfig m_inputDataConfig;
216 bool m_inputDataConfigHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace TranscribeService
221} // namespace Aws
LanguageModel & WithFailureReason(Aws::String &&value)
LanguageModel & WithLastModifiedTime(Aws::Utils::DateTime &&value)
LanguageModel & WithInputDataConfig(InputDataConfig &&value)
LanguageModel & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const ModelStatus & GetModelStatus() const
void SetModelStatus(const ModelStatus &value)
LanguageModel & WithModelName(const char *value)
AWS_TRANSCRIBESERVICE_API LanguageModel()
LanguageModel & WithLanguageCode(CLMLanguageCode &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
LanguageModel & WithInputDataConfig(const InputDataConfig &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
LanguageModel & WithBaseModelName(BaseModelName &&value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LanguageModel & WithModelName(Aws::String &&value)
void SetFailureReason(const Aws::String &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
LanguageModel & WithLanguageCode(const CLMLanguageCode &value)
AWS_TRANSCRIBESERVICE_API LanguageModel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetModelName() const
void SetModelName(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
LanguageModel & WithModelStatus(ModelStatus &&value)
const Aws::Utils::DateTime & GetCreateTime() const
LanguageModel & WithCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetFailureReason() const
LanguageModel & WithFailureReason(const char *value)
void SetBaseModelName(BaseModelName &&value)
LanguageModel & WithUpgradeAvailability(bool value)
void SetInputDataConfig(const InputDataConfig &value)
const InputDataConfig & GetInputDataConfig() const
void SetLanguageCode(CLMLanguageCode &&value)
void SetLanguageCode(const CLMLanguageCode &value)
LanguageModel & WithModelName(const Aws::String &value)
LanguageModel & WithBaseModelName(const BaseModelName &value)
const BaseModelName & GetBaseModelName() const
LanguageModel & WithFailureReason(const Aws::String &value)
LanguageModel & WithCreateTime(const Aws::Utils::DateTime &value)
const CLMLanguageCode & GetLanguageCode() const
AWS_TRANSCRIBESERVICE_API LanguageModel(Aws::Utils::Json::JsonView jsonValue)
LanguageModel & WithModelStatus(const ModelStatus &value)
void SetInputDataConfig(InputDataConfig &&value)
void SetBaseModelName(const BaseModelName &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue