AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API LexBotConfig() = default;
32 AWS_CONNECT_API LexBotConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const LexBot& GetLexBot() const { return m_lexBot; }
39 inline bool LexBotHasBeenSet() const { return m_lexBotHasBeenSet; }
40 template <typename LexBotT = LexBot>
41 void SetLexBot(LexBotT&& value) {
42 m_lexBotHasBeenSet = true;
43 m_lexBot = std::forward<LexBotT>(value);
44 }
45 template <typename LexBotT = LexBot>
46 LexBotConfig& WithLexBot(LexBotT&& value) {
47 SetLexBot(std::forward<LexBotT>(value));
48 return *this;
49 }
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) {
60 m_lexV2BotHasBeenSet = true;
61 m_lexV2Bot = std::forward<LexV2BotT>(value);
62 }
63 template <typename LexV2BotT = LexV2Bot>
64 LexBotConfig& WithLexV2Bot(LexV2BotT&& value) {
65 SetLexV2Bot(std::forward<LexV2BotT>(value));
66 return *this;
67 }
69 private:
70 LexBot m_lexBot;
71
72 LexV2Bot m_lexV2Bot;
73 bool m_lexBotHasBeenSet = false;
74 bool m_lexV2BotHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Connect
79} // 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