AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LexBotConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/LexBot.h>
9#include <aws/connect/model/LexV2Bot.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API LexBotConfig() = default;
37 AWS_CONNECT_API LexBotConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const LexBot& GetLexBot() const { return m_lexBot; }
45 inline bool LexBotHasBeenSet() const { return m_lexBotHasBeenSet; }
46 template<typename LexBotT = LexBot>
47 void SetLexBot(LexBotT&& value) { m_lexBotHasBeenSet = true; m_lexBot = std::forward<LexBotT>(value); }
48 template<typename LexBotT = LexBot>
49 LexBotConfig& WithLexBot(LexBotT&& value) { SetLexBot(std::forward<LexBotT>(value)); return *this;}
51
53
56 inline const LexV2Bot& GetLexV2Bot() const { return m_lexV2Bot; }
57 inline bool LexV2BotHasBeenSet() const { return m_lexV2BotHasBeenSet; }
58 template<typename LexV2BotT = LexV2Bot>
59 void SetLexV2Bot(LexV2BotT&& value) { m_lexV2BotHasBeenSet = true; m_lexV2Bot = std::forward<LexV2BotT>(value); }
60 template<typename LexV2BotT = LexV2Bot>
61 LexBotConfig& WithLexV2Bot(LexV2BotT&& value) { SetLexV2Bot(std::forward<LexV2BotT>(value)); return *this;}
63 private:
64
65 LexBot m_lexBot;
66 bool m_lexBotHasBeenSet = false;
67
68 LexV2Bot m_lexV2Bot;
69 bool m_lexV2BotHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Connect
74} // namespace Aws
LexBotConfig & WithLexBot(LexBotT &&value)
AWS_CONNECT_API LexBotConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API LexBotConfig()=default
void SetLexV2Bot(LexV2BotT &&value)
void SetLexBot(LexBotT &&value)
const LexBot & GetLexBot() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API LexBotConfig(Aws::Utils::Json::JsonView jsonValue)
const LexV2Bot & GetLexV2Bot() const
LexBotConfig & WithLexV2Bot(LexV2BotT &&value)
Aws::Utils::Json::JsonValue JsonValue