AWS SDK for C++

AWS SDK for C++ Version 1.11.691

Loading...
Searching...
No Matches
LexBot.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
27class LexBot {
28 public:
29 AWS_CONNECT_API LexBot() = default;
30 AWS_CONNECT_API LexBot(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CONNECT_API LexBot& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 LexBot& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetLexRegion() const { return m_lexRegion; }
57 inline bool LexRegionHasBeenSet() const { return m_lexRegionHasBeenSet; }
58 template <typename LexRegionT = Aws::String>
59 void SetLexRegion(LexRegionT&& value) {
60 m_lexRegionHasBeenSet = true;
61 m_lexRegion = std::forward<LexRegionT>(value);
62 }
63 template <typename LexRegionT = Aws::String>
64 LexBot& WithLexRegion(LexRegionT&& value) {
65 SetLexRegion(std::forward<LexRegionT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_name;
71 bool m_nameHasBeenSet = false;
72
73 Aws::String m_lexRegion;
74 bool m_lexRegionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
void SetLexRegion(LexRegionT &&value)
Definition LexBot.h:59
LexBot & WithName(NameT &&value)
Definition LexBot.h:46
const Aws::String & GetName() const
Definition LexBot.h:38
bool LexRegionHasBeenSet() const
Definition LexBot.h:57
AWS_CONNECT_API LexBot()=default
AWS_CONNECT_API LexBot(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLexRegion() const
Definition LexBot.h:56
AWS_CONNECT_API LexBot & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
Definition LexBot.h:39
void SetName(NameT &&value)
Definition LexBot.h:41
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
LexBot & WithLexRegion(LexRegionT &&value)
Definition LexBot.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue