AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AIPromptSummary.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/AIPromptTemplateType.h>
15#include <aws/qconnect/model/AIPromptType.h>
16#include <aws/qconnect/model/VisibilityStatus.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace QConnect
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_QCONNECT_API AIPromptSummary();
43 AWS_QCONNECT_API AIPromptSummary(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetAiPromptArn() const{ return m_aiPromptArn; }
53 inline bool AiPromptArnHasBeenSet() const { return m_aiPromptArnHasBeenSet; }
54 inline void SetAiPromptArn(const Aws::String& value) { m_aiPromptArnHasBeenSet = true; m_aiPromptArn = value; }
55 inline void SetAiPromptArn(Aws::String&& value) { m_aiPromptArnHasBeenSet = true; m_aiPromptArn = std::move(value); }
56 inline void SetAiPromptArn(const char* value) { m_aiPromptArnHasBeenSet = true; m_aiPromptArn.assign(value); }
57 inline AIPromptSummary& WithAiPromptArn(const Aws::String& value) { SetAiPromptArn(value); return *this;}
58 inline AIPromptSummary& WithAiPromptArn(Aws::String&& value) { SetAiPromptArn(std::move(value)); return *this;}
59 inline AIPromptSummary& WithAiPromptArn(const char* value) { SetAiPromptArn(value); return *this;}
61
63
66 inline const Aws::String& GetAiPromptId() const{ return m_aiPromptId; }
67 inline bool AiPromptIdHasBeenSet() const { return m_aiPromptIdHasBeenSet; }
68 inline void SetAiPromptId(const Aws::String& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = value; }
69 inline void SetAiPromptId(Aws::String&& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = std::move(value); }
70 inline void SetAiPromptId(const char* value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId.assign(value); }
71 inline AIPromptSummary& WithAiPromptId(const Aws::String& value) { SetAiPromptId(value); return *this;}
72 inline AIPromptSummary& WithAiPromptId(Aws::String&& value) { SetAiPromptId(std::move(value)); return *this;}
73 inline AIPromptSummary& WithAiPromptId(const char* value) { SetAiPromptId(value); return *this;}
75
77
80 inline const AIPromptAPIFormat& GetApiFormat() const{ return m_apiFormat; }
81 inline bool ApiFormatHasBeenSet() const { return m_apiFormatHasBeenSet; }
82 inline void SetApiFormat(const AIPromptAPIFormat& value) { m_apiFormatHasBeenSet = true; m_apiFormat = value; }
83 inline void SetApiFormat(AIPromptAPIFormat&& value) { m_apiFormatHasBeenSet = true; m_apiFormat = std::move(value); }
84 inline AIPromptSummary& WithApiFormat(const AIPromptAPIFormat& value) { SetApiFormat(value); return *this;}
85 inline AIPromptSummary& WithApiFormat(AIPromptAPIFormat&& value) { SetApiFormat(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
93 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
94 inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; }
95 inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); }
96 inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); }
97 inline AIPromptSummary& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
98 inline AIPromptSummary& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
99 inline AIPromptSummary& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
101
103
107 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
108 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
109 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
110 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
111 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
112 inline AIPromptSummary& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
113 inline AIPromptSummary& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
114 inline AIPromptSummary& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
116
118
121 inline const Aws::String& GetDescription() const{ return m_description; }
122 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
123 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
124 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
125 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
126 inline AIPromptSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
127 inline AIPromptSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
128 inline AIPromptSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
130
132
136 inline const Aws::String& GetModelId() const{ return m_modelId; }
137 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
138 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
139 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
140 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
141 inline AIPromptSummary& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
142 inline AIPromptSummary& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
143 inline AIPromptSummary& WithModelId(const char* value) { SetModelId(value); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetModifiedTime() const{ return m_modifiedTime; }
151 inline bool ModifiedTimeHasBeenSet() const { return m_modifiedTimeHasBeenSet; }
152 inline void SetModifiedTime(const Aws::Utils::DateTime& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = value; }
153 inline void SetModifiedTime(Aws::Utils::DateTime&& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = std::move(value); }
154 inline AIPromptSummary& WithModifiedTime(const Aws::Utils::DateTime& value) { SetModifiedTime(value); return *this;}
155 inline AIPromptSummary& WithModifiedTime(Aws::Utils::DateTime&& value) { SetModifiedTime(std::move(value)); return *this;}
157
159
162 inline const Aws::String& GetName() const{ return m_name; }
163 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
164 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
165 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
166 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
167 inline AIPromptSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
168 inline AIPromptSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
169 inline AIPromptSummary& WithName(const char* value) { SetName(value); return *this;}
171
173
178 inline const Origin& GetOrigin() const{ return m_origin; }
179 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
180 inline void SetOrigin(const Origin& value) { m_originHasBeenSet = true; m_origin = value; }
181 inline void SetOrigin(Origin&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
182 inline AIPromptSummary& WithOrigin(const Origin& value) { SetOrigin(value); return *this;}
183 inline AIPromptSummary& WithOrigin(Origin&& value) { SetOrigin(std::move(value)); return *this;}
185
187
190 inline const Status& GetStatus() const{ return m_status; }
191 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
192 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
193 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
194 inline AIPromptSummary& WithStatus(const Status& value) { SetStatus(value); return *this;}
195 inline AIPromptSummary& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
197
199
202 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
203 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
204 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
205 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
206 inline AIPromptSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
207 inline AIPromptSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
208 inline AIPromptSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
209 inline AIPromptSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
210 inline AIPromptSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
211 inline AIPromptSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
212 inline AIPromptSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
213 inline AIPromptSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
214 inline AIPromptSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
216
218
221 inline const AIPromptTemplateType& GetTemplateType() const{ return m_templateType; }
222 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
223 inline void SetTemplateType(const AIPromptTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
224 inline void SetTemplateType(AIPromptTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
225 inline AIPromptSummary& WithTemplateType(const AIPromptTemplateType& value) { SetTemplateType(value); return *this;}
226 inline AIPromptSummary& WithTemplateType(AIPromptTemplateType&& value) { SetTemplateType(std::move(value)); return *this;}
228
230
233 inline const AIPromptType& GetType() const{ return m_type; }
234 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
235 inline void SetType(const AIPromptType& value) { m_typeHasBeenSet = true; m_type = value; }
236 inline void SetType(AIPromptType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
237 inline AIPromptSummary& WithType(const AIPromptType& value) { SetType(value); return *this;}
238 inline AIPromptSummary& WithType(AIPromptType&& value) { SetType(std::move(value)); return *this;}
240
242
245 inline const VisibilityStatus& GetVisibilityStatus() const{ return m_visibilityStatus; }
246 inline bool VisibilityStatusHasBeenSet() const { return m_visibilityStatusHasBeenSet; }
247 inline void SetVisibilityStatus(const VisibilityStatus& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = value; }
248 inline void SetVisibilityStatus(VisibilityStatus&& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = std::move(value); }
249 inline AIPromptSummary& WithVisibilityStatus(const VisibilityStatus& value) { SetVisibilityStatus(value); return *this;}
250 inline AIPromptSummary& WithVisibilityStatus(VisibilityStatus&& value) { SetVisibilityStatus(std::move(value)); return *this;}
252 private:
253
254 Aws::String m_aiPromptArn;
255 bool m_aiPromptArnHasBeenSet = false;
256
257 Aws::String m_aiPromptId;
258 bool m_aiPromptIdHasBeenSet = false;
259
260 AIPromptAPIFormat m_apiFormat;
261 bool m_apiFormatHasBeenSet = false;
262
263 Aws::String m_assistantArn;
264 bool m_assistantArnHasBeenSet = false;
265
266 Aws::String m_assistantId;
267 bool m_assistantIdHasBeenSet = false;
268
269 Aws::String m_description;
270 bool m_descriptionHasBeenSet = false;
271
272 Aws::String m_modelId;
273 bool m_modelIdHasBeenSet = false;
274
275 Aws::Utils::DateTime m_modifiedTime;
276 bool m_modifiedTimeHasBeenSet = false;
277
278 Aws::String m_name;
279 bool m_nameHasBeenSet = false;
280
281 Origin m_origin;
282 bool m_originHasBeenSet = false;
283
284 Status m_status;
285 bool m_statusHasBeenSet = false;
286
288 bool m_tagsHasBeenSet = false;
289
290 AIPromptTemplateType m_templateType;
291 bool m_templateTypeHasBeenSet = false;
292
293 AIPromptType m_type;
294 bool m_typeHasBeenSet = false;
295
296 VisibilityStatus m_visibilityStatus;
297 bool m_visibilityStatusHasBeenSet = false;
298 };
299
300} // namespace Model
301} // namespace QConnect
302} // namespace Aws
const Aws::String & GetName() const
void SetModelId(Aws::String &&value)
AIPromptSummary & WithAiPromptId(const char *value)
AIPromptSummary & AddTags(Aws::String &&key, const char *value)
void SetAiPromptId(Aws::String &&value)
AIPromptSummary & WithName(const Aws::String &value)
AIPromptSummary & AddTags(const char *key, Aws::String &&value)
AIPromptSummary & WithModifiedTime(const Aws::Utils::DateTime &value)
AIPromptSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetTemplateType(const AIPromptTemplateType &value)
AIPromptSummary & WithVisibilityStatus(VisibilityStatus &&value)
void SetModelId(const Aws::String &value)
AIPromptSummary & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetAssistantArn(Aws::String &&value)
void SetAiPromptId(const char *value)
void SetName(const Aws::String &value)
const VisibilityStatus & GetVisibilityStatus() const
AIPromptSummary & WithAssistantId(const char *value)
void SetAssistantArn(const Aws::String &value)
const Aws::String & GetAssistantId() const
AIPromptSummary & WithName(const char *value)
void SetType(const AIPromptType &value)
void SetModifiedTime(Aws::Utils::DateTime &&value)
AIPromptSummary & WithType(const AIPromptType &value)
AIPromptSummary & WithModifiedTime(Aws::Utils::DateTime &&value)
AIPromptSummary & WithOrigin(Origin &&value)
const Aws::String & GetAiPromptId() const
void SetApiFormat(AIPromptAPIFormat &&value)
void SetAiPromptId(const Aws::String &value)
void SetVisibilityStatus(const VisibilityStatus &value)
AIPromptSummary & AddTags(Aws::String &&key, Aws::String &&value)
void SetDescription(Aws::String &&value)
AIPromptSummary & WithStatus(Status &&value)
AIPromptSummary & WithAssistantArn(Aws::String &&value)
AIPromptSummary & WithAiPromptId(Aws::String &&value)
void SetStatus(const Status &value)
AIPromptSummary & WithAssistantArn(const Aws::String &value)
AIPromptSummary & WithDescription(const char *value)
AIPromptSummary & WithAssistantId(Aws::String &&value)
AIPromptSummary & WithModelId(Aws::String &&value)
AIPromptSummary & AddTags(const Aws::String &key, Aws::String &&value)
AIPromptSummary & AddTags(const Aws::String &key, const Aws::String &value)
AIPromptSummary & WithOrigin(const Origin &value)
AWS_QCONNECT_API AIPromptSummary(Aws::Utils::Json::JsonView jsonValue)
AIPromptSummary & WithApiFormat(AIPromptAPIFormat &&value)
const Aws::String & GetAiPromptArn() const
AIPromptSummary & WithApiFormat(const AIPromptAPIFormat &value)
void SetAiPromptArn(Aws::String &&value)
AIPromptSummary & WithVisibilityStatus(const VisibilityStatus &value)
AIPromptSummary & WithAiPromptId(const Aws::String &value)
void SetAssistantId(const Aws::String &value)
AIPromptSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AIPromptSummary & WithType(AIPromptType &&value)
AIPromptSummary & WithModelId(const Aws::String &value)
const AIPromptTemplateType & GetTemplateType() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetAssistantArn() const
void SetModifiedTime(const Aws::Utils::DateTime &value)
AIPromptSummary & WithAssistantId(const Aws::String &value)
void SetAssistantId(Aws::String &&value)
void SetType(AIPromptType &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AIPromptSummary & WithAiPromptArn(const char *value)
AIPromptSummary & AddTags(const char *key, const char *value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AIPromptSummary & WithTemplateType(AIPromptTemplateType &&value)
const Aws::String & GetDescription() const
AIPromptSummary & WithAiPromptArn(Aws::String &&value)
AIPromptSummary & WithStatus(const Status &value)
AIPromptSummary & WithTemplateType(const AIPromptTemplateType &value)
const AIPromptAPIFormat & GetApiFormat() const
const Aws::Utils::DateTime & GetModifiedTime() const
void SetAiPromptArn(const Aws::String &value)
AIPromptSummary & WithModelId(const char *value)
AIPromptSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAiPromptArn(const char *value)
AWS_QCONNECT_API AIPromptSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateType(AIPromptTemplateType &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AIPromptSummary & WithAiPromptArn(const Aws::String &value)
const Aws::String & GetModelId() const
AIPromptSummary & WithDescription(const Aws::String &value)
const AIPromptType & GetType() const
void SetVisibilityStatus(VisibilityStatus &&value)
void SetOrigin(const Origin &value)
void SetAssistantArn(const char *value)
AIPromptSummary & WithName(Aws::String &&value)
void SetApiFormat(const AIPromptAPIFormat &value)
AIPromptSummary & WithAssistantArn(const char *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