AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBotResourceGenerationResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/model/GenerationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LexModelsV2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::String& GetBotId() const{ return m_botId; }
44 inline void SetBotId(const Aws::String& value) { m_botId = value; }
45 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
46 inline void SetBotId(const char* value) { m_botId.assign(value); }
47 inline DescribeBotResourceGenerationResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
48 inline DescribeBotResourceGenerationResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
49 inline DescribeBotResourceGenerationResult& WithBotId(const char* value) { SetBotId(value); return *this;}
51
53
56 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
57 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
58 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
59 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
60 inline DescribeBotResourceGenerationResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
61 inline DescribeBotResourceGenerationResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
62 inline DescribeBotResourceGenerationResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
64
66
69 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
70 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
71 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
72 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
73 inline DescribeBotResourceGenerationResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
74 inline DescribeBotResourceGenerationResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
75 inline DescribeBotResourceGenerationResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
77
79
82 inline const Aws::String& GetGenerationId() const{ return m_generationId; }
83 inline void SetGenerationId(const Aws::String& value) { m_generationId = value; }
84 inline void SetGenerationId(Aws::String&& value) { m_generationId = std::move(value); }
85 inline void SetGenerationId(const char* value) { m_generationId.assign(value); }
87 inline DescribeBotResourceGenerationResult& WithGenerationId(Aws::String&& value) { SetGenerationId(std::move(value)); return *this;}
88 inline DescribeBotResourceGenerationResult& WithGenerationId(const char* value) { SetGenerationId(value); return *this;}
90
92
96 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
97 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
98 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
101 inline DescribeBotResourceGenerationResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
102 inline DescribeBotResourceGenerationResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
103 inline DescribeBotResourceGenerationResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
105
107
110 inline const GenerationStatus& GetGenerationStatus() const{ return m_generationStatus; }
111 inline void SetGenerationStatus(const GenerationStatus& value) { m_generationStatus = value; }
112 inline void SetGenerationStatus(GenerationStatus&& value) { m_generationStatus = std::move(value); }
116
118
121 inline const Aws::String& GetGenerationInputPrompt() const{ return m_generationInputPrompt; }
122 inline void SetGenerationInputPrompt(const Aws::String& value) { m_generationInputPrompt = value; }
123 inline void SetGenerationInputPrompt(Aws::String&& value) { m_generationInputPrompt = std::move(value); }
124 inline void SetGenerationInputPrompt(const char* value) { m_generationInputPrompt.assign(value); }
129
131
134 inline const Aws::String& GetGeneratedBotLocaleUrl() const{ return m_generatedBotLocaleUrl; }
135 inline void SetGeneratedBotLocaleUrl(const Aws::String& value) { m_generatedBotLocaleUrl = value; }
136 inline void SetGeneratedBotLocaleUrl(Aws::String&& value) { m_generatedBotLocaleUrl = std::move(value); }
137 inline void SetGeneratedBotLocaleUrl(const char* value) { m_generatedBotLocaleUrl.assign(value); }
142
144
147 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
148 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
149 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
153
155
158 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
159 inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
160 inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
161 inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
162 inline DescribeBotResourceGenerationResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
163 inline DescribeBotResourceGenerationResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
164 inline DescribeBotResourceGenerationResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
172 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
173 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
177
179
180 inline const Aws::String& GetRequestId() const{ return m_requestId; }
181 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
182 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
183 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
184 inline DescribeBotResourceGenerationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 inline DescribeBotResourceGenerationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
186 inline DescribeBotResourceGenerationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
188 private:
189
190 Aws::String m_botId;
191
192 Aws::String m_botVersion;
193
194 Aws::String m_localeId;
195
196 Aws::String m_generationId;
197
198 Aws::Vector<Aws::String> m_failureReasons;
199
200 GenerationStatus m_generationStatus;
201
202 Aws::String m_generationInputPrompt;
203
204 Aws::String m_generatedBotLocaleUrl;
205
206 Aws::Utils::DateTime m_creationDateTime;
207
208 Aws::String m_modelArn;
209
210 Aws::Utils::DateTime m_lastUpdatedDateTime;
211
212 Aws::String m_requestId;
213 };
214
215} // namespace Model
216} // namespace LexModelsV2
217} // namespace Aws
DescribeBotResourceGenerationResult & WithGenerationStatus(GenerationStatus &&value)
DescribeBotResourceGenerationResult & WithGenerationInputPrompt(const char *value)
DescribeBotResourceGenerationResult & WithRequestId(const Aws::String &value)
DescribeBotResourceGenerationResult & WithGeneratedBotLocaleUrl(const char *value)
DescribeBotResourceGenerationResult & WithGenerationInputPrompt(Aws::String &&value)
DescribeBotResourceGenerationResult & WithLocaleId(const char *value)
DescribeBotResourceGenerationResult & AddFailureReasons(Aws::String &&value)
DescribeBotResourceGenerationResult & WithGenerationStatus(const GenerationStatus &value)
DescribeBotResourceGenerationResult & WithBotId(const char *value)
DescribeBotResourceGenerationResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeBotResourceGenerationResult & AddFailureReasons(const Aws::String &value)
DescribeBotResourceGenerationResult & WithGeneratedBotLocaleUrl(Aws::String &&value)
DescribeBotResourceGenerationResult & WithGenerationId(const char *value)
DescribeBotResourceGenerationResult & WithGenerationInputPrompt(const Aws::String &value)
DescribeBotResourceGenerationResult & WithModelArn(Aws::String &&value)
DescribeBotResourceGenerationResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeBotResourceGenerationResult & WithGenerationId(Aws::String &&value)
DescribeBotResourceGenerationResult & WithGenerationId(const Aws::String &value)
DescribeBotResourceGenerationResult & WithRequestId(const char *value)
DescribeBotResourceGenerationResult & WithBotVersion(Aws::String &&value)
DescribeBotResourceGenerationResult & WithBotId(const Aws::String &value)
AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotResourceGenerationResult & WithGeneratedBotLocaleUrl(const Aws::String &value)
DescribeBotResourceGenerationResult & WithRequestId(Aws::String &&value)
DescribeBotResourceGenerationResult & WithLocaleId(const Aws::String &value)
DescribeBotResourceGenerationResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeBotResourceGenerationResult & WithBotVersion(const char *value)
DescribeBotResourceGenerationResult & WithBotVersion(const Aws::String &value)
DescribeBotResourceGenerationResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotResourceGenerationResult & WithModelArn(const Aws::String &value)
DescribeBotResourceGenerationResult & WithModelArn(const char *value)
DescribeBotResourceGenerationResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeBotResourceGenerationResult & WithLocaleId(Aws::String &&value)
DescribeBotResourceGenerationResult & WithBotId(Aws::String &&value)
AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotResourceGenerationResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeBotResourceGenerationResult & AddFailureReasons(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue