7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/qconnect/model/AIPromptAPIFormat.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/qconnect/model/AIPromptTemplateConfiguration.h>
13#include <aws/qconnect/model/AIPromptTemplateType.h>
14#include <aws/qconnect/model/AIPromptType.h>
15#include <aws/qconnect/model/VisibilityStatus.h>
17#include <aws/core/utils/UUID.h>
63 inline void SetAssistantId(
const char* value) { m_assistantIdHasBeenSet =
true; m_assistantId.assign(value); }
81 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
95 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
110 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
124 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
199 bool m_apiFormatHasBeenSet =
false;
202 bool m_assistantIdHasBeenSet =
false;
205 bool m_clientTokenHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
211 bool m_modelIdHasBeenSet =
false;
214 bool m_nameHasBeenSet =
false;
217 bool m_tagsHasBeenSet =
false;
220 bool m_templateConfigurationHasBeenSet =
false;
223 bool m_templateTypeHasBeenSet =
false;
226 bool m_typeHasBeenSet =
false;
229 bool m_visibilityStatusHasBeenSet =
false;
AWS_QCONNECT_API CreateAIPromptRequest()
void SetTemplateConfiguration(AIPromptTemplateConfiguration &&value)
bool TemplateConfigurationHasBeenSet() const
const AIPromptAPIFormat & GetApiFormat() const
void SetTemplateType(AIPromptTemplateType &&value)
void SetClientToken(Aws::String &&value)
CreateAIPromptRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAIPromptRequest & WithModelId(const char *value)
const Aws::String & GetAssistantId() const
bool TemplateTypeHasBeenSet() const
bool VisibilityStatusHasBeenSet() const
CreateAIPromptRequest & WithDescription(Aws::String &&value)
void SetVisibilityStatus(VisibilityStatus &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAIPromptRequest & WithType(const AIPromptType &value)
CreateAIPromptRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetModelId(const char *value)
const AIPromptTemplateType & GetTemplateType() const
bool AssistantIdHasBeenSet() const
AWS_QCONNECT_API Aws::String SerializePayload() const override
CreateAIPromptRequest & WithModelId(Aws::String &&value)
CreateAIPromptRequest & WithTemplateConfiguration(const AIPromptTemplateConfiguration &value)
void SetType(AIPromptType &&value)
void SetDescription(const Aws::String &value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateAIPromptRequest & WithClientToken(const char *value)
void SetApiFormat(const AIPromptAPIFormat &value)
CreateAIPromptRequest & WithAssistantId(const char *value)
CreateAIPromptRequest & WithModelId(const Aws::String &value)
void SetDescription(const char *value)
CreateAIPromptRequest & WithType(AIPromptType &&value)
const Aws::String & GetName() const
void SetName(const Aws::String &value)
void SetAssistantId(const Aws::String &value)
const AIPromptType & GetType() const
void SetName(Aws::String &&value)
CreateAIPromptRequest & WithDescription(const char *value)
void SetAssistantId(Aws::String &&value)
void SetVisibilityStatus(const VisibilityStatus &value)
bool ModelIdHasBeenSet() const
void SetDescription(Aws::String &&value)
CreateAIPromptRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAIPromptRequest & WithName(const char *value)
CreateAIPromptRequest & WithTemplateConfiguration(AIPromptTemplateConfiguration &&value)
virtual const char * GetServiceRequestName() const override
void SetApiFormat(AIPromptAPIFormat &&value)
bool ClientTokenHasBeenSet() const
void SetTemplateConfiguration(const AIPromptTemplateConfiguration &value)
CreateAIPromptRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetClientToken(const char *value)
CreateAIPromptRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAIPromptRequest & WithClientToken(const Aws::String &value)
void SetType(const AIPromptType &value)
CreateAIPromptRequest & AddTags(const char *key, const char *value)
void SetModelId(const Aws::String &value)
bool TagsHasBeenSet() const
CreateAIPromptRequest & WithApiFormat(const AIPromptAPIFormat &value)
const AIPromptTemplateConfiguration & GetTemplateConfiguration() const
const Aws::String & GetClientToken() const
CreateAIPromptRequest & WithTemplateType(const AIPromptTemplateType &value)
void SetTemplateType(const AIPromptTemplateType &value)
CreateAIPromptRequest & WithVisibilityStatus(VisibilityStatus &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAIPromptRequest & WithAssistantId(Aws::String &&value)
void SetName(const char *value)
bool ApiFormatHasBeenSet() const
CreateAIPromptRequest & WithName(const Aws::String &value)
CreateAIPromptRequest & WithApiFormat(AIPromptAPIFormat &&value)
CreateAIPromptRequest & WithDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAIPromptRequest & AddTags(Aws::String &&key, const char *value)
CreateAIPromptRequest & WithClientToken(Aws::String &&value)
const Aws::String & GetDescription() const
CreateAIPromptRequest & WithVisibilityStatus(const VisibilityStatus &value)
void SetAssistantId(const char *value)
CreateAIPromptRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAIPromptRequest & WithTemplateType(AIPromptTemplateType &&value)
CreateAIPromptRequest & AddTags(const char *key, Aws::String &&value)
const VisibilityStatus & GetVisibilityStatus() const
CreateAIPromptRequest & WithAssistantId(const Aws::String &value)
void SetClientToken(const Aws::String &value)
CreateAIPromptRequest & WithName(Aws::String &&value)
bool TypeHasBeenSet() const
void SetModelId(Aws::String &&value)
const Aws::String & GetModelId() const
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