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/qconnect/model/AIAgentType.h>
11#include <aws/qconnect/model/AIAgentConfiguration.h>
12#include <aws/qconnect/model/VisibilityStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.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>
97 template<
typename ConfigurationT = AIAgentConfiguration>
98 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
99 template<
typename ConfigurationT = AIAgentConfiguration>
119 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
121 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
125 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
135 template<
typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
137 template<
typename DescriptionT = Aws::String>
143 bool m_clientTokenHasBeenSet =
true;
146 bool m_assistantIdHasBeenSet =
false;
149 bool m_nameHasBeenSet =
false;
152 bool m_typeHasBeenSet =
false;
154 AIAgentConfiguration m_configuration;
155 bool m_configurationHasBeenSet =
false;
158 bool m_visibilityStatusHasBeenSet =
false;
161 bool m_tagsHasBeenSet =
false;
164 bool m_descriptionHasBeenSet =
false;
void SetConfiguration(ConfigurationT &&value)
void SetVisibilityStatus(VisibilityStatus value)
bool ConfigurationHasBeenSet() const
void SetType(AIAgentType value)
VisibilityStatus GetVisibilityStatus() const
CreateAIAgentRequest & WithClientToken(ClientTokenT &&value)
AIAgentType GetType() const
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
CreateAIAgentRequest & WithTags(TagsT &&value)
void SetAssistantId(AssistantIdT &&value)
bool VisibilityStatusHasBeenSet() const
bool TypeHasBeenSet() const
CreateAIAgentRequest & WithName(NameT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetName() const
CreateAIAgentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAIAgentRequest & WithAssistantId(AssistantIdT &&value)
AWS_QCONNECT_API CreateAIAgentRequest()=default
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
CreateAIAgentRequest & WithConfiguration(ConfigurationT &&value)
bool TagsHasBeenSet() const
AWS_QCONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
void SetName(NameT &&value)
const AIAgentConfiguration & GetConfiguration() const
void SetDescription(DescriptionT &&value)
bool NameHasBeenSet() const
const Aws::String & GetAssistantId() const
CreateAIAgentRequest & WithType(AIAgentType value)
CreateAIAgentRequest & WithDescription(DescriptionT &&value)
bool AssistantIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAIAgentRequest & WithVisibilityStatus(VisibilityStatus value)
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