7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/AgentLifecycle.h>
12#include <aws/quicksight/model/AgentStatus.h>
13#include <aws/quicksight/model/CustomPromptInterface.h>
35 AWS_QUICKSIGHT_API
Agent() =
default;
46 template <
typename SpacesT = Aws::Vector<Aws::String>>
48 m_spacesHasBeenSet =
true;
49 m_spaces = std::forward<SpacesT>(value);
51 template <
typename SpacesT = Aws::Vector<Aws::String>>
56 template <
typename SpacesT = Aws::String>
58 m_spacesHasBeenSet =
true;
59 m_spaces.emplace_back(std::forward<SpacesT>(value));
71 template <
typename ActionConnectorsT = Aws::Vector<Aws::String>>
73 m_actionConnectorsHasBeenSet =
true;
74 m_actionConnectors = std::forward<ActionConnectorsT>(value);
76 template <
typename ActionConnectorsT = Aws::Vector<Aws::String>>
81 template <
typename ActionConnectorsT = Aws::String>
83 m_actionConnectorsHasBeenSet =
true;
84 m_actionConnectors.emplace_back(std::forward<ActionConnectorsT>(value));
95 template <
typename DescriptionT = Aws::String>
97 m_descriptionHasBeenSet =
true;
98 m_description = std::forward<DescriptionT>(value);
100 template <
typename DescriptionT = Aws::String>
113 template <
typename IconIdT = Aws::String>
115 m_iconIdHasBeenSet =
true;
116 m_iconId = std::forward<IconIdT>(value);
118 template <
typename IconIdT = Aws::String>
131 template <
typename NameT = Aws::String>
133 m_nameHasBeenSet =
true;
134 m_name = std::forward<NameT>(value);
136 template <
typename NameT = Aws::String>
138 SetName(std::forward<NameT>(value));
150 template <
typename StarterPromptsT = Aws::Vector<Aws::String>>
152 m_starterPromptsHasBeenSet =
true;
153 m_starterPrompts = std::forward<StarterPromptsT>(value);
155 template <
typename StarterPromptsT = Aws::Vector<Aws::String>>
160 template <
typename StarterPromptsT = Aws::String>
162 m_starterPromptsHasBeenSet =
true;
163 m_starterPrompts.emplace_back(std::forward<StarterPromptsT>(value));
175 template <
typename WelcomeMessageT = Aws::String>
177 m_welcomeMessageHasBeenSet =
true;
178 m_welcomeMessage = std::forward<WelcomeMessageT>(value);
180 template <
typename WelcomeMessageT = Aws::String>
193 template <
typename ArnT = Aws::String>
195 m_arnHasBeenSet =
true;
196 m_arn = std::forward<ArnT>(value);
198 template <
typename ArnT = Aws::String>
200 SetArn(std::forward<ArnT>(value));
211 template <
typename AgentIdT = Aws::String>
213 m_agentIdHasBeenSet =
true;
214 m_agentId = std::forward<AgentIdT>(value);
216 template <
typename AgentIdT = Aws::String>
231 m_agentLifecycleHasBeenSet =
true;
232 m_agentLifecycle = value;
247 m_agentStatusHasBeenSet =
true;
248 m_agentStatus = value;
262 template <
typename CreatedAtT = Aws::Utils::DateTime>
264 m_createdAtHasBeenSet =
true;
265 m_createdAt = std::forward<CreatedAtT>(value);
267 template <
typename CreatedAtT = Aws::Utils::DateTime>
280 template <
typename CreatorT = Aws::String>
282 m_creatorHasBeenSet =
true;
283 m_creator = std::forward<CreatorT>(value);
285 template <
typename CreatorT = Aws::String>
298 template <
typename CustomPromptInterfaceT = CustomPromptInterface>
300 m_customPromptInterfaceHasBeenSet =
true;
301 m_customPromptInterface = std::forward<CustomPromptInterfaceT>(value);
303 template <
typename CustomPromptInterfaceT = CustomPromptInterface>
316 template <
typename ErrorMessageT = Aws::String>
318 m_errorMessageHasBeenSet =
true;
319 m_errorMessage = std::forward<ErrorMessageT>(value);
321 template <
typename ErrorMessageT = Aws::String>
334 template <
typename UpdatedAtT = Aws::Utils::DateTime>
336 m_updatedAtHasBeenSet =
true;
337 m_updatedAt = std::forward<UpdatedAtT>(value);
339 template <
typename UpdatedAtT = Aws::Utils::DateTime>
372 CustomPromptInterface m_customPromptInterface;
377 bool m_spacesHasBeenSet =
false;
378 bool m_actionConnectorsHasBeenSet =
false;
379 bool m_descriptionHasBeenSet =
false;
380 bool m_iconIdHasBeenSet =
false;
381 bool m_nameHasBeenSet =
false;
382 bool m_starterPromptsHasBeenSet =
false;
383 bool m_welcomeMessageHasBeenSet =
false;
384 bool m_arnHasBeenSet =
false;
385 bool m_agentIdHasBeenSet =
false;
386 bool m_agentLifecycleHasBeenSet =
false;
387 bool m_agentStatusHasBeenSet =
false;
388 bool m_createdAtHasBeenSet =
false;
389 bool m_creatorHasBeenSet =
false;
390 bool m_customPromptInterfaceHasBeenSet =
false;
391 bool m_errorMessageHasBeenSet =
false;
392 bool m_updatedAtHasBeenSet =
false;
Agent & WithAgentLifecycle(AgentLifecycle value)
Agent & AddStarterPrompts(StarterPromptsT &&value)
Agent & WithCustomPromptInterface(CustomPromptInterfaceT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool WelcomeMessageHasBeenSet() const
void SetCustomPromptInterface(CustomPromptInterfaceT &&value)
Agent & WithDescription(DescriptionT &&value)
bool SpacesHasBeenSet() const
void SetAgentStatus(AgentStatus value)
void SetIconId(IconIdT &&value)
const Aws::Vector< Aws::String > & GetActionConnectors() const
Agent & WithActionConnectors(ActionConnectorsT &&value)
bool ArnHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool AgentStatusHasBeenSet() const
void SetStarterPrompts(StarterPromptsT &&value)
const Aws::String & GetWelcomeMessage() const
bool DescriptionHasBeenSet() const
Agent & WithCreator(CreatorT &&value)
Agent & WithUpdatedAt(UpdatedAtT &&value)
void SetArn(ArnT &&value)
Agent & AddSpaces(SpacesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const CustomPromptInterface & GetCustomPromptInterface() const
const Aws::String & GetAgentId() const
Agent & WithAgentStatus(AgentStatus value)
void SetAgentId(AgentIdT &&value)
void SetWelcomeMessage(WelcomeMessageT &&value)
bool ErrorMessageHasBeenSet() const
Agent & AddActionConnectors(ActionConnectorsT &&value)
void SetName(NameT &&value)
bool CreatedAtHasBeenSet() const
bool AgentLifecycleHasBeenSet() const
bool CreatorHasBeenSet() const
bool NameHasBeenSet() const
AgentStatus GetAgentStatus() const
Agent & WithName(NameT &&value)
Agent & WithSpaces(SpacesT &&value)
void SetCreator(CreatorT &&value)
bool StarterPromptsHasBeenSet() const
const Aws::String & GetDescription() const
Agent & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetDescription(DescriptionT &&value)
Agent & WithWelcomeMessage(WelcomeMessageT &&value)
const Aws::String & GetName() const
bool CustomPromptInterfaceHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAgentLifecycle(AgentLifecycle value)
void SetActionConnectors(ActionConnectorsT &&value)
bool AgentIdHasBeenSet() const
const Aws::String & GetArn() const
void SetSpaces(SpacesT &&value)
AWS_QUICKSIGHT_API Agent()=default
AWS_QUICKSIGHT_API Agent & operator=(Aws::Utils::Json::JsonView jsonValue)
Agent & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetIconId() const
Agent & WithIconId(IconIdT &&value)
Agent & WithStarterPrompts(StarterPromptsT &&value)
const Aws::String & GetErrorMessage() const
bool ActionConnectorsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSpaces() const
void SetErrorMessage(ErrorMessageT &&value)
AWS_QUICKSIGHT_API Agent(Aws::Utils::Json::JsonView jsonValue)
bool IconIdHasBeenSet() const
Agent & WithArn(ArnT &&value)
const Aws::String & GetCreator() const
AgentLifecycle GetAgentLifecycle() const
const Aws::Vector< Aws::String > & GetStarterPrompts() const
bool UpdatedAtHasBeenSet() const
Agent & WithAgentId(AgentIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue