AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AIAgentSummary.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/AIAgentConfiguration.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/qconnect/model/Origin.h>
12#include <aws/qconnect/model/Status.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/qconnect/model/AIAgentType.h>
15#include <aws/qconnect/model/VisibilityStatus.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace QConnect
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_QCONNECT_API AIAgentSummary();
42 AWS_QCONNECT_API AIAgentSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetAiAgentArn() const{ return m_aiAgentArn; }
52 inline bool AiAgentArnHasBeenSet() const { return m_aiAgentArnHasBeenSet; }
53 inline void SetAiAgentArn(const Aws::String& value) { m_aiAgentArnHasBeenSet = true; m_aiAgentArn = value; }
54 inline void SetAiAgentArn(Aws::String&& value) { m_aiAgentArnHasBeenSet = true; m_aiAgentArn = std::move(value); }
55 inline void SetAiAgentArn(const char* value) { m_aiAgentArnHasBeenSet = true; m_aiAgentArn.assign(value); }
56 inline AIAgentSummary& WithAiAgentArn(const Aws::String& value) { SetAiAgentArn(value); return *this;}
57 inline AIAgentSummary& WithAiAgentArn(Aws::String&& value) { SetAiAgentArn(std::move(value)); return *this;}
58 inline AIAgentSummary& WithAiAgentArn(const char* value) { SetAiAgentArn(value); return *this;}
60
62
65 inline const Aws::String& GetAiAgentId() const{ return m_aiAgentId; }
66 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
67 inline void SetAiAgentId(const Aws::String& value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId = value; }
68 inline void SetAiAgentId(Aws::String&& value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId = std::move(value); }
69 inline void SetAiAgentId(const char* value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId.assign(value); }
70 inline AIAgentSummary& WithAiAgentId(const Aws::String& value) { SetAiAgentId(value); return *this;}
71 inline AIAgentSummary& WithAiAgentId(Aws::String&& value) { SetAiAgentId(std::move(value)); return *this;}
72 inline AIAgentSummary& WithAiAgentId(const char* value) { SetAiAgentId(value); return *this;}
74
76
79 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
80 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
81 inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; }
82 inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); }
83 inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); }
84 inline AIAgentSummary& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
85 inline AIAgentSummary& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
86 inline AIAgentSummary& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
88
90
94 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
95 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
96 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
97 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
98 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
99 inline AIAgentSummary& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
100 inline AIAgentSummary& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
101 inline AIAgentSummary& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
103
105
108 inline const AIAgentConfiguration& GetConfiguration() const{ return m_configuration; }
109 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
110 inline void SetConfiguration(const AIAgentConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
111 inline void SetConfiguration(AIAgentConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
112 inline AIAgentSummary& WithConfiguration(const AIAgentConfiguration& value) { SetConfiguration(value); return *this;}
113 inline AIAgentSummary& WithConfiguration(AIAgentConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetDescription() const{ return m_description; }
121 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
122 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
123 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
124 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
125 inline AIAgentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
126 inline AIAgentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
127 inline AIAgentSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetModifiedTime() const{ return m_modifiedTime; }
135 inline bool ModifiedTimeHasBeenSet() const { return m_modifiedTimeHasBeenSet; }
136 inline void SetModifiedTime(const Aws::Utils::DateTime& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = value; }
137 inline void SetModifiedTime(Aws::Utils::DateTime&& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = std::move(value); }
138 inline AIAgentSummary& WithModifiedTime(const Aws::Utils::DateTime& value) { SetModifiedTime(value); return *this;}
139 inline AIAgentSummary& WithModifiedTime(Aws::Utils::DateTime&& value) { SetModifiedTime(std::move(value)); return *this;}
141
143
146 inline const Aws::String& GetName() const{ return m_name; }
147 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
148 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
149 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
150 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
151 inline AIAgentSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
152 inline AIAgentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
153 inline AIAgentSummary& WithName(const char* value) { SetName(value); return *this;}
155
157
162 inline const Origin& GetOrigin() const{ return m_origin; }
163 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
164 inline void SetOrigin(const Origin& value) { m_originHasBeenSet = true; m_origin = value; }
165 inline void SetOrigin(Origin&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
166 inline AIAgentSummary& WithOrigin(const Origin& value) { SetOrigin(value); return *this;}
167 inline AIAgentSummary& WithOrigin(Origin&& value) { SetOrigin(std::move(value)); return *this;}
169
171
174 inline const Status& GetStatus() const{ return m_status; }
175 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
176 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
177 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
178 inline AIAgentSummary& WithStatus(const Status& value) { SetStatus(value); return *this;}
179 inline AIAgentSummary& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
181
183
186 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
187 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
188 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
189 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
190 inline AIAgentSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
191 inline AIAgentSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
192 inline AIAgentSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
193 inline AIAgentSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
194 inline AIAgentSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
195 inline AIAgentSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
196 inline AIAgentSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
197 inline AIAgentSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
198 inline AIAgentSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
200
202
205 inline const AIAgentType& GetType() const{ return m_type; }
206 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
207 inline void SetType(const AIAgentType& value) { m_typeHasBeenSet = true; m_type = value; }
208 inline void SetType(AIAgentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
209 inline AIAgentSummary& WithType(const AIAgentType& value) { SetType(value); return *this;}
210 inline AIAgentSummary& WithType(AIAgentType&& value) { SetType(std::move(value)); return *this;}
212
214
217 inline const VisibilityStatus& GetVisibilityStatus() const{ return m_visibilityStatus; }
218 inline bool VisibilityStatusHasBeenSet() const { return m_visibilityStatusHasBeenSet; }
219 inline void SetVisibilityStatus(const VisibilityStatus& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = value; }
220 inline void SetVisibilityStatus(VisibilityStatus&& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = std::move(value); }
221 inline AIAgentSummary& WithVisibilityStatus(const VisibilityStatus& value) { SetVisibilityStatus(value); return *this;}
222 inline AIAgentSummary& WithVisibilityStatus(VisibilityStatus&& value) { SetVisibilityStatus(std::move(value)); return *this;}
224 private:
225
226 Aws::String m_aiAgentArn;
227 bool m_aiAgentArnHasBeenSet = false;
228
229 Aws::String m_aiAgentId;
230 bool m_aiAgentIdHasBeenSet = false;
231
232 Aws::String m_assistantArn;
233 bool m_assistantArnHasBeenSet = false;
234
235 Aws::String m_assistantId;
236 bool m_assistantIdHasBeenSet = false;
237
238 AIAgentConfiguration m_configuration;
239 bool m_configurationHasBeenSet = false;
240
241 Aws::String m_description;
242 bool m_descriptionHasBeenSet = false;
243
244 Aws::Utils::DateTime m_modifiedTime;
245 bool m_modifiedTimeHasBeenSet = false;
246
247 Aws::String m_name;
248 bool m_nameHasBeenSet = false;
249
250 Origin m_origin;
251 bool m_originHasBeenSet = false;
252
253 Status m_status;
254 bool m_statusHasBeenSet = false;
255
257 bool m_tagsHasBeenSet = false;
258
259 AIAgentType m_type;
260 bool m_typeHasBeenSet = false;
261
262 VisibilityStatus m_visibilityStatus;
263 bool m_visibilityStatusHasBeenSet = false;
264 };
265
266} // namespace Model
267} // namespace QConnect
268} // namespace Aws
void SetType(const AIAgentType &value)
AIAgentSummary & WithAiAgentArn(const Aws::String &value)
AIAgentSummary & WithAiAgentId(const char *value)
void SetModifiedTime(Aws::Utils::DateTime &&value)
AIAgentSummary & WithModifiedTime(const Aws::Utils::DateTime &value)
void SetAssistantId(const char *value)
AIAgentSummary & WithVisibilityStatus(const VisibilityStatus &value)
AIAgentSummary & AddTags(const char *key, const char *value)
void SetAiAgentArn(const char *value)
void SetAssistantArn(Aws::String &&value)
void SetAiAgentId(const char *value)
void SetName(const Aws::String &value)
AIAgentSummary & WithStatus(const Status &value)
AIAgentSummary & WithConfiguration(AIAgentConfiguration &&value)
void SetAssistantId(Aws::String &&value)
AIAgentSummary & WithDescription(Aws::String &&value)
AIAgentSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetVisibilityStatus(const VisibilityStatus &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const AIAgentType & GetType() const
const Aws::Utils::DateTime & GetModifiedTime() const
AIAgentSummary & WithAssistantId(const char *value)
void SetModifiedTime(const Aws::Utils::DateTime &value)
void SetAiAgentArn(const Aws::String &value)
const Aws::String & GetName() const
void SetVisibilityStatus(VisibilityStatus &&value)
void SetName(Aws::String &&value)
void SetAiAgentArn(Aws::String &&value)
AIAgentSummary & WithName(const Aws::String &value)
AWS_QCONNECT_API AIAgentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
const VisibilityStatus & GetVisibilityStatus() const
void SetConfiguration(AIAgentConfiguration &&value)
void SetAssistantArn(const Aws::String &value)
void SetAiAgentId(const Aws::String &value)
const Aws::String & GetAiAgentArn() const
AIAgentSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetType(AIAgentType &&value)
AIAgentSummary & WithAssistantId(const Aws::String &value)
void SetStatus(const Status &value)
const Aws::String & GetAiAgentId() const
AIAgentSummary & WithType(const AIAgentType &value)
const Aws::String & GetAssistantId() const
AIAgentSummary & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AIAgentSummary & WithAssistantId(Aws::String &&value)
AIAgentSummary & AddTags(Aws::String &&key, const char *value)
AIAgentSummary & WithVisibilityStatus(VisibilityStatus &&value)
const Aws::String & GetAssistantArn() const
AIAgentSummary & WithType(AIAgentType &&value)
void SetDescription(const Aws::String &value)
void SetConfiguration(const AIAgentConfiguration &value)
AIAgentSummary & AddTags(const char *key, Aws::String &&value)
AIAgentSummary & AddTags(Aws::String &&key, Aws::String &&value)
AIAgentSummary & WithAiAgentId(Aws::String &&value)
AIAgentSummary & WithDescription(const char *value)
const Aws::String & GetDescription() const
void SetAssistantArn(const char *value)
AIAgentSummary & WithStatus(Status &&value)
AIAgentSummary & WithConfiguration(const AIAgentConfiguration &value)
AIAgentSummary & AddTags(const Aws::String &key, const Aws::String &value)
AIAgentSummary & WithAssistantArn(Aws::String &&value)
AIAgentSummary & WithAiAgentArn(const char *value)
AIAgentSummary & WithOrigin(const Origin &value)
AIAgentSummary & WithName(const char *value)
AIAgentSummary & WithName(Aws::String &&value)
AIAgentSummary & WithAssistantArn(const Aws::String &value)
AIAgentSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AIAgentSummary & WithOrigin(Origin &&value)
void SetAiAgentId(Aws::String &&value)
AIAgentSummary & WithModifiedTime(Aws::Utils::DateTime &&value)
AIAgentSummary & WithAssistantArn(const char *value)
void SetOrigin(const Origin &value)
AIAgentSummary & WithAiAgentId(const Aws::String &value)
AIAgentSummary & WithAiAgentArn(Aws::String &&value)
void SetAssistantId(const Aws::String &value)
AWS_QCONNECT_API AIAgentSummary(Aws::Utils::Json::JsonView jsonValue)
AIAgentSummary & WithDescription(const Aws::String &value)
const AIAgentConfiguration & GetConfiguration() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDescription(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
Aws::Utils::Json::JsonValue JsonValue