AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AIPromptData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/AIPromptAPIFormat.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/qconnect/model/Origin.h>
12#include <aws/qconnect/model/Status.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/qconnect/model/AIPromptTemplateConfiguration.h>
15#include <aws/qconnect/model/AIPromptTemplateType.h>
16#include <aws/qconnect/model/AIPromptType.h>
17#include <aws/qconnect/model/VisibilityStatus.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace QConnect
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_QCONNECT_API AIPromptData();
44 AWS_QCONNECT_API AIPromptData(Aws::Utils::Json::JsonView jsonValue);
46 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetAiPromptArn() const{ return m_aiPromptArn; }
54 inline bool AiPromptArnHasBeenSet() const { return m_aiPromptArnHasBeenSet; }
55 inline void SetAiPromptArn(const Aws::String& value) { m_aiPromptArnHasBeenSet = true; m_aiPromptArn = value; }
56 inline void SetAiPromptArn(Aws::String&& value) { m_aiPromptArnHasBeenSet = true; m_aiPromptArn = std::move(value); }
57 inline void SetAiPromptArn(const char* value) { m_aiPromptArnHasBeenSet = true; m_aiPromptArn.assign(value); }
58 inline AIPromptData& WithAiPromptArn(const Aws::String& value) { SetAiPromptArn(value); return *this;}
59 inline AIPromptData& WithAiPromptArn(Aws::String&& value) { SetAiPromptArn(std::move(value)); return *this;}
60 inline AIPromptData& WithAiPromptArn(const char* value) { SetAiPromptArn(value); return *this;}
62
64
67 inline const Aws::String& GetAiPromptId() const{ return m_aiPromptId; }
68 inline bool AiPromptIdHasBeenSet() const { return m_aiPromptIdHasBeenSet; }
69 inline void SetAiPromptId(const Aws::String& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = value; }
70 inline void SetAiPromptId(Aws::String&& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = std::move(value); }
71 inline void SetAiPromptId(const char* value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId.assign(value); }
72 inline AIPromptData& WithAiPromptId(const Aws::String& value) { SetAiPromptId(value); return *this;}
73 inline AIPromptData& WithAiPromptId(Aws::String&& value) { SetAiPromptId(std::move(value)); return *this;}
74 inline AIPromptData& WithAiPromptId(const char* value) { SetAiPromptId(value); return *this;}
76
78
81 inline const AIPromptAPIFormat& GetApiFormat() const{ return m_apiFormat; }
82 inline bool ApiFormatHasBeenSet() const { return m_apiFormatHasBeenSet; }
83 inline void SetApiFormat(const AIPromptAPIFormat& value) { m_apiFormatHasBeenSet = true; m_apiFormat = value; }
84 inline void SetApiFormat(AIPromptAPIFormat&& value) { m_apiFormatHasBeenSet = true; m_apiFormat = std::move(value); }
85 inline AIPromptData& WithApiFormat(const AIPromptAPIFormat& value) { SetApiFormat(value); return *this;}
86 inline AIPromptData& WithApiFormat(AIPromptAPIFormat&& value) { SetApiFormat(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
94 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
95 inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; }
96 inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); }
97 inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); }
98 inline AIPromptData& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
99 inline AIPromptData& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
100 inline AIPromptData& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
102
104
108 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
109 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
110 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
111 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
112 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
113 inline AIPromptData& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
114 inline AIPromptData& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
115 inline AIPromptData& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
117
119
122 inline const Aws::String& GetDescription() const{ return m_description; }
123 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
124 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
125 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
126 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
127 inline AIPromptData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
128 inline AIPromptData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
129 inline AIPromptData& WithDescription(const char* value) { SetDescription(value); return *this;}
131
133
137 inline const Aws::String& GetModelId() const{ return m_modelId; }
138 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
139 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
140 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
141 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
142 inline AIPromptData& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
143 inline AIPromptData& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
144 inline AIPromptData& WithModelId(const char* value) { SetModelId(value); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetModifiedTime() const{ return m_modifiedTime; }
152 inline bool ModifiedTimeHasBeenSet() const { return m_modifiedTimeHasBeenSet; }
153 inline void SetModifiedTime(const Aws::Utils::DateTime& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = value; }
154 inline void SetModifiedTime(Aws::Utils::DateTime&& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = std::move(value); }
155 inline AIPromptData& WithModifiedTime(const Aws::Utils::DateTime& value) { SetModifiedTime(value); return *this;}
156 inline AIPromptData& WithModifiedTime(Aws::Utils::DateTime&& value) { SetModifiedTime(std::move(value)); return *this;}
158
160
163 inline const Aws::String& GetName() const{ return m_name; }
164 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
165 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
166 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
167 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
168 inline AIPromptData& WithName(const Aws::String& value) { SetName(value); return *this;}
169 inline AIPromptData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
170 inline AIPromptData& WithName(const char* value) { SetName(value); return *this;}
172
174
179 inline const Origin& GetOrigin() const{ return m_origin; }
180 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
181 inline void SetOrigin(const Origin& value) { m_originHasBeenSet = true; m_origin = value; }
182 inline void SetOrigin(Origin&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
183 inline AIPromptData& WithOrigin(const Origin& value) { SetOrigin(value); return *this;}
184 inline AIPromptData& WithOrigin(Origin&& value) { SetOrigin(std::move(value)); return *this;}
186
188
191 inline const Status& GetStatus() const{ return m_status; }
192 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
193 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
194 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
195 inline AIPromptData& WithStatus(const Status& value) { SetStatus(value); return *this;}
196 inline AIPromptData& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
198
200
203 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
204 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
205 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
206 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
207 inline AIPromptData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
208 inline AIPromptData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
209 inline AIPromptData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
210 inline AIPromptData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
211 inline AIPromptData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
212 inline AIPromptData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
213 inline AIPromptData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
214 inline AIPromptData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
215 inline AIPromptData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
217
219
222 inline const AIPromptTemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; }
223 inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; }
224 inline void SetTemplateConfiguration(const AIPromptTemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; }
225 inline void SetTemplateConfiguration(AIPromptTemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); }
229
231
234 inline const AIPromptTemplateType& GetTemplateType() const{ return m_templateType; }
235 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
236 inline void SetTemplateType(const AIPromptTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
237 inline void SetTemplateType(AIPromptTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
238 inline AIPromptData& WithTemplateType(const AIPromptTemplateType& value) { SetTemplateType(value); return *this;}
239 inline AIPromptData& WithTemplateType(AIPromptTemplateType&& value) { SetTemplateType(std::move(value)); return *this;}
241
243
246 inline const AIPromptType& GetType() const{ return m_type; }
247 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
248 inline void SetType(const AIPromptType& value) { m_typeHasBeenSet = true; m_type = value; }
249 inline void SetType(AIPromptType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
250 inline AIPromptData& WithType(const AIPromptType& value) { SetType(value); return *this;}
251 inline AIPromptData& WithType(AIPromptType&& value) { SetType(std::move(value)); return *this;}
253
255
258 inline const VisibilityStatus& GetVisibilityStatus() const{ return m_visibilityStatus; }
259 inline bool VisibilityStatusHasBeenSet() const { return m_visibilityStatusHasBeenSet; }
260 inline void SetVisibilityStatus(const VisibilityStatus& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = value; }
261 inline void SetVisibilityStatus(VisibilityStatus&& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = std::move(value); }
262 inline AIPromptData& WithVisibilityStatus(const VisibilityStatus& value) { SetVisibilityStatus(value); return *this;}
263 inline AIPromptData& WithVisibilityStatus(VisibilityStatus&& value) { SetVisibilityStatus(std::move(value)); return *this;}
265 private:
266
267 Aws::String m_aiPromptArn;
268 bool m_aiPromptArnHasBeenSet = false;
269
270 Aws::String m_aiPromptId;
271 bool m_aiPromptIdHasBeenSet = false;
272
273 AIPromptAPIFormat m_apiFormat;
274 bool m_apiFormatHasBeenSet = false;
275
276 Aws::String m_assistantArn;
277 bool m_assistantArnHasBeenSet = false;
278
279 Aws::String m_assistantId;
280 bool m_assistantIdHasBeenSet = false;
281
282 Aws::String m_description;
283 bool m_descriptionHasBeenSet = false;
284
285 Aws::String m_modelId;
286 bool m_modelIdHasBeenSet = false;
287
288 Aws::Utils::DateTime m_modifiedTime;
289 bool m_modifiedTimeHasBeenSet = false;
290
291 Aws::String m_name;
292 bool m_nameHasBeenSet = false;
293
294 Origin m_origin;
295 bool m_originHasBeenSet = false;
296
297 Status m_status;
298 bool m_statusHasBeenSet = false;
299
301 bool m_tagsHasBeenSet = false;
302
303 AIPromptTemplateConfiguration m_templateConfiguration;
304 bool m_templateConfigurationHasBeenSet = false;
305
306 AIPromptTemplateType m_templateType;
307 bool m_templateTypeHasBeenSet = false;
308
309 AIPromptType m_type;
310 bool m_typeHasBeenSet = false;
311
312 VisibilityStatus m_visibilityStatus;
313 bool m_visibilityStatusHasBeenSet = false;
314 };
315
316} // namespace Model
317} // namespace QConnect
318} // namespace Aws
void SetAiPromptId(Aws::String &&value)
void SetOrigin(const Origin &value)
void SetTemplateType(const AIPromptTemplateType &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AIPromptData & WithOrigin(Origin &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetAiPromptArn() const
AIPromptData & AddTags(Aws::String &&key, Aws::String &&value)
AIPromptData & WithDescription(const char *value)
AIPromptData & WithModelId(Aws::String &&value)
AIPromptData & WithType(AIPromptType &&value)
void SetModelId(const Aws::String &value)
AIPromptData & WithAiPromptId(const Aws::String &value)
void SetType(AIPromptType &&value)
AIPromptData & WithAssistantArn(Aws::String &&value)
void SetName(Aws::String &&value)
AIPromptData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AIPromptData & WithAssistantId(const Aws::String &value)
const AIPromptTemplateConfiguration & GetTemplateConfiguration() const
AIPromptData & WithTemplateConfiguration(AIPromptTemplateConfiguration &&value)
const Aws::String & GetAssistantId() const
AIPromptData & WithVisibilityStatus(VisibilityStatus &&value)
AIPromptData & WithName(const char *value)
AIPromptData & WithName(const Aws::String &value)
const AIPromptType & GetType() const
void SetAiPromptArn(const char *value)
AIPromptData & WithTemplateType(AIPromptTemplateType &&value)
const AIPromptTemplateType & GetTemplateType() const
const AIPromptAPIFormat & GetApiFormat() const
const Aws::Utils::DateTime & GetModifiedTime() const
void SetName(const char *value)
void SetTemplateType(AIPromptTemplateType &&value)
const Aws::String & GetAiPromptId() const
AIPromptData & WithAssistantArn(const Aws::String &value)
AIPromptData & WithAssistantId(Aws::String &&value)
void SetDescription(const Aws::String &value)
AIPromptData & WithName(Aws::String &&value)
AIPromptData & AddTags(const char *key, Aws::String &&value)
void SetAiPromptId(const char *value)
AIPromptData & WithModelId(const char *value)
void SetDescription(const char *value)
const Status & GetStatus() const
AWS_QCONNECT_API AIPromptData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssistantArn(Aws::String &&value)
const Aws::String & GetAssistantArn() const
AIPromptData & WithTemplateType(const AIPromptTemplateType &value)
AIPromptData & WithApiFormat(AIPromptAPIFormat &&value)
AIPromptData & AddTags(Aws::String &&key, const char *value)
void SetTemplateConfiguration(AIPromptTemplateConfiguration &&value)
void SetModelId(Aws::String &&value)
AIPromptData & WithAssistantArn(const char *value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AIPromptData & WithStatus(const Status &value)
AIPromptData & WithTemplateConfiguration(const AIPromptTemplateConfiguration &value)
void SetAiPromptArn(const Aws::String &value)
void SetAssistantArn(const Aws::String &value)
AIPromptData & WithAiPromptArn(Aws::String &&value)
AIPromptData & WithAiPromptArn(const char *value)
void SetAssistantArn(const char *value)
AIPromptData & WithApiFormat(const AIPromptAPIFormat &value)
void SetAiPromptArn(Aws::String &&value)
void SetModelId(const char *value)
AIPromptData & WithDescription(const Aws::String &value)
AIPromptData & WithAssistantId(const char *value)
void SetVisibilityStatus(const VisibilityStatus &value)
void SetType(const AIPromptType &value)
AWS_QCONNECT_API AIPromptData(Aws::Utils::Json::JsonView jsonValue)
AIPromptData & WithType(const AIPromptType &value)
void SetName(const Aws::String &value)
AIPromptData & AddTags(const Aws::String &key, Aws::String &&value)
AIPromptData & WithVisibilityStatus(const VisibilityStatus &value)
AIPromptData & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetModelId() const
AIPromptData & WithDescription(Aws::String &&value)
AIPromptData & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
void SetAssistantId(const char *value)
AIPromptData & WithModifiedTime(const Aws::Utils::DateTime &value)
AIPromptData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AIPromptData & WithAiPromptId(const char *value)
void SetTemplateConfiguration(const AIPromptTemplateConfiguration &value)
AIPromptData & WithAiPromptArn(const Aws::String &value)
void SetDescription(Aws::String &&value)
AIPromptData & WithModifiedTime(Aws::Utils::DateTime &&value)
void SetModifiedTime(const Aws::Utils::DateTime &value)
AIPromptData & WithOrigin(const Origin &value)
void SetAiPromptId(const Aws::String &value)
const Origin & GetOrigin() const
void SetVisibilityStatus(VisibilityStatus &&value)
void SetAssistantId(Aws::String &&value)
void SetApiFormat(const AIPromptAPIFormat &value)
const VisibilityStatus & GetVisibilityStatus() const
AIPromptData & AddTags(const char *key, const char *value)
AIPromptData & WithAiPromptId(Aws::String &&value)
AIPromptData & WithModelId(const Aws::String &value)
AIPromptData & WithStatus(Status &&value)
void SetAssistantId(const Aws::String &value)
void SetApiFormat(AIPromptAPIFormat &&value)
void SetStatus(const Status &value)
void SetModifiedTime(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue