6
6
#pragma once
7
7
#include < aws/qconnect/QConnect_EXPORTS.h>
8
8
#include < aws/core/utils/memory/stl/AWSString.h>
9
+ #include < aws/qconnect/model/AIAgentType.h>
9
10
#include < aws/qconnect/model/AIAgentConfiguration.h>
10
11
#include < aws/core/utils/DateTime.h>
12
+ #include < aws/qconnect/model/VisibilityStatus.h>
13
+ #include < aws/core/utils/memory/stl/AWSMap.h>
11
14
#include < aws/qconnect/model/Origin.h>
12
15
#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
16
#include < utility>
17
17
18
18
namespace Aws
@@ -46,14 +46,27 @@ namespace Model
46
46
47
47
// /@{
48
48
/* *
49
- * <p>The Amazon Resource Name (ARN) of the AI agent.</p>
49
+ * <p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or
50
+ * the ARN. URLs cannot contain the ARN.</p>
50
51
*/
51
- inline const Aws::String& GetAiAgentArn () const { return m_aiAgentArn; }
52
- inline bool AiAgentArnHasBeenSet () const { return m_aiAgentArnHasBeenSet; }
53
- template <typename AiAgentArnT = Aws::String>
54
- void SetAiAgentArn (AiAgentArnT&& value) { m_aiAgentArnHasBeenSet = true ; m_aiAgentArn = std::forward<AiAgentArnT>(value); }
55
- template <typename AiAgentArnT = Aws::String>
56
- AIAgentData& WithAiAgentArn (AiAgentArnT&& value) { SetAiAgentArn (std::forward<AiAgentArnT>(value)); return *this ;}
52
+ inline const Aws::String& GetAssistantId () const { return m_assistantId; }
53
+ inline bool AssistantIdHasBeenSet () const { return m_assistantIdHasBeenSet; }
54
+ template <typename AssistantIdT = Aws::String>
55
+ void SetAssistantId (AssistantIdT&& value) { m_assistantIdHasBeenSet = true ; m_assistantId = std::forward<AssistantIdT>(value); }
56
+ template <typename AssistantIdT = Aws::String>
57
+ AIAgentData& WithAssistantId (AssistantIdT&& value) { SetAssistantId (std::forward<AssistantIdT>(value)); return *this ;}
58
+ // /@}
59
+
60
+ // /@{
61
+ /* *
62
+ * <p>The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.</p>
63
+ */
64
+ inline const Aws::String& GetAssistantArn () const { return m_assistantArn; }
65
+ inline bool AssistantArnHasBeenSet () const { return m_assistantArnHasBeenSet; }
66
+ template <typename AssistantArnT = Aws::String>
67
+ void SetAssistantArn (AssistantArnT&& value) { m_assistantArnHasBeenSet = true ; m_assistantArn = std::forward<AssistantArnT>(value); }
68
+ template <typename AssistantArnT = Aws::String>
69
+ AIAgentData& WithAssistantArn (AssistantArnT&& value) { SetAssistantArn (std::forward<AssistantArnT>(value)); return *this ;}
57
70
// /@}
58
71
59
72
// /@{
@@ -70,27 +83,36 @@ namespace Model
70
83
71
84
// /@{
72
85
/* *
73
- * <p>The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant .</p>
86
+ * <p>The Amazon Resource Name (ARN) of the AI agent .</p>
74
87
*/
75
- inline const Aws::String& GetAssistantArn () const { return m_assistantArn ; }
76
- inline bool AssistantArnHasBeenSet () const { return m_assistantArnHasBeenSet ; }
77
- template <typename AssistantArnT = Aws::String>
78
- void SetAssistantArn (AssistantArnT && value) { m_assistantArnHasBeenSet = true ; m_assistantArn = std::forward<AssistantArnT >(value); }
79
- template <typename AssistantArnT = Aws::String>
80
- AIAgentData& WithAssistantArn (AssistantArnT && value) { SetAssistantArn (std::forward<AssistantArnT >(value)); return *this ;}
88
+ inline const Aws::String& GetAiAgentArn () const { return m_aiAgentArn ; }
89
+ inline bool AiAgentArnHasBeenSet () const { return m_aiAgentArnHasBeenSet ; }
90
+ template <typename AiAgentArnT = Aws::String>
91
+ void SetAiAgentArn (AiAgentArnT && value) { m_aiAgentArnHasBeenSet = true ; m_aiAgentArn = std::forward<AiAgentArnT >(value); }
92
+ template <typename AiAgentArnT = Aws::String>
93
+ AIAgentData& WithAiAgentArn (AiAgentArnT && value) { SetAiAgentArn (std::forward<AiAgentArnT >(value)); return *this ;}
81
94
// /@}
82
95
83
96
// /@{
84
97
/* *
85
- * <p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or
86
- * the ARN. URLs cannot contain the ARN.</p>
98
+ * <p>The name of the AI Agent.</p>
87
99
*/
88
- inline const Aws::String& GetAssistantId () const { return m_assistantId; }
89
- inline bool AssistantIdHasBeenSet () const { return m_assistantIdHasBeenSet; }
90
- template <typename AssistantIdT = Aws::String>
91
- void SetAssistantId (AssistantIdT&& value) { m_assistantIdHasBeenSet = true ; m_assistantId = std::forward<AssistantIdT>(value); }
92
- template <typename AssistantIdT = Aws::String>
93
- AIAgentData& WithAssistantId (AssistantIdT&& value) { SetAssistantId (std::forward<AssistantIdT>(value)); return *this ;}
100
+ inline const Aws::String& GetName () const { return m_name; }
101
+ inline bool NameHasBeenSet () const { return m_nameHasBeenSet; }
102
+ template <typename NameT = Aws::String>
103
+ void SetName (NameT&& value) { m_nameHasBeenSet = true ; m_name = std::forward<NameT>(value); }
104
+ template <typename NameT = Aws::String>
105
+ AIAgentData& WithName (NameT&& value) { SetName (std::forward<NameT>(value)); return *this ;}
106
+ // /@}
107
+
108
+ // /@{
109
+ /* *
110
+ * <p>The type of the AI Agent.</p>
111
+ */
112
+ inline AIAgentType GetType () const { return m_type; }
113
+ inline bool TypeHasBeenSet () const { return m_typeHasBeenSet; }
114
+ inline void SetType (AIAgentType value) { m_typeHasBeenSet = true ; m_type = value; }
115
+ inline AIAgentData& WithType (AIAgentType value) { SetType (value); return *this ;}
94
116
// /@}
95
117
96
118
// /@{
@@ -105,18 +127,6 @@ namespace Model
105
127
AIAgentData& WithConfiguration (ConfigurationT&& value) { SetConfiguration (std::forward<ConfigurationT>(value)); return *this ;}
106
128
// /@}
107
129
108
- // /@{
109
- /* *
110
- * <p>The description of the AI Agent.</p>
111
- */
112
- inline const Aws::String& GetDescription () const { return m_description; }
113
- inline bool DescriptionHasBeenSet () const { return m_descriptionHasBeenSet; }
114
- template <typename DescriptionT = Aws::String>
115
- void SetDescription (DescriptionT&& value) { m_descriptionHasBeenSet = true ; m_description = std::forward<DescriptionT>(value); }
116
- template <typename DescriptionT = Aws::String>
117
- AIAgentData& WithDescription (DescriptionT&& value) { SetDescription (std::forward<DescriptionT>(value)); return *this ;}
118
- // /@}
119
-
120
130
// /@{
121
131
/* *
122
132
* <p>The time the AI Agent was last modified.</p>
@@ -131,36 +141,24 @@ namespace Model
131
141
132
142
// /@{
133
143
/* *
134
- * <p>The name of the AI Agent.</p>
135
- */
136
- inline const Aws::String& GetName () const { return m_name; }
137
- inline bool NameHasBeenSet () const { return m_nameHasBeenSet; }
138
- template <typename NameT = Aws::String>
139
- void SetName (NameT&& value) { m_nameHasBeenSet = true ; m_name = std::forward<NameT>(value); }
140
- template <typename NameT = Aws::String>
141
- AIAgentData& WithName (NameT&& value) { SetName (std::forward<NameT>(value)); return *this ;}
142
- // /@}
143
-
144
- // /@{
145
- /* *
146
- * <p>Specifies the origin of the AI Agent. <code>SYSTEM</code> for a default AI
147
- * Agent created by Q in Connect or <code>CUSTOMER</code> for an AI Agent created
148
- * by calling AI Agent creation APIs. </p>
144
+ * <p>The description of the AI Agent.</p>
149
145
*/
150
- inline Origin GetOrigin () const { return m_origin; }
151
- inline bool OriginHasBeenSet () const { return m_originHasBeenSet; }
152
- inline void SetOrigin (Origin value) { m_originHasBeenSet = true ; m_origin = value; }
153
- inline AIAgentData& WithOrigin (Origin value) { SetOrigin (value); return *this ;}
146
+ inline const Aws::String& GetDescription () const { return m_description; }
147
+ inline bool DescriptionHasBeenSet () const { return m_descriptionHasBeenSet; }
148
+ template <typename DescriptionT = Aws::String>
149
+ void SetDescription (DescriptionT&& value) { m_descriptionHasBeenSet = true ; m_description = std::forward<DescriptionT>(value); }
150
+ template <typename DescriptionT = Aws::String>
151
+ AIAgentData& WithDescription (DescriptionT&& value) { SetDescription (std::forward<DescriptionT>(value)); return *this ;}
154
152
// /@}
155
153
156
154
// /@{
157
155
/* *
158
- * <p>The status of the AI Agent.</p>
156
+ * <p>The visibility status of the AI Agent.</p>
159
157
*/
160
- inline Status GetStatus () const { return m_status ; }
161
- inline bool StatusHasBeenSet () const { return m_statusHasBeenSet ; }
162
- inline void SetStatus (Status value) { m_statusHasBeenSet = true ; m_status = value; }
163
- inline AIAgentData& WithStatus (Status value) { SetStatus (value); return *this ;}
158
+ inline VisibilityStatus GetVisibilityStatus () const { return m_visibilityStatus ; }
159
+ inline bool VisibilityStatusHasBeenSet () const { return m_visibilityStatusHasBeenSet ; }
160
+ inline void SetVisibilityStatus (VisibilityStatus value) { m_visibilityStatusHasBeenSet = true ; m_visibilityStatus = value; }
161
+ inline AIAgentData& WithVisibilityStatus (VisibilityStatus value) { SetVisibilityStatus (value); return *this ;}
164
162
// /@}
165
163
166
164
// /@{
@@ -181,63 +179,65 @@ namespace Model
181
179
182
180
// /@{
183
181
/* *
184
- * <p>The type of the AI Agent.</p>
182
+ * <p>Specifies the origin of the AI Agent. <code>SYSTEM</code> for a default AI
183
+ * Agent created by Q in Connect or <code>CUSTOMER</code> for an AI Agent created
184
+ * by calling AI Agent creation APIs. </p>
185
185
*/
186
- inline AIAgentType GetType () const { return m_type ; }
187
- inline bool TypeHasBeenSet () const { return m_typeHasBeenSet ; }
188
- inline void SetType (AIAgentType value) { m_typeHasBeenSet = true ; m_type = value; }
189
- inline AIAgentData& WithType (AIAgentType value) { SetType (value); return *this ;}
186
+ inline Origin GetOrigin () const { return m_origin ; }
187
+ inline bool OriginHasBeenSet () const { return m_originHasBeenSet ; }
188
+ inline void SetOrigin (Origin value) { m_originHasBeenSet = true ; m_origin = value; }
189
+ inline AIAgentData& WithOrigin (Origin value) { SetOrigin (value); return *this ;}
190
190
// /@}
191
191
192
192
// /@{
193
193
/* *
194
- * <p>The visibility status of the AI Agent.</p>
194
+ * <p>The status of the AI Agent.</p>
195
195
*/
196
- inline VisibilityStatus GetVisibilityStatus () const { return m_visibilityStatus ; }
197
- inline bool VisibilityStatusHasBeenSet () const { return m_visibilityStatusHasBeenSet ; }
198
- inline void SetVisibilityStatus (VisibilityStatus value) { m_visibilityStatusHasBeenSet = true ; m_visibilityStatus = value; }
199
- inline AIAgentData& WithVisibilityStatus (VisibilityStatus value) { SetVisibilityStatus (value); return *this ;}
196
+ inline Status GetStatus () const { return m_status ; }
197
+ inline bool StatusHasBeenSet () const { return m_statusHasBeenSet ; }
198
+ inline void SetStatus (Status value) { m_statusHasBeenSet = true ; m_status = value; }
199
+ inline AIAgentData& WithStatus (Status value) { SetStatus (value); return *this ;}
200
200
// /@}
201
201
private:
202
202
203
- Aws::String m_aiAgentArn;
204
- bool m_aiAgentArnHasBeenSet = false ;
203
+ Aws::String m_assistantId;
204
+ bool m_assistantIdHasBeenSet = false ;
205
+
206
+ Aws::String m_assistantArn;
207
+ bool m_assistantArnHasBeenSet = false ;
205
208
206
209
Aws::String m_aiAgentId;
207
210
bool m_aiAgentIdHasBeenSet = false ;
208
211
209
- Aws::String m_assistantArn ;
210
- bool m_assistantArnHasBeenSet = false ;
212
+ Aws::String m_aiAgentArn ;
213
+ bool m_aiAgentArnHasBeenSet = false ;
211
214
212
- Aws::String m_assistantId;
213
- bool m_assistantIdHasBeenSet = false ;
215
+ Aws::String m_name;
216
+ bool m_nameHasBeenSet = false ;
217
+
218
+ AIAgentType m_type{AIAgentType::NOT_SET};
219
+ bool m_typeHasBeenSet = false ;
214
220
215
221
AIAgentConfiguration m_configuration;
216
222
bool m_configurationHasBeenSet = false ;
217
223
224
+ Aws::Utils::DateTime m_modifiedTime{};
225
+ bool m_modifiedTimeHasBeenSet = false ;
226
+
218
227
Aws::String m_description;
219
228
bool m_descriptionHasBeenSet = false ;
220
229
221
- Aws::Utils::DateTime m_modifiedTime{ };
222
- bool m_modifiedTimeHasBeenSet = false ;
230
+ VisibilityStatus m_visibilityStatus{VisibilityStatus::NOT_SET };
231
+ bool m_visibilityStatusHasBeenSet = false ;
223
232
224
- Aws::String m_name ;
225
- bool m_nameHasBeenSet = false ;
233
+ Aws::Map<Aws:: String, Aws::String> m_tags ;
234
+ bool m_tagsHasBeenSet = false ;
226
235
227
236
Origin m_origin{Origin::NOT_SET};
228
237
bool m_originHasBeenSet = false ;
229
238
230
239
Status m_status{Status::NOT_SET};
231
240
bool m_statusHasBeenSet = false ;
232
-
233
- Aws::Map<Aws::String, Aws::String> m_tags;
234
- bool m_tagsHasBeenSet = false ;
235
-
236
- AIAgentType m_type{AIAgentType::NOT_SET};
237
- bool m_typeHasBeenSet = false ;
238
-
239
- VisibilityStatus m_visibilityStatus{VisibilityStatus::NOT_SET};
240
- bool m_visibilityStatusHasBeenSet = false ;
241
241
};
242
242
243
243
} // namespace Model
0 commit comments