AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLanguageModelResult.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/model/CLMLanguageCode.h>
9#include <aws/transcribe/model/BaseModelName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/transcribe/model/InputDataConfig.h>
12#include <aws/transcribe/model/ModelStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace TranscribeService
28{
29namespace Model
30{
32 {
33 public:
34 AWS_TRANSCRIBESERVICE_API CreateLanguageModelResult();
37
38
40
43 inline const CLMLanguageCode& GetLanguageCode() const{ return m_languageCode; }
44 inline void SetLanguageCode(const CLMLanguageCode& value) { m_languageCode = value; }
45 inline void SetLanguageCode(CLMLanguageCode&& value) { m_languageCode = std::move(value); }
46 inline CreateLanguageModelResult& WithLanguageCode(const CLMLanguageCode& value) { SetLanguageCode(value); return *this;}
47 inline CreateLanguageModelResult& WithLanguageCode(CLMLanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
49
51
55 inline const BaseModelName& GetBaseModelName() const{ return m_baseModelName; }
56 inline void SetBaseModelName(const BaseModelName& value) { m_baseModelName = value; }
57 inline void SetBaseModelName(BaseModelName&& value) { m_baseModelName = std::move(value); }
58 inline CreateLanguageModelResult& WithBaseModelName(const BaseModelName& value) { SetBaseModelName(value); return *this;}
59 inline CreateLanguageModelResult& WithBaseModelName(BaseModelName&& value) { SetBaseModelName(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetModelName() const{ return m_modelName; }
67 inline void SetModelName(const Aws::String& value) { m_modelName = value; }
68 inline void SetModelName(Aws::String&& value) { m_modelName = std::move(value); }
69 inline void SetModelName(const char* value) { m_modelName.assign(value); }
70 inline CreateLanguageModelResult& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
71 inline CreateLanguageModelResult& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
72 inline CreateLanguageModelResult& WithModelName(const char* value) { SetModelName(value); return *this;}
74
76
81 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
82 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfig = value; }
83 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfig = std::move(value); }
85 inline CreateLanguageModelResult& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
87
89
93 inline const ModelStatus& GetModelStatus() const{ return m_modelStatus; }
94 inline void SetModelStatus(const ModelStatus& value) { m_modelStatus = value; }
95 inline void SetModelStatus(ModelStatus&& value) { m_modelStatus = std::move(value); }
96 inline CreateLanguageModelResult& WithModelStatus(const ModelStatus& value) { SetModelStatus(value); return *this;}
97 inline CreateLanguageModelResult& WithModelStatus(ModelStatus&& value) { SetModelStatus(std::move(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline CreateLanguageModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline CreateLanguageModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline CreateLanguageModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 CLMLanguageCode m_languageCode;
113
114 BaseModelName m_baseModelName;
115
116 Aws::String m_modelName;
117
118 InputDataConfig m_inputDataConfig;
119
120 ModelStatus m_modelStatus;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace TranscribeService
127} // namespace Aws
CreateLanguageModelResult & WithRequestId(const char *value)
AWS_TRANSCRIBESERVICE_API CreateLanguageModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLanguageModelResult & WithModelName(Aws::String &&value)
CreateLanguageModelResult & WithBaseModelName(BaseModelName &&value)
CreateLanguageModelResult & WithModelStatus(const ModelStatus &value)
CreateLanguageModelResult & WithModelStatus(ModelStatus &&value)
CreateLanguageModelResult & WithInputDataConfig(InputDataConfig &&value)
CreateLanguageModelResult & WithLanguageCode(const CLMLanguageCode &value)
CreateLanguageModelResult & WithModelName(const char *value)
AWS_TRANSCRIBESERVICE_API CreateLanguageModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLanguageModelResult & WithModelName(const Aws::String &value)
CreateLanguageModelResult & WithInputDataConfig(const InputDataConfig &value)
CreateLanguageModelResult & WithBaseModelName(const BaseModelName &value)
CreateLanguageModelResult & WithRequestId(Aws::String &&value)
CreateLanguageModelResult & WithRequestId(const Aws::String &value)
CreateLanguageModelResult & WithLanguageCode(CLMLanguageCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue