AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
StartBotResourceGenerationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/GenerationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2 {
25namespace Model {
27 public:
28 AWS_LEXMODELSV2_API StartBotResourceGenerationResult() = default;
31
33
37 inline const Aws::String& GetGenerationInputPrompt() const { return m_generationInputPrompt; }
38 template <typename GenerationInputPromptT = Aws::String>
39 void SetGenerationInputPrompt(GenerationInputPromptT&& value) {
40 m_generationInputPromptHasBeenSet = true;
41 m_generationInputPrompt = std::forward<GenerationInputPromptT>(value);
42 }
43 template <typename GenerationInputPromptT = Aws::String>
45 SetGenerationInputPrompt(std::forward<GenerationInputPromptT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetGenerationId() const { return m_generationId; }
55 template <typename GenerationIdT = Aws::String>
56 void SetGenerationId(GenerationIdT&& value) {
57 m_generationIdHasBeenSet = true;
58 m_generationId = std::forward<GenerationIdT>(value);
59 }
60 template <typename GenerationIdT = Aws::String>
62 SetGenerationId(std::forward<GenerationIdT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetBotId() const { return m_botId; }
73 template <typename BotIdT = Aws::String>
74 void SetBotId(BotIdT&& value) {
75 m_botIdHasBeenSet = true;
76 m_botId = std::forward<BotIdT>(value);
77 }
78 template <typename BotIdT = Aws::String>
80 SetBotId(std::forward<BotIdT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
90 template <typename BotVersionT = Aws::String>
91 void SetBotVersion(BotVersionT&& value) {
92 m_botVersionHasBeenSet = true;
93 m_botVersion = std::forward<BotVersionT>(value);
94 }
95 template <typename BotVersionT = Aws::String>
97 SetBotVersion(std::forward<BotVersionT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetLocaleId() const { return m_localeId; }
107 template <typename LocaleIdT = Aws::String>
108 void SetLocaleId(LocaleIdT&& value) {
109 m_localeIdHasBeenSet = true;
110 m_localeId = std::forward<LocaleIdT>(value);
111 }
112 template <typename LocaleIdT = Aws::String>
114 SetLocaleId(std::forward<LocaleIdT>(value));
115 return *this;
116 }
118
120
123 inline GenerationStatus GetGenerationStatus() const { return m_generationStatus; }
125 m_generationStatusHasBeenSet = true;
126 m_generationStatus = value;
127 }
129 SetGenerationStatus(value);
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
139 template <typename CreationDateTimeT = Aws::Utils::DateTime>
140 void SetCreationDateTime(CreationDateTimeT&& value) {
141 m_creationDateTimeHasBeenSet = true;
142 m_creationDateTime = std::forward<CreationDateTimeT>(value);
143 }
144 template <typename CreationDateTimeT = Aws::Utils::DateTime>
146 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
147 return *this;
148 }
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template <typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) {
156 m_requestIdHasBeenSet = true;
157 m_requestId = std::forward<RequestIdT>(value);
158 }
159 template <typename RequestIdT = Aws::String>
161 SetRequestId(std::forward<RequestIdT>(value));
162 return *this;
163 }
165 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
166
167 private:
168 Aws::String m_generationInputPrompt;
169
170 Aws::String m_generationId;
171
172 Aws::String m_botId;
173
174 Aws::String m_botVersion;
175
176 Aws::String m_localeId;
177
179
180 Aws::Utils::DateTime m_creationDateTime{};
181
182 Aws::String m_requestId;
183 Aws::Http::HttpResponseCode m_HttpResponseCode;
184 bool m_generationInputPromptHasBeenSet = false;
185 bool m_generationIdHasBeenSet = false;
186 bool m_botIdHasBeenSet = false;
187 bool m_botVersionHasBeenSet = false;
188 bool m_localeIdHasBeenSet = false;
189 bool m_generationStatusHasBeenSet = false;
190 bool m_creationDateTimeHasBeenSet = false;
191 bool m_requestIdHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace LexModelsV2
196} // namespace Aws
AWS_LEXMODELSV2_API StartBotResourceGenerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBotResourceGenerationResult & WithBotId(BotIdT &&value)
StartBotResourceGenerationResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELSV2_API StartBotResourceGenerationResult()=default
StartBotResourceGenerationResult & WithBotVersion(BotVersionT &&value)
StartBotResourceGenerationResult & WithLocaleId(LocaleIdT &&value)
StartBotResourceGenerationResult & WithGenerationInputPrompt(GenerationInputPromptT &&value)
AWS_LEXMODELSV2_API StartBotResourceGenerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBotResourceGenerationResult & WithCreationDateTime(CreationDateTimeT &&value)
StartBotResourceGenerationResult & WithGenerationStatus(GenerationStatus value)
StartBotResourceGenerationResult & WithGenerationId(GenerationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue