7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
11#include <aws/lex-models/model/ChannelStatus.h>
12#include <aws/lex-models/model/ChannelType.h>
23namespace LexModelBuildingService {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
82 template <
typename BotAliasT = Aws::String>
84 m_botAliasHasBeenSet =
true;
85 m_botAlias = std::forward<BotAliasT>(value);
87 template <
typename BotAliasT = Aws::String>
102 template <
typename BotNameT = Aws::String>
104 m_botNameHasBeenSet =
true;
105 m_botName = std::forward<BotNameT>(value);
107 template <
typename BotNameT = Aws::String>
121 template <
typename CreatedDateT = Aws::Utils::DateTime>
123 m_createdDateHasBeenSet =
true;
124 m_createdDate = std::forward<CreatedDateT>(value);
126 template <
typename CreatedDateT = Aws::Utils::DateTime>
141 m_typeHasBeenSet =
true;
157 template <
typename BotConfigurationT = Aws::Map<Aws::String, Aws::String>>
159 m_botConfigurationHasBeenSet =
true;
160 m_botConfiguration = std::forward<BotConfigurationT>(value);
162 template <
typename BotConfigurationT = Aws::Map<Aws::String, Aws::String>>
167 template <
typename BotConfigurationKeyT = Aws::String,
typename BotConfigurationValueT = Aws::String>
169 m_botConfigurationHasBeenSet =
true;
170 m_botConfiguration.emplace(std::forward<BotConfigurationKeyT>(key), std::forward<BotConfigurationValueT>(value));
187 m_statusHasBeenSet =
true;
203 template <
typename FailureReasonT = Aws::String>
205 m_failureReasonHasBeenSet =
true;
206 m_failureReason = std::forward<FailureReasonT>(value);
208 template <
typename FailureReasonT = Aws::String>
232 bool m_nameHasBeenSet =
false;
233 bool m_descriptionHasBeenSet =
false;
234 bool m_botAliasHasBeenSet =
false;
235 bool m_botNameHasBeenSet =
false;
236 bool m_createdDateHasBeenSet =
false;
237 bool m_typeHasBeenSet =
false;
238 bool m_botConfigurationHasBeenSet =
false;
239 bool m_statusHasBeenSet =
false;
240 bool m_failureReasonHasBeenSet =
false;
bool TypeHasBeenSet() const
bool BotConfigurationHasBeenSet() const
AWS_LEXMODELBUILDINGSERVICE_API BotChannelAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
BotChannelAssociation & WithBotConfiguration(BotConfigurationT &&value)
void SetDescription(DescriptionT &&value)
bool FailureReasonHasBeenSet() const
AWS_LEXMODELBUILDINGSERVICE_API BotChannelAssociation()=default
bool DescriptionHasBeenSet() const
BotChannelAssociation & WithBotAlias(BotAliasT &&value)
void SetCreatedDate(CreatedDateT &&value)
bool CreatedDateHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetBotAlias() const
BotChannelAssociation & WithStatus(ChannelStatus value)
bool BotAliasHasBeenSet() const
ChannelStatus GetStatus() const
AWS_LEXMODELBUILDINGSERVICE_API BotChannelAssociation(Aws::Utils::Json::JsonView jsonValue)
BotChannelAssociation & WithFailureReason(FailureReasonT &&value)
void SetStatus(ChannelStatus value)
BotChannelAssociation & WithBotName(BotNameT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
BotChannelAssociation & WithCreatedDate(CreatedDateT &&value)
const Aws::String & GetName() const
void SetBotName(BotNameT &&value)
BotChannelAssociation & WithDescription(DescriptionT &&value)
void SetBotConfiguration(BotConfigurationT &&value)
BotChannelAssociation & WithName(NameT &&value)
const Aws::String & GetFailureReason() const
bool BotNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetBotConfiguration() const
void SetBotAlias(BotAliasT &&value)
BotChannelAssociation & AddBotConfiguration(BotConfigurationKeyT &&key, BotConfigurationValueT &&value)
void SetName(NameT &&value)
BotChannelAssociation & WithType(ChannelType value)
const Aws::String & GetDescription() const
void SetType(ChannelType value)
const Aws::String & GetBotName() const
void SetFailureReason(FailureReasonT &&value)
bool NameHasBeenSet() const
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelType GetType() 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