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>
57 inline void SetAiPromptArn(
const char* value) { m_aiPromptArnHasBeenSet =
true; m_aiPromptArn.assign(value); }
71 inline void SetAiPromptId(
const char* value) { m_aiPromptIdHasBeenSet =
true; m_aiPromptId.assign(value); }
97 inline void SetAssistantArn(
const char* value) { m_assistantArnHasBeenSet =
true; m_assistantArn.assign(value); }
112 inline void SetAssistantId(
const char* value) { m_assistantIdHasBeenSet =
true; m_assistantId.assign(value); }
126 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
141 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
167 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
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); }
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); }
215 inline AIPromptData&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
268 bool m_aiPromptArnHasBeenSet =
false;
271 bool m_aiPromptIdHasBeenSet =
false;
274 bool m_apiFormatHasBeenSet =
false;
277 bool m_assistantArnHasBeenSet =
false;
280 bool m_assistantIdHasBeenSet =
false;
283 bool m_descriptionHasBeenSet =
false;
286 bool m_modelIdHasBeenSet =
false;
289 bool m_modifiedTimeHasBeenSet =
false;
292 bool m_nameHasBeenSet =
false;
295 bool m_originHasBeenSet =
false;
298 bool m_statusHasBeenSet =
false;
301 bool m_tagsHasBeenSet =
false;
304 bool m_templateConfigurationHasBeenSet =
false;
307 bool m_templateTypeHasBeenSet =
false;
310 bool m_typeHasBeenSet =
false;
313 bool m_visibilityStatusHasBeenSet =
false;
bool DescriptionHasBeenSet() const
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)
bool TypeHasBeenSet() const
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)
void SetOrigin(Origin &&value)
bool StatusHasBeenSet() const
const AIPromptTemplateType & GetTemplateType() const
const AIPromptAPIFormat & GetApiFormat() const
bool AiPromptArnHasBeenSet() const
bool OriginHasBeenSet() const
const Aws::Utils::DateTime & GetModifiedTime() const
bool ModelIdHasBeenSet() 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)
bool AssistantIdHasBeenSet() const
bool TemplateConfigurationHasBeenSet() const
bool AssistantArnHasBeenSet() const
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)
bool TagsHasBeenSet() const
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)
bool ModifiedTimeHasBeenSet() const
void SetModelId(const char *value)
AIPromptData & WithDescription(const Aws::String &value)
AIPromptData & WithAssistantId(const char *value)
bool TemplateTypeHasBeenSet() const
void SetVisibilityStatus(const VisibilityStatus &value)
void SetType(const AIPromptType &value)
AWS_QCONNECT_API AIPromptData(Aws::Utils::Json::JsonView jsonValue)
bool AiPromptIdHasBeenSet() const
AIPromptData & WithType(const AIPromptType &value)
void SetName(const Aws::String &value)
void SetStatus(Status &&value)
AIPromptData & AddTags(const Aws::String &key, Aws::String &&value)
AIPromptData & WithVisibilityStatus(const VisibilityStatus &value)
AIPromptData & AddTags(Aws::String &&key, const Aws::String &value)
bool VisibilityStatusHasBeenSet() const
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)
bool ApiFormatHasBeenSet() const
AIPromptData & WithModifiedTime(const Aws::Utils::DateTime &value)
AWS_QCONNECT_API AIPromptData()
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)
bool NameHasBeenSet() const
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