AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/qconnect/model/AIAgentType.h>
10#include <aws/core/utils/memory/stl/AWSString.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:
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 AIAgentType& GetAiAgentType() const{ return m_aiAgentType; }
43 inline bool AiAgentTypeHasBeenSet() const { return m_aiAgentTypeHasBeenSet; }
44 inline void SetAiAgentType(const AIAgentType& value) { m_aiAgentTypeHasBeenSet = true; m_aiAgentType = value; }
45 inline void SetAiAgentType(AIAgentType&& value) { m_aiAgentTypeHasBeenSet = true; m_aiAgentType = std::move(value); }
46 inline UpdateAssistantAIAgentRequest& WithAiAgentType(const AIAgentType& value) { SetAiAgentType(value); return *this;}
47 inline UpdateAssistantAIAgentRequest& WithAiAgentType(AIAgentType&& value) { SetAiAgentType(std::move(value)); return *this;}
49
51
55 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
56 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
57 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
58 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
59 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
60 inline UpdateAssistantAIAgentRequest& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
61 inline UpdateAssistantAIAgentRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
62 inline UpdateAssistantAIAgentRequest& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
64
66
70 inline const AIAgentConfigurationData& GetConfiguration() const{ return m_configuration; }
71 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
72 inline void SetConfiguration(const AIAgentConfigurationData& value) { m_configurationHasBeenSet = true; m_configuration = value; }
73 inline void SetConfiguration(AIAgentConfigurationData&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
77 private:
78
79 AIAgentType m_aiAgentType;
80 bool m_aiAgentTypeHasBeenSet = false;
81
82 Aws::String m_assistantId;
83 bool m_assistantIdHasBeenSet = false;
84
85 AIAgentConfigurationData m_configuration;
86 bool m_configurationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QConnect
91} // namespace Aws
UpdateAssistantAIAgentRequest & WithAssistantId(Aws::String &&value)
UpdateAssistantAIAgentRequest & WithConfiguration(const AIAgentConfigurationData &value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
UpdateAssistantAIAgentRequest & WithAssistantId(const char *value)
void SetConfiguration(const AIAgentConfigurationData &value)
UpdateAssistantAIAgentRequest & WithAiAgentType(const AIAgentType &value)
UpdateAssistantAIAgentRequest & WithAssistantId(const Aws::String &value)
UpdateAssistantAIAgentRequest & WithAiAgentType(AIAgentType &&value)
UpdateAssistantAIAgentRequest & WithConfiguration(AIAgentConfigurationData &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String