AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAIAgentRequest.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/core/utils/memory/stl/AWSMap.h>
12#include <aws/qconnect/model/AIAgentType.h>
13#include <aws/qconnect/model/VisibilityStatus.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace QConnect
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_QCONNECT_API CreateAIAgentRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateAIAgent"; }
36
37 AWS_QCONNECT_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
46 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
47 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
48 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
49 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
50 inline CreateAIAgentRequest& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
51 inline CreateAIAgentRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
52 inline CreateAIAgentRequest& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
54
56
63 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
64 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
65 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
66 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
67 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
68 inline CreateAIAgentRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
69 inline CreateAIAgentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
70 inline CreateAIAgentRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
72
74
77 inline const AIAgentConfiguration& GetConfiguration() const{ return m_configuration; }
78 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
79 inline void SetConfiguration(const AIAgentConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
80 inline void SetConfiguration(AIAgentConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
81 inline CreateAIAgentRequest& WithConfiguration(const AIAgentConfiguration& value) { SetConfiguration(value); return *this;}
82 inline CreateAIAgentRequest& WithConfiguration(AIAgentConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline CreateAIAgentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline CreateAIAgentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline CreateAIAgentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 inline CreateAIAgentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
109 inline CreateAIAgentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 inline CreateAIAgentRequest& WithName(const char* value) { SetName(value); return *this;}
112
114
117 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
118 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
119 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
120 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
121 inline CreateAIAgentRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
122 inline CreateAIAgentRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
123 inline CreateAIAgentRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
124 inline CreateAIAgentRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
125 inline CreateAIAgentRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
126 inline CreateAIAgentRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
127 inline CreateAIAgentRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
128 inline CreateAIAgentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
129 inline CreateAIAgentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
131
133
136 inline const AIAgentType& GetType() const{ return m_type; }
137 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
138 inline void SetType(const AIAgentType& value) { m_typeHasBeenSet = true; m_type = value; }
139 inline void SetType(AIAgentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
140 inline CreateAIAgentRequest& WithType(const AIAgentType& value) { SetType(value); return *this;}
141 inline CreateAIAgentRequest& WithType(AIAgentType&& value) { SetType(std::move(value)); return *this;}
143
145
148 inline const VisibilityStatus& GetVisibilityStatus() const{ return m_visibilityStatus; }
149 inline bool VisibilityStatusHasBeenSet() const { return m_visibilityStatusHasBeenSet; }
150 inline void SetVisibilityStatus(const VisibilityStatus& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = value; }
151 inline void SetVisibilityStatus(VisibilityStatus&& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = std::move(value); }
153 inline CreateAIAgentRequest& WithVisibilityStatus(VisibilityStatus&& value) { SetVisibilityStatus(std::move(value)); return *this;}
155 private:
156
157 Aws::String m_assistantId;
158 bool m_assistantIdHasBeenSet = false;
159
160 Aws::String m_clientToken;
161 bool m_clientTokenHasBeenSet = false;
162
163 AIAgentConfiguration m_configuration;
164 bool m_configurationHasBeenSet = false;
165
166 Aws::String m_description;
167 bool m_descriptionHasBeenSet = false;
168
169 Aws::String m_name;
170 bool m_nameHasBeenSet = false;
171
173 bool m_tagsHasBeenSet = false;
174
175 AIAgentType m_type;
176 bool m_typeHasBeenSet = false;
177
178 VisibilityStatus m_visibilityStatus;
179 bool m_visibilityStatusHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace QConnect
184} // namespace Aws
void SetVisibilityStatus(VisibilityStatus &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAIAgentRequest & WithDescription(const Aws::String &value)
CreateAIAgentRequest & AddTags(const char *key, const char *value)
CreateAIAgentRequest & WithName(const char *value)
CreateAIAgentRequest & WithClientToken(const Aws::String &value)
CreateAIAgentRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAIAgentRequest & WithVisibilityStatus(VisibilityStatus &&value)
CreateAIAgentRequest & WithType(const AIAgentType &value)
CreateAIAgentRequest & WithConfiguration(AIAgentConfiguration &&value)
CreateAIAgentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const VisibilityStatus & GetVisibilityStatus() const
CreateAIAgentRequest & WithAssistantId(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateAIAgentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAIAgentRequest & WithDescription(const char *value)
CreateAIAgentRequest & WithName(Aws::String &&value)
CreateAIAgentRequest & AddTags(const char *key, Aws::String &&value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateAIAgentRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetConfiguration(const AIAgentConfiguration &value)
CreateAIAgentRequest & WithType(AIAgentType &&value)
const AIAgentConfiguration & GetConfiguration() const
CreateAIAgentRequest & WithDescription(Aws::String &&value)
CreateAIAgentRequest & WithConfiguration(const AIAgentConfiguration &value)
CreateAIAgentRequest & WithClientToken(const char *value)
void SetVisibilityStatus(const VisibilityStatus &value)
void SetAssistantId(const Aws::String &value)
CreateAIAgentRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAIAgentRequest & WithAssistantId(const char *value)
CreateAIAgentRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetConfiguration(AIAgentConfiguration &&value)
CreateAIAgentRequest & AddTags(Aws::String &&key, const char *value)
CreateAIAgentRequest & WithName(const Aws::String &value)
CreateAIAgentRequest & WithVisibilityStatus(const VisibilityStatus &value)
void SetDescription(const Aws::String &value)
CreateAIAgentRequest & WithAssistantId(const Aws::String &value)
CreateAIAgentRequest & WithClientToken(Aws::String &&value)
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