AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateAIAgentRequest.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/AIAgentType.h>
11#include <aws/qconnect/model/AIAgentConfiguration.h>
12#include <aws/qconnect/model/VisibilityStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace QConnect
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_QCONNECT_API CreateAIAgentRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateAIAgent"; }
36
37 AWS_QCONNECT_API Aws::String SerializePayload() const override;
38
39
41
48 inline const Aws::String& GetClientToken() const { return m_clientToken; }
49 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
50 template<typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<typename ClientTokenT = Aws::String>
53 CreateAIAgentRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
55
57
61 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
62 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
63 template<typename AssistantIdT = Aws::String>
64 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::forward<AssistantIdT>(value); }
65 template<typename AssistantIdT = Aws::String>
66 CreateAIAgentRequest& WithAssistantId(AssistantIdT&& value) { SetAssistantId(std::forward<AssistantIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 CreateAIAgentRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
85 inline AIAgentType GetType() const { return m_type; }
86 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 inline void SetType(AIAgentType value) { m_typeHasBeenSet = true; m_type = value; }
88 inline CreateAIAgentRequest& WithType(AIAgentType value) { SetType(value); return *this;}
90
92
95 inline const AIAgentConfiguration& GetConfiguration() const { return m_configuration; }
96 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
97 template<typename ConfigurationT = AIAgentConfiguration>
98 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
99 template<typename ConfigurationT = AIAgentConfiguration>
100 CreateAIAgentRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
102
104
107 inline VisibilityStatus GetVisibilityStatus() const { return m_visibilityStatus; }
108 inline bool VisibilityStatusHasBeenSet() const { return m_visibilityStatusHasBeenSet; }
109 inline void SetVisibilityStatus(VisibilityStatus value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = value; }
112
114
117 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
118 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
119 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
121 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 CreateAIAgentRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
123 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
124 CreateAIAgentRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
125 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
126 }
128
130
133 inline const Aws::String& GetDescription() const { return m_description; }
134 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 template<typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
137 template<typename DescriptionT = Aws::String>
138 CreateAIAgentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
140 private:
141
143 bool m_clientTokenHasBeenSet = true;
144
145 Aws::String m_assistantId;
146 bool m_assistantIdHasBeenSet = false;
147
148 Aws::String m_name;
149 bool m_nameHasBeenSet = false;
150
152 bool m_typeHasBeenSet = false;
153
154 AIAgentConfiguration m_configuration;
155 bool m_configurationHasBeenSet = false;
156
158 bool m_visibilityStatusHasBeenSet = false;
159
161 bool m_tagsHasBeenSet = false;
162
163 Aws::String m_description;
164 bool m_descriptionHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace QConnect
169} // namespace Aws
CreateAIAgentRequest & WithClientToken(ClientTokenT &&value)
CreateAIAgentRequest & WithTags(TagsT &&value)
CreateAIAgentRequest & WithName(NameT &&value)
CreateAIAgentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAIAgentRequest & WithAssistantId(AssistantIdT &&value)
AWS_QCONNECT_API CreateAIAgentRequest()=default
CreateAIAgentRequest & WithConfiguration(ConfigurationT &&value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const AIAgentConfiguration & GetConfiguration() const
CreateAIAgentRequest & WithType(AIAgentType value)
CreateAIAgentRequest & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAIAgentRequest & WithVisibilityStatus(VisibilityStatus value)
static Aws::Utils::UUID PseudoRandomUUID()
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