AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAssistantAIAgentRequest.h
1
6#pragma once
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/AIAgentConfigurationData.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QConnect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_QCONNECT_API UpdateAssistantAIAgentRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateAssistantAIAgent"; }
33
34 AWS_QCONNECT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
43 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
44 template<typename AssistantIdT = Aws::String>
45 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::forward<AssistantIdT>(value); }
46 template<typename AssistantIdT = Aws::String>
47 UpdateAssistantAIAgentRequest& WithAssistantId(AssistantIdT&& value) { SetAssistantId(std::forward<AssistantIdT>(value)); return *this;}
49
51
55 inline AIAgentType GetAiAgentType() const { return m_aiAgentType; }
56 inline bool AiAgentTypeHasBeenSet() const { return m_aiAgentTypeHasBeenSet; }
57 inline void SetAiAgentType(AIAgentType value) { m_aiAgentTypeHasBeenSet = true; m_aiAgentType = value; }
60
62
66 inline const AIAgentConfigurationData& GetConfiguration() const { return m_configuration; }
67 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
68 template<typename ConfigurationT = AIAgentConfigurationData>
69 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
70 template<typename ConfigurationT = AIAgentConfigurationData>
71 UpdateAssistantAIAgentRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
73 private:
74
75 Aws::String m_assistantId;
76 bool m_assistantIdHasBeenSet = false;
77
78 AIAgentType m_aiAgentType{AIAgentType::NOT_SET};
79 bool m_aiAgentTypeHasBeenSet = false;
80
81 AIAgentConfigurationData m_configuration;
82 bool m_configurationHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace QConnect
87} // namespace Aws
UpdateAssistantAIAgentRequest & WithAiAgentType(AIAgentType value)
AWS_QCONNECT_API UpdateAssistantAIAgentRequest()=default
AWS_QCONNECT_API Aws::String SerializePayload() const override
UpdateAssistantAIAgentRequest & WithAssistantId(AssistantIdT &&value)
UpdateAssistantAIAgentRequest & WithConfiguration(ConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String