AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/AIAgentConfiguration.h>
11#include <aws/qconnect/model/VisibilityStatus.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();
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
42 inline const Aws::String& GetAiAgentId() const{ return m_aiAgentId; }
43 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
44 inline void SetAiAgentId(const Aws::String& value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId = value; }
45 inline void SetAiAgentId(Aws::String&& value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId = std::move(value); }
46 inline void SetAiAgentId(const char* value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId.assign(value); }
47 inline UpdateAIAgentRequest& WithAiAgentId(const Aws::String& value) { SetAiAgentId(value); return *this;}
48 inline UpdateAIAgentRequest& WithAiAgentId(Aws::String&& value) { SetAiAgentId(std::move(value)); return *this;}
49 inline UpdateAIAgentRequest& WithAiAgentId(const char* value) { SetAiAgentId(value); return *this;}
51
53
57 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
58 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
59 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
60 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
61 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
62 inline UpdateAIAgentRequest& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
63 inline UpdateAIAgentRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
64 inline UpdateAIAgentRequest& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
66
68
75 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
76 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
77 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
78 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
79 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
80 inline UpdateAIAgentRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
81 inline UpdateAIAgentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
82 inline UpdateAIAgentRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
84
86
89 inline const AIAgentConfiguration& GetConfiguration() const{ return m_configuration; }
90 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
91 inline void SetConfiguration(const AIAgentConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
92 inline void SetConfiguration(AIAgentConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
93 inline UpdateAIAgentRequest& WithConfiguration(const AIAgentConfiguration& value) { SetConfiguration(value); return *this;}
94 inline UpdateAIAgentRequest& WithConfiguration(AIAgentConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetDescription() const{ return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
104 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
105 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 inline UpdateAIAgentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 inline UpdateAIAgentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
108 inline UpdateAIAgentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
110
112
115 inline const VisibilityStatus& GetVisibilityStatus() const{ return m_visibilityStatus; }
116 inline bool VisibilityStatusHasBeenSet() const { return m_visibilityStatusHasBeenSet; }
117 inline void SetVisibilityStatus(const VisibilityStatus& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = value; }
118 inline void SetVisibilityStatus(VisibilityStatus&& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = std::move(value); }
120 inline UpdateAIAgentRequest& WithVisibilityStatus(VisibilityStatus&& value) { SetVisibilityStatus(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_aiAgentId;
125 bool m_aiAgentIdHasBeenSet = false;
126
127 Aws::String m_assistantId;
128 bool m_assistantIdHasBeenSet = false;
129
130 Aws::String m_clientToken;
131 bool m_clientTokenHasBeenSet = false;
132
133 AIAgentConfiguration m_configuration;
134 bool m_configurationHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 VisibilityStatus m_visibilityStatus;
140 bool m_visibilityStatusHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace QConnect
145} // namespace Aws
UpdateAIAgentRequest & WithClientToken(const Aws::String &value)
UpdateAIAgentRequest & WithAssistantId(Aws::String &&value)
void SetVisibilityStatus(const VisibilityStatus &value)
UpdateAIAgentRequest & WithVisibilityStatus(const VisibilityStatus &value)
void SetConfiguration(AIAgentConfiguration &&value)
void SetAssistantId(const Aws::String &value)
UpdateAIAgentRequest & WithClientToken(const char *value)
UpdateAIAgentRequest & WithDescription(const Aws::String &value)
UpdateAIAgentRequest & WithAiAgentId(const char *value)
void SetConfiguration(const AIAgentConfiguration &value)
UpdateAIAgentRequest & WithDescription(Aws::String &&value)
UpdateAIAgentRequest & WithVisibilityStatus(VisibilityStatus &&value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
UpdateAIAgentRequest & WithConfiguration(AIAgentConfiguration &&value)
UpdateAIAgentRequest & WithAssistantId(const char *value)
UpdateAIAgentRequest & WithConfiguration(const AIAgentConfiguration &value)
void SetClientToken(const Aws::String &value)
UpdateAIAgentRequest & WithAiAgentId(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateAIAgentRequest & WithClientToken(Aws::String &&value)
void SetAiAgentId(const Aws::String &value)
const VisibilityStatus & GetVisibilityStatus() const
UpdateAIAgentRequest & WithAiAgentId(const Aws::String &value)
void SetVisibilityStatus(VisibilityStatus &&value)
const AIAgentConfiguration & GetConfiguration() const
virtual const char * GetServiceRequestName() const override
UpdateAIAgentRequest & WithAssistantId(const Aws::String &value)
UpdateAIAgentRequest & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String