7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lex-models/model/ChannelType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/lex-models/model/ChannelStatus.h>
25namespace LexModelBuildingService
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
76 template<
typename BotAliasT = Aws::String>
77 void SetBotAlias(BotAliasT&& value) { m_botAliasHasBeenSet =
true; m_botAlias = std::forward<BotAliasT>(value); }
78 template<
typename BotAliasT = Aws::String>
90 template<
typename BotNameT = Aws::String>
91 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet =
true; m_botName = std::forward<BotNameT>(value); }
92 template<
typename BotNameT = Aws::String>
103 template<
typename CreatedDateT = Aws::Utils::DateTime>
104 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
105 template<
typename CreatedDateT = Aws::Utils::DateTime>
127 template<
typename BotConfigurationT = Aws::Map<Aws::String, Aws::String>>
128 void SetBotConfiguration(BotConfigurationT&& value) { m_botConfigurationHasBeenSet =
true; m_botConfiguration = std::forward<BotConfigurationT>(value); }
129 template<
typename BotConfigurationT = Aws::Map<Aws::String, Aws::String>>
131 template<
typename BotConfigurationKeyT = Aws::String,
typename BotConfigurationValueT = Aws::String>
133 m_botConfigurationHasBeenSet =
true; m_botConfiguration.emplace(std::forward<BotConfigurationKeyT>(key), std::forward<BotConfigurationValueT>(value));
return *
this;
159 template<
typename FailureReasonT = Aws::String>
160 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
161 template<
typename FailureReasonT = Aws::String>
167 bool m_nameHasBeenSet =
false;
170 bool m_descriptionHasBeenSet =
false;
173 bool m_botAliasHasBeenSet =
false;
176 bool m_botNameHasBeenSet =
false;
179 bool m_createdDateHasBeenSet =
false;
182 bool m_typeHasBeenSet =
false;
185 bool m_botConfigurationHasBeenSet =
false;
188 bool m_statusHasBeenSet =
false;
191 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