AWS SDK for C++  1.9.160
AWS SDK for C++
LexBot.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  LexBot();
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline LexBot& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline LexBot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline LexBot& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetLexRegion() const{ return m_lexRegion; }
85 
89  inline bool LexRegionHasBeenSet() const { return m_lexRegionHasBeenSet; }
90 
94  inline void SetLexRegion(const Aws::String& value) { m_lexRegionHasBeenSet = true; m_lexRegion = value; }
95 
99  inline void SetLexRegion(Aws::String&& value) { m_lexRegionHasBeenSet = true; m_lexRegion = std::move(value); }
100 
104  inline void SetLexRegion(const char* value) { m_lexRegionHasBeenSet = true; m_lexRegion.assign(value); }
105 
109  inline LexBot& WithLexRegion(const Aws::String& value) { SetLexRegion(value); return *this;}
110 
114  inline LexBot& WithLexRegion(Aws::String&& value) { SetLexRegion(std::move(value)); return *this;}
115 
119  inline LexBot& WithLexRegion(const char* value) { SetLexRegion(value); return *this;}
120 
121  private:
122 
123  Aws::String m_name;
124  bool m_nameHasBeenSet;
125 
126  Aws::String m_lexRegion;
127  bool m_lexRegionHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace Connect
132 } // namespace Aws
Aws::Connect::Model::LexBot::WithName
LexBot & WithName(const Aws::String &value)
Definition: LexBot.h:68
Aws::Connect::Model::LexBot::SetName
void SetName(const Aws::String &value)
Definition: LexBot.h:53
Aws::Connect::Model::LexBot::NameHasBeenSet
bool NameHasBeenSet() const
Definition: LexBot.h:48
Aws::Connect::Model::LexBot::LexBot
LexBot(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::LexBot::WithName
LexBot & WithName(const char *value)
Definition: LexBot.h:78
Aws::Connect::Model::LexBot::SetLexRegion
void SetLexRegion(const Aws::String &value)
Definition: LexBot.h:94
Aws::Connect::Model::LexBot::LexRegionHasBeenSet
bool LexRegionHasBeenSet() const
Definition: LexBot.h:89
Aws::Connect::Model::LexBot::WithLexRegion
LexBot & WithLexRegion(Aws::String &&value)
Definition: LexBot.h:114
Aws::Connect::Model::LexBot::WithName
LexBot & WithName(Aws::String &&value)
Definition: LexBot.h:73
Aws::Connect::Model::LexBot::WithLexRegion
LexBot & WithLexRegion(const char *value)
Definition: LexBot.h:119
Aws::Connect::Model::LexBot::LexBot
LexBot()
Aws::Connect::Model::LexBot::GetLexRegion
const Aws::String & GetLexRegion() const
Definition: LexBot.h:84
Aws::Connect::Model::LexBot::SetName
void SetName(const char *value)
Definition: LexBot.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::LexBot::GetName
const Aws::String & GetName() const
Definition: LexBot.h:43
Aws::Connect::Model::LexBot::operator=
LexBot & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Connect::Model::LexBot::SetLexRegion
void SetLexRegion(const char *value)
Definition: LexBot.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::LexBot::SetLexRegion
void SetLexRegion(Aws::String &&value)
Definition: LexBot.h:99
Aws::Connect::Model::LexBot
Definition: LexBot.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::LexBot::WithLexRegion
LexBot & WithLexRegion(const Aws::String &value)
Definition: LexBot.h:109
Aws::Connect::Model::LexBot::SetName
void SetName(Aws::String &&value)
Definition: LexBot.h:58
Aws::Connect::Model::LexBot::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const