66#pragma once
77#include < aws/qconnect/QConnect_EXPORTS.h>
88#include < aws/core/utils/memory/stl/AWSString.h>
9+ #include < aws/qconnect/model/AIAgentType.h>
910#include < aws/qconnect/model/AIAgentConfiguration.h>
1011#include < aws/core/utils/DateTime.h>
12+ #include < aws/qconnect/model/VisibilityStatus.h>
13+ #include < aws/core/utils/memory/stl/AWSMap.h>
1114#include < aws/qconnect/model/Origin.h>
1215#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>
1616#include < utility>
1717
1818namespace Aws
@@ -46,14 +46,27 @@ namespace Model
4646
4747 // /@{
4848 /* *
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>
5051 */
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 ;}
5770 // /@}
5871
5972 // /@{
@@ -70,27 +83,36 @@ namespace Model
7083
7184 // /@{
7285 /* *
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>
7487 */
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 ;}
8194 // /@}
8295
8396 // /@{
8497 /* *
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>
8799 */
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 ;}
94116 // /@}
95117
96118 // /@{
@@ -105,18 +127,6 @@ namespace Model
105127 AIAgentData& WithConfiguration (ConfigurationT&& value) { SetConfiguration (std::forward<ConfigurationT>(value)); return *this ;}
106128 // /@}
107129
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-
120130 // /@{
121131 /* *
122132 * <p>The time the AI Agent was last modified.</p>
@@ -131,36 +141,24 @@ namespace Model
131141
132142 // /@{
133143 /* *
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>
149145 */
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 ;}
154152 // /@}
155153
156154 // /@{
157155 /* *
158- * <p>The status of the AI Agent.</p>
156+ * <p>The visibility status of the AI Agent.</p>
159157 */
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 ;}
164162 // /@}
165163
166164 // /@{
@@ -181,63 +179,65 @@ namespace Model
181179
182180 // /@{
183181 /* *
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>
185185 */
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 ;}
190190 // /@}
191191
192192 // /@{
193193 /* *
194- * <p>The visibility status of the AI Agent.</p>
194+ * <p>The status of the AI Agent.</p>
195195 */
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 ;}
200200 // /@}
201201 private:
202202
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 ;
205208
206209 Aws::String m_aiAgentId;
207210 bool m_aiAgentIdHasBeenSet = false ;
208211
209- Aws::String m_assistantArn ;
210- bool m_assistantArnHasBeenSet = false ;
212+ Aws::String m_aiAgentArn ;
213+ bool m_aiAgentArnHasBeenSet = false ;
211214
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 ;
214220
215221 AIAgentConfiguration m_configuration;
216222 bool m_configurationHasBeenSet = false ;
217223
224+ Aws::Utils::DateTime m_modifiedTime{};
225+ bool m_modifiedTimeHasBeenSet = false ;
226+
218227 Aws::String m_description;
219228 bool m_descriptionHasBeenSet = false ;
220229
221- Aws::Utils::DateTime m_modifiedTime{ };
222- bool m_modifiedTimeHasBeenSet = false ;
230+ VisibilityStatus m_visibilityStatus{VisibilityStatus::NOT_SET };
231+ bool m_visibilityStatusHasBeenSet = false ;
223232
224- Aws::String m_name ;
225- bool m_nameHasBeenSet = false ;
233+ Aws::Map<Aws:: String, Aws::String> m_tags ;
234+ bool m_tagsHasBeenSet = false ;
226235
227236 Origin m_origin{Origin::NOT_SET};
228237 bool m_originHasBeenSet = false ;
229238
230239 Status m_status{Status::NOT_SET};
231240 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 ;
241241 };
242242
243243} // namespace Model
0 commit comments