AWS SDK for C++  1.9.68
AWS SDK for C++
CreateLanguageModelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace TranscribeService
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateLanguageModel"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const CLMLanguageCode& GetLanguageCode() const{ return m_languageCode; }
45 
50  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
51 
56  inline void SetLanguageCode(const CLMLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
57 
62  inline void SetLanguageCode(CLMLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
63 
68  inline CreateLanguageModelRequest& WithLanguageCode(const CLMLanguageCode& value) { SetLanguageCode(value); return *this;}
69 
74  inline CreateLanguageModelRequest& WithLanguageCode(CLMLanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
75 
76 
85  inline const BaseModelName& GetBaseModelName() const{ return m_baseModelName; }
86 
95  inline bool BaseModelNameHasBeenSet() const { return m_baseModelNameHasBeenSet; }
96 
105  inline void SetBaseModelName(const BaseModelName& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = value; }
106 
115  inline void SetBaseModelName(BaseModelName&& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = std::move(value); }
116 
125  inline CreateLanguageModelRequest& WithBaseModelName(const BaseModelName& value) { SetBaseModelName(value); return *this;}
126 
135  inline CreateLanguageModelRequest& WithBaseModelName(BaseModelName&& value) { SetBaseModelName(std::move(value)); return *this;}
136 
137 
141  inline const Aws::String& GetModelName() const{ return m_modelName; }
142 
146  inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
147 
151  inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
152 
156  inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
157 
161  inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
162 
166  inline CreateLanguageModelRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
167 
171  inline CreateLanguageModelRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
172 
176  inline CreateLanguageModelRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
177 
178 
183  inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
184 
189  inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
190 
195  inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
196 
201  inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
202 
207  inline CreateLanguageModelRequest& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;}
208 
213  inline CreateLanguageModelRequest& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
214 
215  private:
216 
217  CLMLanguageCode m_languageCode;
218  bool m_languageCodeHasBeenSet;
219 
220  BaseModelName m_baseModelName;
221  bool m_baseModelNameHasBeenSet;
222 
223  Aws::String m_modelName;
224  bool m_modelNameHasBeenSet;
225 
226  InputDataConfig m_inputDataConfig;
227  bool m_inputDataConfigHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace TranscribeService
232 } // namespace Aws
Aws::TranscribeService::Model::CreateLanguageModelRequest::GetBaseModelName
const BaseModelName & GetBaseModelName() const
Definition: CreateLanguageModelRequest.h:85
Aws::TranscribeService::Model::CreateLanguageModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateLanguageModelRequest.h:33
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithBaseModelName
CreateLanguageModelRequest & WithBaseModelName(const BaseModelName &value)
Definition: CreateLanguageModelRequest.h:125
TranscribeService_EXPORTS.h
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetBaseModelName
void SetBaseModelName(BaseModelName &&value)
Definition: CreateLanguageModelRequest.h:115
Aws::TranscribeService::Model::BaseModelName
BaseModelName
Definition: BaseModelName.h:17
Aws::TranscribeService::Model::CreateLanguageModelRequest::CreateLanguageModelRequest
CreateLanguageModelRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::TranscribeService::Model::CreateLanguageModelRequest::GetModelName
const Aws::String & GetModelName() const
Definition: CreateLanguageModelRequest.h:141
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetLanguageCode
void SetLanguageCode(const CLMLanguageCode &value)
Definition: CreateLanguageModelRequest.h:56
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithLanguageCode
CreateLanguageModelRequest & WithLanguageCode(CLMLanguageCode &&value)
Definition: CreateLanguageModelRequest.h:74
BaseModelName.h
Aws::TranscribeService::Model::CreateLanguageModelRequest
Definition: CreateLanguageModelRequest.h:25
Aws::TranscribeService::Model::CreateLanguageModelRequest::GetLanguageCode
const CLMLanguageCode & GetLanguageCode() const
Definition: CreateLanguageModelRequest.h:44
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithInputDataConfig
CreateLanguageModelRequest & WithInputDataConfig(const InputDataConfig &value)
Definition: CreateLanguageModelRequest.h:207
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithModelName
CreateLanguageModelRequest & WithModelName(Aws::String &&value)
Definition: CreateLanguageModelRequest.h:171
Aws::TranscribeService::Model::CreateLanguageModelRequest::GetInputDataConfig
const InputDataConfig & GetInputDataConfig() const
Definition: CreateLanguageModelRequest.h:183
TranscribeServiceRequest.h
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithBaseModelName
CreateLanguageModelRequest & WithBaseModelName(BaseModelName &&value)
Definition: CreateLanguageModelRequest.h:135
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithInputDataConfig
CreateLanguageModelRequest & WithInputDataConfig(InputDataConfig &&value)
Definition: CreateLanguageModelRequest.h:213
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithLanguageCode
CreateLanguageModelRequest & WithLanguageCode(const CLMLanguageCode &value)
Definition: CreateLanguageModelRequest.h:68
Aws::TranscribeService::Model::CreateLanguageModelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::TranscribeService::Model::CLMLanguageCode
CLMLanguageCode
Definition: CLMLanguageCode.h:17
Aws::TranscribeService::Model::CreateLanguageModelRequest::ModelNameHasBeenSet
bool ModelNameHasBeenSet() const
Definition: CreateLanguageModelRequest.h:146
CLMLanguageCode.h
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetBaseModelName
void SetBaseModelName(const BaseModelName &value)
Definition: CreateLanguageModelRequest.h:105
Aws::TranscribeService::Model::CreateLanguageModelRequest::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: CreateLanguageModelRequest.h:50
AWSString.h
Aws::TranscribeService::Model::CreateLanguageModelRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithModelName
CreateLanguageModelRequest & WithModelName(const char *value)
Definition: CreateLanguageModelRequest.h:176
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetModelName
void SetModelName(Aws::String &&value)
Definition: CreateLanguageModelRequest.h:156
Aws
Definition: AccessManagementClient.h:15
Aws::TranscribeService::Model::CreateLanguageModelRequest::WithModelName
CreateLanguageModelRequest & WithModelName(const Aws::String &value)
Definition: CreateLanguageModelRequest.h:166
Aws::TranscribeService::Model::InputDataConfig
Definition: InputDataConfig.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
InputDataConfig.h
Aws::TranscribeService::Model::CreateLanguageModelRequest::InputDataConfigHasBeenSet
bool InputDataConfigHasBeenSet() const
Definition: CreateLanguageModelRequest.h:189
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetLanguageCode
void SetLanguageCode(CLMLanguageCode &&value)
Definition: CreateLanguageModelRequest.h:62
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetInputDataConfig
void SetInputDataConfig(const InputDataConfig &value)
Definition: CreateLanguageModelRequest.h:195
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetInputDataConfig
void SetInputDataConfig(InputDataConfig &&value)
Definition: CreateLanguageModelRequest.h:201
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetModelName
void SetModelName(const char *value)
Definition: CreateLanguageModelRequest.h:161
Aws::TranscribeService::Model::CreateLanguageModelRequest::BaseModelNameHasBeenSet
bool BaseModelNameHasBeenSet() const
Definition: CreateLanguageModelRequest.h:95
Aws::TranscribeService::TranscribeServiceRequest
Definition: TranscribeServiceRequest.h:17
AWS_TRANSCRIBESERVICE_API
#define AWS_TRANSCRIBESERVICE_API
Definition: TranscribeService_EXPORTS.h:28
Aws::TranscribeService::Model::CreateLanguageModelRequest::SetModelName
void SetModelName(const Aws::String &value)
Definition: CreateLanguageModelRequest.h:151