AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAIAgentRequest.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/VisibilityStatus.h>
11#include <aws/qconnect/model/AIAgentConfiguration.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace QConnect
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QCONNECT_API UpdateAIAgentRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateAIAgent"; }
34
35 AWS_QCONNECT_API Aws::String SerializePayload() const override;
36
37
39
46 inline const Aws::String& GetClientToken() const { return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 template<typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<typename ClientTokenT = Aws::String>
51 UpdateAIAgentRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
53
55
59 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
60 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
61 template<typename AssistantIdT = Aws::String>
62 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::forward<AssistantIdT>(value); }
63 template<typename AssistantIdT = Aws::String>
64 UpdateAIAgentRequest& WithAssistantId(AssistantIdT&& value) { SetAssistantId(std::forward<AssistantIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetAiAgentId() const { return m_aiAgentId; }
72 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
73 template<typename AiAgentIdT = Aws::String>
74 void SetAiAgentId(AiAgentIdT&& value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId = std::forward<AiAgentIdT>(value); }
75 template<typename AiAgentIdT = Aws::String>
76 UpdateAIAgentRequest& WithAiAgentId(AiAgentIdT&& value) { SetAiAgentId(std::forward<AiAgentIdT>(value)); return *this;}
78
80
83 inline VisibilityStatus GetVisibilityStatus() const { return m_visibilityStatus; }
84 inline bool VisibilityStatusHasBeenSet() const { return m_visibilityStatusHasBeenSet; }
85 inline void SetVisibilityStatus(VisibilityStatus value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = value; }
88
90
93 inline const AIAgentConfiguration& GetConfiguration() const { return m_configuration; }
94 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
95 template<typename ConfigurationT = AIAgentConfiguration>
96 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
97 template<typename ConfigurationT = AIAgentConfiguration>
98 UpdateAIAgentRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 template<typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
109 template<typename DescriptionT = Aws::String>
110 UpdateAIAgentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
112 private:
113
115 bool m_clientTokenHasBeenSet = true;
116
117 Aws::String m_assistantId;
118 bool m_assistantIdHasBeenSet = false;
119
120 Aws::String m_aiAgentId;
121 bool m_aiAgentIdHasBeenSet = false;
122
124 bool m_visibilityStatusHasBeenSet = false;
125
126 AIAgentConfiguration m_configuration;
127 bool m_configurationHasBeenSet = false;
128
129 Aws::String m_description;
130 bool m_descriptionHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace QConnect
135} // namespace Aws
UpdateAIAgentRequest & WithDescription(DescriptionT &&value)
UpdateAIAgentRequest & WithConfiguration(ConfigurationT &&value)
UpdateAIAgentRequest & WithVisibilityStatus(VisibilityStatus value)
void SetVisibilityStatus(VisibilityStatus value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
UpdateAIAgentRequest & WithClientToken(ClientTokenT &&value)
AWS_QCONNECT_API UpdateAIAgentRequest()=default
UpdateAIAgentRequest & WithAssistantId(AssistantIdT &&value)
const AIAgentConfiguration & GetConfiguration() const
virtual const char * GetServiceRequestName() const override
UpdateAIAgentRequest & WithAiAgentId(AiAgentIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String