AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssistantData.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/model/AssistantIntegrationConfiguration.h>
10#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
11#include <aws/wisdom/model/AssistantStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/wisdom/model/AssistantType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ConnectWisdomService
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_CONNECTWISDOMSERVICE_API AssistantData();
40 AWS_CONNECTWISDOMSERVICE_API AssistantData(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECTWISDOMSERVICE_API AssistantData& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
50 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
51 inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; }
52 inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); }
53 inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); }
54 inline AssistantData& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
55 inline AssistantData& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
56 inline AssistantData& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
58
60
63 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
64 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
65 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
66 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
67 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
68 inline AssistantData& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
69 inline AssistantData& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
70 inline AssistantData& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline AssistantData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline AssistantData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline AssistantData& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const AssistantIntegrationConfiguration& GetIntegrationConfiguration() const{ return m_integrationConfiguration; }
92 inline bool IntegrationConfigurationHasBeenSet() const { return m_integrationConfigurationHasBeenSet; }
93 inline void SetIntegrationConfiguration(const AssistantIntegrationConfiguration& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = value; }
94 inline void SetIntegrationConfiguration(AssistantIntegrationConfiguration&& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = std::move(value); }
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 inline AssistantData& WithName(const Aws::String& value) { SetName(value); return *this;}
109 inline AssistantData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 inline AssistantData& WithName(const char* value) { SetName(value); return *this;}
112
114
127 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
128 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
129 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
130 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
134
136
139 inline const AssistantStatus& GetStatus() const{ return m_status; }
140 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
141 inline void SetStatus(const AssistantStatus& value) { m_statusHasBeenSet = true; m_status = value; }
142 inline void SetStatus(AssistantStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
143 inline AssistantData& WithStatus(const AssistantStatus& value) { SetStatus(value); return *this;}
144 inline AssistantData& WithStatus(AssistantStatus&& value) { SetStatus(std::move(value)); return *this;}
146
148
151 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
152 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
153 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
154 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
155 inline AssistantData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
156 inline AssistantData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
157 inline AssistantData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
158 inline AssistantData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
159 inline AssistantData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
160 inline AssistantData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
161 inline AssistantData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
162 inline AssistantData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
163 inline AssistantData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
165
167
170 inline const AssistantType& GetType() const{ return m_type; }
171 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
172 inline void SetType(const AssistantType& value) { m_typeHasBeenSet = true; m_type = value; }
173 inline void SetType(AssistantType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
174 inline AssistantData& WithType(const AssistantType& value) { SetType(value); return *this;}
175 inline AssistantData& WithType(AssistantType&& value) { SetType(std::move(value)); return *this;}
177 private:
178
179 Aws::String m_assistantArn;
180 bool m_assistantArnHasBeenSet = false;
181
182 Aws::String m_assistantId;
183 bool m_assistantIdHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187
188 AssistantIntegrationConfiguration m_integrationConfiguration;
189 bool m_integrationConfigurationHasBeenSet = false;
190
191 Aws::String m_name;
192 bool m_nameHasBeenSet = false;
193
194 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
195 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
196
197 AssistantStatus m_status;
198 bool m_statusHasBeenSet = false;
199
201 bool m_tagsHasBeenSet = false;
202
203 AssistantType m_type;
204 bool m_typeHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace ConnectWisdomService
209} // namespace Aws
void SetIntegrationConfiguration(const AssistantIntegrationConfiguration &value)
AWS_CONNECTWISDOMSERVICE_API AssistantData & operator=(Aws::Utils::Json::JsonView jsonValue)
AssistantData & WithIntegrationConfiguration(AssistantIntegrationConfiguration &&value)
AssistantData & WithAssistantId(const char *value)
AssistantData & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
AssistantData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AssistantData & WithDescription(const Aws::String &value)
AssistantData & WithAssistantArn(const char *value)
AssistantData & AddTags(const char *key, const char *value)
const AssistantIntegrationConfiguration & GetIntegrationConfiguration() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AssistantData & AddTags(Aws::String &&key, Aws::String &&value)
AssistantData & WithAssistantId(Aws::String &&value)
void SetType(const AssistantType &value)
AssistantData & WithType(const AssistantType &value)
AssistantData & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
AssistantData & WithDescription(Aws::String &&value)
AssistantData & AddTags(Aws::String &&key, const char *value)
AssistantData & WithAssistantArn(Aws::String &&value)
void SetAssistantArn(const Aws::String &value)
AssistantData & WithStatus(AssistantStatus &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CONNECTWISDOMSERVICE_API AssistantData()
AssistantData & AddTags(const char *key, Aws::String &&value)
const AssistantStatus & GetStatus() const
AssistantData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AssistantData & WithDescription(const char *value)
AssistantData & AddTags(const Aws::String &key, const Aws::String &value)
AssistantData & AddTags(Aws::String &&key, const Aws::String &value)
void SetIntegrationConfiguration(AssistantIntegrationConfiguration &&value)
AWS_CONNECTWISDOMSERVICE_API AssistantData(Aws::Utils::Json::JsonView jsonValue)
AssistantData & WithName(const char *value)
AssistantData & WithAssistantArn(const Aws::String &value)
AssistantData & WithName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AssistantData & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const Aws::String &value)
AssistantData & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
AssistantData & WithIntegrationConfiguration(const AssistantIntegrationConfiguration &value)
AssistantData & WithStatus(const AssistantStatus &value)
AssistantData & WithType(AssistantType &&value)
void SetStatus(const AssistantStatus &value)
void SetAssistantId(const Aws::String &value)
AssistantData & WithAssistantId(const Aws::String &value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
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