AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AIAgentData.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 AIAgentData();
42 AWS_QCONNECT_API AIAgentData(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QCONNECT_API AIAgentData& operator=(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 AIAgentData& WithAiAgentArn(const Aws::String& value) { SetAiAgentArn(value); return *this;}
57 inline AIAgentData& WithAiAgentArn(Aws::String&& value) { SetAiAgentArn(std::move(value)); return *this;}
58 inline AIAgentData& 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 AIAgentData& WithAiAgentId(const Aws::String& value) { SetAiAgentId(value); return *this;}
71 inline AIAgentData& WithAiAgentId(Aws::String&& value) { SetAiAgentId(std::move(value)); return *this;}
72 inline AIAgentData& 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 AIAgentData& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
85 inline AIAgentData& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
86 inline AIAgentData& 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 AIAgentData& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
100 inline AIAgentData& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
101 inline AIAgentData& 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 AIAgentData& WithConfiguration(const AIAgentConfiguration& value) { SetConfiguration(value); return *this;}
113 inline AIAgentData& 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 AIAgentData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
126 inline AIAgentData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
127 inline AIAgentData& 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 AIAgentData& WithModifiedTime(const Aws::Utils::DateTime& value) { SetModifiedTime(value); return *this;}
139 inline AIAgentData& 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 AIAgentData& WithName(const Aws::String& value) { SetName(value); return *this;}
152 inline AIAgentData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
153 inline AIAgentData& 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 AIAgentData& WithOrigin(const Origin& value) { SetOrigin(value); return *this;}
167 inline AIAgentData& 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 AIAgentData& WithStatus(const Status& value) { SetStatus(value); return *this;}
179 inline AIAgentData& 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 AIAgentData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
191 inline AIAgentData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
192 inline AIAgentData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
193 inline AIAgentData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
194 inline AIAgentData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
195 inline AIAgentData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
196 inline AIAgentData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
197 inline AIAgentData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
198 inline AIAgentData& 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 AIAgentData& WithType(const AIAgentType& value) { SetType(value); return *this;}
210 inline AIAgentData& 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 AIAgentData& WithVisibilityStatus(const VisibilityStatus& value) { SetVisibilityStatus(value); return *this;}
222 inline AIAgentData& 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
AIAgentData & WithDescription(const char *value)
AIAgentData & WithOrigin(const Origin &value)
void SetName(const Aws::String &value)
void SetAssistantArn(Aws::String &&value)
Definition AIAgentData.h:82
void SetAssistantId(const char *value)
Definition AIAgentData.h:98
const Aws::String & GetDescription() const
AIAgentData & WithAssistantArn(const Aws::String &value)
Definition AIAgentData.h:84
const Origin & GetOrigin() const
void SetModifiedTime(Aws::Utils::DateTime &&value)
const AIAgentConfiguration & GetConfiguration() const
const Aws::Utils::DateTime & GetModifiedTime() const
void SetStatus(Status &&value)
AIAgentData & WithAiAgentArn(const char *value)
Definition AIAgentData.h:58
AWS_QCONNECT_API AIAgentData(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
AIAgentData & WithAssistantId(const Aws::String &value)
Definition AIAgentData.h:99
const AIAgentType & GetType() const
void SetConfiguration(const AIAgentConfiguration &value)
AIAgentData & WithName(Aws::String &&value)
void SetStatus(const Status &value)
void SetAiAgentId(const char *value)
Definition AIAgentData.h:69
AIAgentData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AIAgentData & WithAiAgentId(const Aws::String &value)
Definition AIAgentData.h:70
void SetOrigin(const Origin &value)
void SetAssistantId(Aws::String &&value)
Definition AIAgentData.h:97
AIAgentData & AddTags(const char *key, const char *value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAiAgentArn() const
Definition AIAgentData.h:51
void SetType(AIAgentType &&value)
AIAgentData & WithName(const Aws::String &value)
AIAgentData & WithStatus(Status &&value)
void SetDescription(const char *value)
AIAgentData & WithAssistantId(Aws::String &&value)
void SetVisibilityStatus(VisibilityStatus &&value)
void SetType(const AIAgentType &value)
AIAgentData & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetConfiguration(AIAgentConfiguration &&value)
const Aws::String & GetAssistantId() const
Definition AIAgentData.h:94
AIAgentData & WithConfiguration(AIAgentConfiguration &&value)
AIAgentData & WithAiAgentArn(Aws::String &&value)
Definition AIAgentData.h:57
void SetAssistantArn(const char *value)
Definition AIAgentData.h:83
AIAgentData & WithAssistantArn(Aws::String &&value)
Definition AIAgentData.h:85
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AIAgentData & WithVisibilityStatus(VisibilityStatus &&value)
void SetAiAgentId(const Aws::String &value)
Definition AIAgentData.h:67
void SetOrigin(Origin &&value)
void SetAssistantId(const Aws::String &value)
Definition AIAgentData.h:96
AIAgentData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Status & GetStatus() const
void SetAiAgentId(Aws::String &&value)
Definition AIAgentData.h:68
void SetAssistantArn(const Aws::String &value)
Definition AIAgentData.h:81
const Aws::String & GetName() const
AIAgentData & WithStatus(const Status &value)
const Aws::String & GetAiAgentId() const
Definition AIAgentData.h:65
AIAgentData & WithAiAgentId(const char *value)
Definition AIAgentData.h:72
AIAgentData & WithType(const AIAgentType &value)
void SetName(const char *value)
AIAgentData & WithModifiedTime(const Aws::Utils::DateTime &value)
AIAgentData & AddTags(const Aws::String &key, const Aws::String &value)
void SetAiAgentArn(const Aws::String &value)
Definition AIAgentData.h:53
void SetVisibilityStatus(const VisibilityStatus &value)
AIAgentData & AddTags(Aws::String &&key, Aws::String &&value)
AIAgentData & AddTags(Aws::String &&key, const Aws::String &value)
void SetAiAgentArn(const char *value)
Definition AIAgentData.h:55
AIAgentData & WithConfiguration(const AIAgentConfiguration &value)
AIAgentData & WithAiAgentId(Aws::String &&value)
Definition AIAgentData.h:71
AIAgentData & WithAiAgentArn(const Aws::String &value)
Definition AIAgentData.h:56
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetModifiedTime(const Aws::Utils::DateTime &value)
AIAgentData & WithVisibilityStatus(const VisibilityStatus &value)
AIAgentData & AddTags(Aws::String &&key, const char *value)
AIAgentData & WithOrigin(Origin &&value)
AIAgentData & AddTags(const char *key, Aws::String &&value)
AIAgentData & WithAssistantId(const char *value)
AIAgentData & WithName(const char *value)
AIAgentData & WithType(AIAgentType &&value)
AWS_QCONNECT_API AIAgentData & operator=(Aws::Utils::Json::JsonView jsonValue)
AIAgentData & WithDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetAiAgentArn(Aws::String &&value)
Definition AIAgentData.h:54
const VisibilityStatus & GetVisibilityStatus() const
AIAgentData & WithAssistantArn(const char *value)
Definition AIAgentData.h:86
AIAgentData & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetAssistantArn() const
Definition AIAgentData.h:79
AIAgentData & WithModifiedTime(Aws::Utils::DateTime &&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