7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/qconnect/model/TagFilter.h>
12#include <aws/qconnect/model/AIAgentType.h>
13#include <aws/qconnect/model/AIAgentConfigurationData.h>
15#include <aws/core/utils/UUID.h>
50 template<
typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<
typename ClientTokenT = Aws::String>
63 template<
typename AssistantIdT = Aws::String>
64 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet =
true; m_assistantId = std::forward<AssistantIdT>(value); }
65 template<
typename AssistantIdT = Aws::String>
75 template<
typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
77 template<
typename NameT = Aws::String>
87 template<
typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
89 template<
typename DescriptionT = Aws::String>
99 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
101 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
105 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
115 template<
typename TagFilterT = TagFilter>
116 void SetTagFilter(TagFilterT&& value) { m_tagFilterHasBeenSet =
true; m_tagFilter = std::forward<TagFilterT>(value); }
117 template<
typename TagFilterT = TagFilter>
128 template<
typename AiAgentConfigurationT = Aws::Map<AIAgentType, AIAgentConfigurationData>>
129 void SetAiAgentConfiguration(AiAgentConfigurationT&& value) { m_aiAgentConfigurationHasBeenSet =
true; m_aiAgentConfiguration = std::forward<AiAgentConfigurationT>(value); }
130 template<
typename AiAgentConfigurationT = Aws::Map<AIAgentType, AIAgentConfigurationData>>
133 m_aiAgentConfigurationHasBeenSet =
true; m_aiAgentConfiguration.emplace(key, value);
return *
this;
139 bool m_clientTokenHasBeenSet =
true;
142 bool m_assistantIdHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_descriptionHasBeenSet =
false;
151 bool m_tagsHasBeenSet =
false;
153 TagFilter m_tagFilter;
154 bool m_tagFilterHasBeenSet =
false;
157 bool m_aiAgentConfigurationHasBeenSet =
false;
bool NameHasBeenSet() const
CreateSessionRequest & WithAssistantId(AssistantIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAssistantId() const
void SetDescription(DescriptionT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::Map< AIAgentType, AIAgentConfigurationData > & GetAiAgentConfiguration() const
bool TagFilterHasBeenSet() const
const Aws::String & GetDescription() const
void SetName(NameT &&value)
const Aws::String & GetClientToken() const
void SetAssistantId(AssistantIdT &&value)
CreateSessionRequest & WithClientToken(ClientTokenT &&value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
CreateSessionRequest & WithDescription(DescriptionT &&value)
bool ClientTokenHasBeenSet() const
CreateSessionRequest & AddAiAgentConfiguration(AIAgentType key, AIAgentConfigurationData value)
CreateSessionRequest & WithTagFilter(TagFilterT &&value)
CreateSessionRequest & WithAiAgentConfiguration(AiAgentConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_QCONNECT_API CreateSessionRequest()=default
void SetTags(TagsT &&value)
CreateSessionRequest & WithName(NameT &&value)
bool DescriptionHasBeenSet() const
CreateSessionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
bool AiAgentConfigurationHasBeenSet() const
void SetAiAgentConfiguration(AiAgentConfigurationT &&value)
CreateSessionRequest & WithTags(TagsT &&value)
const Aws::String & GetName() const
void SetTagFilter(TagFilterT &&value)
bool AssistantIdHasBeenSet() const
const TagFilter & GetTagFilter() const
static Aws::Utils::UUID PseudoRandomUUID()
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