AWS SDK for C++  1.9.102
AWS SDK for C++
GetBotChannelAssociationResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace LexModelBuildingService
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetName() const{ return m_name; }
43 
47  inline void SetName(const Aws::String& value) { m_name = value; }
48 
52  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
53 
57  inline void SetName(const char* value) { m_name.assign(value); }
58 
62  inline GetBotChannelAssociationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 
67  inline GetBotChannelAssociationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 
72  inline GetBotChannelAssociationResult& WithName(const char* value) { SetName(value); return *this;}
73 
74 
78  inline const Aws::String& GetDescription() const{ return m_description; }
79 
83  inline void SetDescription(const Aws::String& value) { m_description = value; }
84 
88  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
89 
93  inline void SetDescription(const char* value) { m_description.assign(value); }
94 
98  inline GetBotChannelAssociationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
99 
103  inline GetBotChannelAssociationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
104 
108  inline GetBotChannelAssociationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
109 
110 
115  inline const Aws::String& GetBotAlias() const{ return m_botAlias; }
116 
121  inline void SetBotAlias(const Aws::String& value) { m_botAlias = value; }
122 
127  inline void SetBotAlias(Aws::String&& value) { m_botAlias = std::move(value); }
128 
133  inline void SetBotAlias(const char* value) { m_botAlias.assign(value); }
134 
139  inline GetBotChannelAssociationResult& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;}
140 
145  inline GetBotChannelAssociationResult& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;}
146 
151  inline GetBotChannelAssociationResult& WithBotAlias(const char* value) { SetBotAlias(value); return *this;}
152 
153 
157  inline const Aws::String& GetBotName() const{ return m_botName; }
158 
162  inline void SetBotName(const Aws::String& value) { m_botName = value; }
163 
167  inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
168 
172  inline void SetBotName(const char* value) { m_botName.assign(value); }
173 
177  inline GetBotChannelAssociationResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
178 
182  inline GetBotChannelAssociationResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
183 
187  inline GetBotChannelAssociationResult& WithBotName(const char* value) { SetBotName(value); return *this;}
188 
189 
194  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
195 
200  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
201 
206  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
207 
212  inline GetBotChannelAssociationResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
213 
218  inline GetBotChannelAssociationResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
219 
220 
224  inline const ChannelType& GetType() const{ return m_type; }
225 
229  inline void SetType(const ChannelType& value) { m_type = value; }
230 
234  inline void SetType(ChannelType&& value) { m_type = std::move(value); }
235 
239  inline GetBotChannelAssociationResult& WithType(const ChannelType& value) { SetType(value); return *this;}
240 
244  inline GetBotChannelAssociationResult& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;}
245 
246 
251  inline const Aws::Map<Aws::String, Aws::String>& GetBotConfiguration() const{ return m_botConfiguration; }
252 
257  inline void SetBotConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_botConfiguration = value; }
258 
263  inline void SetBotConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_botConfiguration = std::move(value); }
264 
269  inline GetBotChannelAssociationResult& WithBotConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { SetBotConfiguration(value); return *this;}
270 
275  inline GetBotChannelAssociationResult& WithBotConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { SetBotConfiguration(std::move(value)); return *this;}
276 
281  inline GetBotChannelAssociationResult& AddBotConfiguration(const Aws::String& key, const Aws::String& value) { m_botConfiguration.emplace(key, value); return *this; }
282 
287  inline GetBotChannelAssociationResult& AddBotConfiguration(Aws::String&& key, const Aws::String& value) { m_botConfiguration.emplace(std::move(key), value); return *this; }
288 
293  inline GetBotChannelAssociationResult& AddBotConfiguration(const Aws::String& key, Aws::String&& value) { m_botConfiguration.emplace(key, std::move(value)); return *this; }
294 
299  inline GetBotChannelAssociationResult& AddBotConfiguration(Aws::String&& key, Aws::String&& value) { m_botConfiguration.emplace(std::move(key), std::move(value)); return *this; }
300 
305  inline GetBotChannelAssociationResult& AddBotConfiguration(const char* key, Aws::String&& value) { m_botConfiguration.emplace(key, std::move(value)); return *this; }
306 
311  inline GetBotChannelAssociationResult& AddBotConfiguration(Aws::String&& key, const char* value) { m_botConfiguration.emplace(std::move(key), value); return *this; }
312 
317  inline GetBotChannelAssociationResult& AddBotConfiguration(const char* key, const char* value) { m_botConfiguration.emplace(key, value); return *this; }
318 
319 
328  inline const ChannelStatus& GetStatus() const{ return m_status; }
329 
338  inline void SetStatus(const ChannelStatus& value) { m_status = value; }
339 
348  inline void SetStatus(ChannelStatus&& value) { m_status = std::move(value); }
349 
358  inline GetBotChannelAssociationResult& WithStatus(const ChannelStatus& value) { SetStatus(value); return *this;}
359 
368  inline GetBotChannelAssociationResult& WithStatus(ChannelStatus&& value) { SetStatus(std::move(value)); return *this;}
369 
370 
375  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
376 
381  inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
382 
387  inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
388 
393  inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
394 
399  inline GetBotChannelAssociationResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
400 
405  inline GetBotChannelAssociationResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
406 
411  inline GetBotChannelAssociationResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
412 
413  private:
414 
415  Aws::String m_name;
416 
417  Aws::String m_description;
418 
419  Aws::String m_botAlias;
420 
421  Aws::String m_botName;
422 
423  Aws::Utils::DateTime m_createdDate;
424 
425  ChannelType m_type;
426 
427  Aws::Map<Aws::String, Aws::String> m_botConfiguration;
428 
429  ChannelStatus m_status;
430 
431  Aws::String m_failureReason;
432  };
433 
434 } // namespace Model
435 } // namespace LexModelBuildingService
436 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetBotChannelAssociationResult
GetBotChannelAssociationResult()
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithBotName
GetBotChannelAssociationResult & WithBotName(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:177
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetStatus
const ChannelStatus & GetStatus() const
Definition: GetBotChannelAssociationResult.h:328
Aws::LexModelBuildingService::Model::ChannelStatus
ChannelStatus
Definition: ChannelStatus.h:17
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetType
const ChannelType & GetType() const
Definition: GetBotChannelAssociationResult.h:224
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::AddBotConfiguration
GetBotChannelAssociationResult & AddBotConfiguration(const Aws::String &key, Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:293
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::AddBotConfiguration
GetBotChannelAssociationResult & AddBotConfiguration(Aws::String &&key, const char *value)
Definition: GetBotChannelAssociationResult.h:311
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetName
const Aws::String & GetName() const
Definition: GetBotChannelAssociationResult.h:42
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:387
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithBotAlias
GetBotChannelAssociationResult & WithBotAlias(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:139
ChannelStatus.h
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetBotConfiguration
void SetBotConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetBotChannelAssociationResult.h:263
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetBotName
void SetBotName(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:167
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetName
void SetName(const char *value)
Definition: GetBotChannelAssociationResult.h:57
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetType
void SetType(const ChannelType &value)
Definition: GetBotChannelAssociationResult.h:229
DateTime.h
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetDescription
void SetDescription(const char *value)
Definition: GetBotChannelAssociationResult.h:93
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithFailureReason
GetBotChannelAssociationResult & WithFailureReason(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:399
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetBotChannelAssociationResult
GetBotChannelAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::AddBotConfiguration
GetBotChannelAssociationResult & AddBotConfiguration(const Aws::String &key, const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:281
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetStatus
void SetStatus(const ChannelStatus &value)
Definition: GetBotChannelAssociationResult.h:338
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithStatus
GetBotChannelAssociationResult & WithStatus(const ChannelStatus &value)
Definition: GetBotChannelAssociationResult.h:358
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:381
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetBotChannelAssociationResult.h:78
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: GetBotChannelAssociationResult.h:375
ChannelType.h
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::AddBotConfiguration
GetBotChannelAssociationResult & AddBotConfiguration(Aws::String &&key, Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:299
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithFailureReason
GetBotChannelAssociationResult & WithFailureReason(const char *value)
Definition: GetBotChannelAssociationResult.h:411
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetBotName
const Aws::String & GetBotName() const
Definition: GetBotChannelAssociationResult.h:157
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetBotConfiguration
void SetBotConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetBotChannelAssociationResult.h:257
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithDescription
GetBotChannelAssociationResult & WithDescription(const char *value)
Definition: GetBotChannelAssociationResult.h:108
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithType
GetBotChannelAssociationResult & WithType(const ChannelType &value)
Definition: GetBotChannelAssociationResult.h:239
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithCreatedDate
GetBotChannelAssociationResult & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: GetBotChannelAssociationResult.h:218
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithBotName
GetBotChannelAssociationResult & WithBotName(const char *value)
Definition: GetBotChannelAssociationResult.h:187
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetBotName
void SetBotName(const char *value)
Definition: GetBotChannelAssociationResult.h:172
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithName
GetBotChannelAssociationResult & WithName(const char *value)
Definition: GetBotChannelAssociationResult.h:72
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:88
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithCreatedDate
GetBotChannelAssociationResult & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: GetBotChannelAssociationResult.h:212
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithBotAlias
GetBotChannelAssociationResult & WithBotAlias(const char *value)
Definition: GetBotChannelAssociationResult.h:151
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::AddBotConfiguration
GetBotChannelAssociationResult & AddBotConfiguration(const char *key, Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:305
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithName
GetBotChannelAssociationResult & WithName(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:62
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetBotAlias
void SetBotAlias(const char *value)
Definition: GetBotChannelAssociationResult.h:133
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetBotAlias
void SetBotAlias(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:121
AWSString.h
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetStatus
void SetStatus(ChannelStatus &&value)
Definition: GetBotChannelAssociationResult.h:348
Aws::LexModelBuildingService::Model::ChannelType
ChannelType
Definition: ChannelType.h:17
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::operator=
GetBotChannelAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: GetBotChannelAssociationResult.h:200
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithBotName
GetBotChannelAssociationResult & WithBotName(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:182
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithBotConfiguration
GetBotChannelAssociationResult & WithBotConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetBotChannelAssociationResult.h:269
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: GetBotChannelAssociationResult.h:206
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithStatus
GetBotChannelAssociationResult & WithStatus(ChannelStatus &&value)
Definition: GetBotChannelAssociationResult.h:368
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetBotName
void SetBotName(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:162
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithDescription
GetBotChannelAssociationResult & WithDescription(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:98
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:83
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithFailureReason
GetBotChannelAssociationResult & WithFailureReason(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:405
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithBotAlias
GetBotChannelAssociationResult & WithBotAlias(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:145
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetName
void SetName(const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:47
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetName
void SetName(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:52
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithBotConfiguration
GetBotChannelAssociationResult & WithBotConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetBotChannelAssociationResult.h:275
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetBotConfiguration
const Aws::Map< Aws::String, Aws::String > & GetBotConfiguration() const
Definition: GetBotChannelAssociationResult.h:251
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetFailureReason
void SetFailureReason(const char *value)
Definition: GetBotChannelAssociationResult.h:393
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetBotAlias
const Aws::String & GetBotAlias() const
Definition: GetBotChannelAssociationResult.h:115
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetBotAlias
void SetBotAlias(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:127
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithType
GetBotChannelAssociationResult & WithType(ChannelType &&value)
Definition: GetBotChannelAssociationResult.h:244
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: GetBotChannelAssociationResult.h:194
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::SetType
void SetType(ChannelType &&value)
Definition: GetBotChannelAssociationResult.h:234
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult
Definition: GetBotChannelAssociationResult.h:32
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::AddBotConfiguration
GetBotChannelAssociationResult & AddBotConfiguration(const char *key, const char *value)
Definition: GetBotChannelAssociationResult.h:317
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::AddBotConfiguration
GetBotChannelAssociationResult & AddBotConfiguration(Aws::String &&key, const Aws::String &value)
Definition: GetBotChannelAssociationResult.h:287
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithDescription
GetBotChannelAssociationResult & WithDescription(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:103
Aws::LexModelBuildingService::Model::GetBotChannelAssociationResult::WithName
GetBotChannelAssociationResult & WithName(Aws::String &&value)
Definition: GetBotChannelAssociationResult.h:67
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19