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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace LexModelBuildingService
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
55 template<
typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
57 template<
typename DescriptionT = Aws::String>
67 template<
typename BotAliasT = Aws::String>
68 void SetBotAlias(BotAliasT&& value) { m_botAliasHasBeenSet =
true; m_botAlias = std::forward<BotAliasT>(value); }
69 template<
typename BotAliasT = Aws::String>
78 template<
typename BotNameT = Aws::String>
79 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet =
true; m_botName = std::forward<BotNameT>(value); }
80 template<
typename BotNameT = Aws::String>
90 template<
typename CreatedDateT = Aws::Utils::DateTime>
91 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
92 template<
typename CreatedDateT = Aws::Utils::DateTime>
111 template<
typename BotConfigurationT = Aws::Map<Aws::String, Aws::String>>
112 void SetBotConfiguration(BotConfigurationT&& value) { m_botConfigurationHasBeenSet =
true; m_botConfiguration = std::forward<BotConfigurationT>(value); }
113 template<
typename BotConfigurationT = Aws::Map<Aws::String, Aws::String>>
115 template<
typename BotConfigurationKeyT = Aws::String,
typename BotConfigurationValueT = Aws::String>
117 m_botConfigurationHasBeenSet =
true; m_botConfiguration.emplace(std::forward<BotConfigurationKeyT>(key), std::forward<BotConfigurationValueT>(value));
return *
this;
141 template<
typename FailureReasonT = Aws::String>
142 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
143 template<
typename FailureReasonT = Aws::String>
150 template<
typename RequestIdT = Aws::String>
151 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
152 template<
typename RequestIdT = Aws::String>
158 bool m_nameHasBeenSet =
false;
161 bool m_descriptionHasBeenSet =
false;
164 bool m_botAliasHasBeenSet =
false;
167 bool m_botNameHasBeenSet =
false;
170 bool m_createdDateHasBeenSet =
false;
173 bool m_typeHasBeenSet =
false;
176 bool m_botConfigurationHasBeenSet =
false;
179 bool m_statusHasBeenSet =
false;
182 bool m_failureReasonHasBeenSet =
false;
185 bool m_requestIdHasBeenSet =
false;
ChannelType GetType() const
const Aws::String & GetFailureReason() const
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
const Aws::String & GetBotName() const
void SetBotConfiguration(BotConfigurationT &&value)
GetBotChannelAssociationResult & WithStatus(ChannelStatus value)
GetBotChannelAssociationResult & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
GetBotChannelAssociationResult & AddBotConfiguration(BotConfigurationKeyT &&key, BotConfigurationValueT &&value)
GetBotChannelAssociationResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
void SetBotName(BotNameT &&value)
void SetStatus(ChannelStatus value)
void SetFailureReason(FailureReasonT &&value)
void SetRequestId(RequestIdT &&value)
void SetCreatedDate(CreatedDateT &&value)
void SetBotAlias(BotAliasT &&value)
void SetType(ChannelType value)
GetBotChannelAssociationResult & WithCreatedDate(CreatedDateT &&value)
GetBotChannelAssociationResult & WithBotAlias(BotAliasT &&value)
ChannelStatus GetStatus() const
GetBotChannelAssociationResult & WithBotName(BotNameT &&value)
GetBotChannelAssociationResult & WithType(ChannelType value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult()=default
const Aws::Utils::DateTime & GetCreatedDate() const
GetBotChannelAssociationResult & WithFailureReason(FailureReasonT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(NameT &&value)
const Aws::String & GetBotAlias() const
GetBotChannelAssociationResult & WithBotConfiguration(BotConfigurationT &&value)
GetBotChannelAssociationResult & WithDescription(DescriptionT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetBotConfiguration() 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