AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
33 AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult() = default;
36
37
39
43 inline const Aws::String& GetBotId() const { return m_botId; }
44 template<typename BotIdT = Aws::String>
45 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
46 template<typename BotIdT = Aws::String>
47 DescribeBotResourceGenerationResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
55 template<typename BotVersionT = Aws::String>
56 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
57 template<typename BotVersionT = Aws::String>
58 DescribeBotResourceGenerationResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
60
62
65 inline const Aws::String& GetLocaleId() const { return m_localeId; }
66 template<typename LocaleIdT = Aws::String>
67 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
68 template<typename LocaleIdT = Aws::String>
69 DescribeBotResourceGenerationResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
71
73
76 inline const Aws::String& GetGenerationId() const { return m_generationId; }
77 template<typename GenerationIdT = Aws::String>
78 void SetGenerationId(GenerationIdT&& value) { m_generationIdHasBeenSet = true; m_generationId = std::forward<GenerationIdT>(value); }
79 template<typename GenerationIdT = Aws::String>
80 DescribeBotResourceGenerationResult& WithGenerationId(GenerationIdT&& value) { SetGenerationId(std::forward<GenerationIdT>(value)); return *this;}
82
84
88 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
89 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
90 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
91 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
92 DescribeBotResourceGenerationResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
93 template<typename FailureReasonsT = Aws::String>
94 DescribeBotResourceGenerationResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
96
98
101 inline GenerationStatus GetGenerationStatus() const { return m_generationStatus; }
102 inline void SetGenerationStatus(GenerationStatus value) { m_generationStatusHasBeenSet = true; m_generationStatus = value; }
105
107
110 inline const Aws::String& GetGenerationInputPrompt() const { return m_generationInputPrompt; }
111 template<typename GenerationInputPromptT = Aws::String>
112 void SetGenerationInputPrompt(GenerationInputPromptT&& value) { m_generationInputPromptHasBeenSet = true; m_generationInputPrompt = std::forward<GenerationInputPromptT>(value); }
113 template<typename GenerationInputPromptT = Aws::String>
114 DescribeBotResourceGenerationResult& WithGenerationInputPrompt(GenerationInputPromptT&& value) { SetGenerationInputPrompt(std::forward<GenerationInputPromptT>(value)); return *this;}
116
118
121 inline const Aws::String& GetGeneratedBotLocaleUrl() const { return m_generatedBotLocaleUrl; }
122 template<typename GeneratedBotLocaleUrlT = Aws::String>
123 void SetGeneratedBotLocaleUrl(GeneratedBotLocaleUrlT&& value) { m_generatedBotLocaleUrlHasBeenSet = true; m_generatedBotLocaleUrl = std::forward<GeneratedBotLocaleUrlT>(value); }
124 template<typename GeneratedBotLocaleUrlT = Aws::String>
125 DescribeBotResourceGenerationResult& WithGeneratedBotLocaleUrl(GeneratedBotLocaleUrlT&& value) { SetGeneratedBotLocaleUrl(std::forward<GeneratedBotLocaleUrlT>(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
133 template<typename CreationDateTimeT = Aws::Utils::DateTime>
134 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
135 template<typename CreationDateTimeT = Aws::Utils::DateTime>
136 DescribeBotResourceGenerationResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
138
140
143 inline const Aws::String& GetModelArn() const { return m_modelArn; }
144 template<typename ModelArnT = Aws::String>
145 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
146 template<typename ModelArnT = Aws::String>
147 DescribeBotResourceGenerationResult& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
155 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
156 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
157 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
158 DescribeBotResourceGenerationResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
160
162
163 inline const Aws::String& GetRequestId() const { return m_requestId; }
164 template<typename RequestIdT = Aws::String>
165 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
166 template<typename RequestIdT = Aws::String>
167 DescribeBotResourceGenerationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
169 private:
170
171 Aws::String m_botId;
172 bool m_botIdHasBeenSet = false;
173
174 Aws::String m_botVersion;
175 bool m_botVersionHasBeenSet = false;
176
177 Aws::String m_localeId;
178 bool m_localeIdHasBeenSet = false;
179
180 Aws::String m_generationId;
181 bool m_generationIdHasBeenSet = false;
182
183 Aws::Vector<Aws::String> m_failureReasons;
184 bool m_failureReasonsHasBeenSet = false;
185
187 bool m_generationStatusHasBeenSet = false;
188
189 Aws::String m_generationInputPrompt;
190 bool m_generationInputPromptHasBeenSet = false;
191
192 Aws::String m_generatedBotLocaleUrl;
193 bool m_generatedBotLocaleUrlHasBeenSet = false;
194
195 Aws::Utils::DateTime m_creationDateTime{};
196 bool m_creationDateTimeHasBeenSet = false;
197
198 Aws::String m_modelArn;
199 bool m_modelArnHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastUpdatedDateTime{};
202 bool m_lastUpdatedDateTimeHasBeenSet = false;
203
204 Aws::String m_requestId;
205 bool m_requestIdHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace LexModelsV2
210} // namespace Aws
DescribeBotResourceGenerationResult & WithFailureReasons(FailureReasonsT &&value)
AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult()=default
DescribeBotResourceGenerationResult & WithModelArn(ModelArnT &&value)
DescribeBotResourceGenerationResult & WithGenerationStatus(GenerationStatus value)
DescribeBotResourceGenerationResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotResourceGenerationResult & WithBotId(BotIdT &&value)
DescribeBotResourceGenerationResult & WithRequestId(RequestIdT &&value)
DescribeBotResourceGenerationResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeBotResourceGenerationResult & WithGeneratedBotLocaleUrl(GeneratedBotLocaleUrlT &&value)
DescribeBotResourceGenerationResult & WithLocaleId(LocaleIdT &&value)
DescribeBotResourceGenerationResult & WithGenerationId(GenerationIdT &&value)
DescribeBotResourceGenerationResult & WithGenerationInputPrompt(GenerationInputPromptT &&value)
AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotResourceGenerationResult & WithBotVersion(BotVersionT &&value)
DescribeBotResourceGenerationResult & AddFailureReasons(FailureReasonsT &&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