AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLexBot(const LexBot& value) { m_lexBotHasBeenSet = true; m_lexBot = value; }
47 inline void SetLexBot(LexBot&& value) { m_lexBotHasBeenSet = true; m_lexBot = std::move(value); }
48 inline LexBotConfig& WithLexBot(const LexBot& value) { SetLexBot(value); return *this;}
49 inline LexBotConfig& WithLexBot(LexBot&& value) { SetLexBot(std::move(value)); return *this;}
51
53
56 inline const LexV2Bot& GetLexV2Bot() const{ return m_lexV2Bot; }
57 inline bool LexV2BotHasBeenSet() const { return m_lexV2BotHasBeenSet; }
58 inline void SetLexV2Bot(const LexV2Bot& value) { m_lexV2BotHasBeenSet = true; m_lexV2Bot = value; }
59 inline void SetLexV2Bot(LexV2Bot&& value) { m_lexV2BotHasBeenSet = true; m_lexV2Bot = std::move(value); }
60 inline LexBotConfig& WithLexV2Bot(const LexV2Bot& value) { SetLexV2Bot(value); return *this;}
61 inline LexBotConfig& WithLexV2Bot(LexV2Bot&& value) { SetLexV2Bot(std::move(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
AWS_CONNECT_API LexBotConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
LexBotConfig & WithLexBot(LexBot &&value)
LexBotConfig & WithLexV2Bot(LexV2Bot &&value)
void SetLexBot(const LexBot &value)
const LexBot & GetLexBot() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API LexBotConfig(Aws::Utils::Json::JsonView jsonValue)
void SetLexV2Bot(LexV2Bot &&value)
const LexV2Bot & GetLexV2Bot() const
LexBotConfig & WithLexV2Bot(const LexV2Bot &value)
LexBotConfig & WithLexBot(const LexBot &value)
void SetLexV2Bot(const LexV2Bot &value)
void SetLexBot(LexBot &&value)
Aws::Utils::Json::JsonValue JsonValue