AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
StartBotResourceGenerationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/GenerationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2 {
24namespace Model {
26 public:
27 AWS_LEXMODELSV2_API StartBotResourceGenerationResult() = default;
30
32
36 inline const Aws::String& GetGenerationInputPrompt() const { return m_generationInputPrompt; }
37 template <typename GenerationInputPromptT = Aws::String>
38 void SetGenerationInputPrompt(GenerationInputPromptT&& value) {
39 m_generationInputPromptHasBeenSet = true;
40 m_generationInputPrompt = std::forward<GenerationInputPromptT>(value);
41 }
42 template <typename GenerationInputPromptT = Aws::String>
44 SetGenerationInputPrompt(std::forward<GenerationInputPromptT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetGenerationId() const { return m_generationId; }
54 template <typename GenerationIdT = Aws::String>
55 void SetGenerationId(GenerationIdT&& value) {
56 m_generationIdHasBeenSet = true;
57 m_generationId = std::forward<GenerationIdT>(value);
58 }
59 template <typename GenerationIdT = Aws::String>
61 SetGenerationId(std::forward<GenerationIdT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetBotId() const { return m_botId; }
72 template <typename BotIdT = Aws::String>
73 void SetBotId(BotIdT&& value) {
74 m_botIdHasBeenSet = true;
75 m_botId = std::forward<BotIdT>(value);
76 }
77 template <typename BotIdT = Aws::String>
79 SetBotId(std::forward<BotIdT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
89 template <typename BotVersionT = Aws::String>
90 void SetBotVersion(BotVersionT&& value) {
91 m_botVersionHasBeenSet = true;
92 m_botVersion = std::forward<BotVersionT>(value);
93 }
94 template <typename BotVersionT = Aws::String>
96 SetBotVersion(std::forward<BotVersionT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetLocaleId() const { return m_localeId; }
106 template <typename LocaleIdT = Aws::String>
107 void SetLocaleId(LocaleIdT&& value) {
108 m_localeIdHasBeenSet = true;
109 m_localeId = std::forward<LocaleIdT>(value);
110 }
111 template <typename LocaleIdT = Aws::String>
113 SetLocaleId(std::forward<LocaleIdT>(value));
114 return *this;
115 }
117
119
122 inline GenerationStatus GetGenerationStatus() const { return m_generationStatus; }
124 m_generationStatusHasBeenSet = true;
125 m_generationStatus = value;
126 }
128 SetGenerationStatus(value);
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
138 template <typename CreationDateTimeT = Aws::Utils::DateTime>
139 void SetCreationDateTime(CreationDateTimeT&& value) {
140 m_creationDateTimeHasBeenSet = true;
141 m_creationDateTime = std::forward<CreationDateTimeT>(value);
142 }
143 template <typename CreationDateTimeT = Aws::Utils::DateTime>
145 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
146 return *this;
147 }
149
151
152 inline const Aws::String& GetRequestId() const { return m_requestId; }
153 template <typename RequestIdT = Aws::String>
154 void SetRequestId(RequestIdT&& value) {
155 m_requestIdHasBeenSet = true;
156 m_requestId = std::forward<RequestIdT>(value);
157 }
158 template <typename RequestIdT = Aws::String>
160 SetRequestId(std::forward<RequestIdT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_generationInputPrompt;
166
167 Aws::String m_generationId;
168
169 Aws::String m_botId;
170
171 Aws::String m_botVersion;
172
173 Aws::String m_localeId;
174
176
177 Aws::Utils::DateTime m_creationDateTime{};
178
179 Aws::String m_requestId;
180 bool m_generationInputPromptHasBeenSet = false;
181 bool m_generationIdHasBeenSet = false;
182 bool m_botIdHasBeenSet = false;
183 bool m_botVersionHasBeenSet = false;
184 bool m_localeIdHasBeenSet = false;
185 bool m_generationStatusHasBeenSet = false;
186 bool m_creationDateTimeHasBeenSet = false;
187 bool m_requestIdHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace LexModelsV2
192} // 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