AWS SDK for C++  1.9.156
AWS SDK for C++
DisassociateBotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Connect
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DisassociateBot"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 
47  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 
53  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
54 
59  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
60 
65  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
66 
71  inline DisassociateBotRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
72 
77  inline DisassociateBotRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
78 
83  inline DisassociateBotRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
84 
85 
86 
87  inline const LexBot& GetLexBot() const{ return m_lexBot; }
88 
89 
90  inline bool LexBotHasBeenSet() const { return m_lexBotHasBeenSet; }
91 
92 
93  inline void SetLexBot(const LexBot& value) { m_lexBotHasBeenSet = true; m_lexBot = value; }
94 
95 
96  inline void SetLexBot(LexBot&& value) { m_lexBotHasBeenSet = true; m_lexBot = std::move(value); }
97 
98 
99  inline DisassociateBotRequest& WithLexBot(const LexBot& value) { SetLexBot(value); return *this;}
100 
101 
102  inline DisassociateBotRequest& WithLexBot(LexBot&& value) { SetLexBot(std::move(value)); return *this;}
103 
104 
108  inline const LexV2Bot& GetLexV2Bot() const{ return m_lexV2Bot; }
109 
113  inline bool LexV2BotHasBeenSet() const { return m_lexV2BotHasBeenSet; }
114 
118  inline void SetLexV2Bot(const LexV2Bot& value) { m_lexV2BotHasBeenSet = true; m_lexV2Bot = value; }
119 
123  inline void SetLexV2Bot(LexV2Bot&& value) { m_lexV2BotHasBeenSet = true; m_lexV2Bot = std::move(value); }
124 
128  inline DisassociateBotRequest& WithLexV2Bot(const LexV2Bot& value) { SetLexV2Bot(value); return *this;}
129 
133  inline DisassociateBotRequest& WithLexV2Bot(LexV2Bot&& value) { SetLexV2Bot(std::move(value)); return *this;}
134 
135  private:
136 
137  Aws::String m_instanceId;
138  bool m_instanceIdHasBeenSet;
139 
140  LexBot m_lexBot;
141  bool m_lexBotHasBeenSet;
142 
143  LexV2Bot m_lexV2Bot;
144  bool m_lexV2BotHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace Connect
149 } // namespace Aws
LexV2Bot.h
Aws::Connect::Model::DisassociateBotRequest::WithInstanceId
DisassociateBotRequest & WithInstanceId(Aws::String &&value)
Definition: DisassociateBotRequest.h:77
Aws::Connect::Model::DisassociateBotRequest::SetLexBot
void SetLexBot(const LexBot &value)
Definition: DisassociateBotRequest.h:93
Aws::Connect::Model::DisassociateBotRequest::GetLexBot
const LexBot & GetLexBot() const
Definition: DisassociateBotRequest.h:87
Aws::Connect::Model::DisassociateBotRequest::WithLexV2Bot
DisassociateBotRequest & WithLexV2Bot(const LexV2Bot &value)
Definition: DisassociateBotRequest.h:128
Aws::Connect::Model::DisassociateBotRequest::SetLexV2Bot
void SetLexV2Bot(LexV2Bot &&value)
Definition: DisassociateBotRequest.h:123
Aws::Connect::Model::DisassociateBotRequest::SetLexV2Bot
void SetLexV2Bot(const LexV2Bot &value)
Definition: DisassociateBotRequest.h:118
Aws::Connect::Model::DisassociateBotRequest::GetLexV2Bot
const LexV2Bot & GetLexV2Bot() const
Definition: DisassociateBotRequest.h:108
Aws::Connect::Model::DisassociateBotRequest::SetLexBot
void SetLexBot(LexBot &&value)
Definition: DisassociateBotRequest.h:96
Aws::Connect::Model::DisassociateBotRequest::WithLexBot
DisassociateBotRequest & WithLexBot(LexBot &&value)
Definition: DisassociateBotRequest.h:102
Aws::Connect::Model::DisassociateBotRequest::DisassociateBotRequest
DisassociateBotRequest()
Aws::Connect::Model::DisassociateBotRequest::WithLexV2Bot
DisassociateBotRequest & WithLexV2Bot(LexV2Bot &&value)
Definition: DisassociateBotRequest.h:133
Aws::Connect::Model::DisassociateBotRequest::WithInstanceId
DisassociateBotRequest & WithInstanceId(const Aws::String &value)
Definition: DisassociateBotRequest.h:71
Aws::Connect::Model::DisassociateBotRequest::WithInstanceId
DisassociateBotRequest & WithInstanceId(const char *value)
Definition: DisassociateBotRequest.h:83
Aws::Connect::Model::DisassociateBotRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateBotRequest.h:32
Aws::Connect::Model::DisassociateBotRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DisassociateBotRequest.h:65
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
AWSString.h
Aws::Connect::Model::DisassociateBotRequest
Definition: DisassociateBotRequest.h:24
Aws::Connect::Model::DisassociateBotRequest::LexV2BotHasBeenSet
bool LexV2BotHasBeenSet() const
Definition: DisassociateBotRequest.h:113
Aws::Connect::Model::DisassociateBotRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DisassociateBotRequest.h:41
Aws::Connect::Model::DisassociateBotRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DisassociateBotRequest.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::LexV2Bot
Definition: LexV2Bot.h:32
Aws::Connect::Model::LexBot
Definition: LexBot.h:32
Aws::Connect::Model::DisassociateBotRequest::LexBotHasBeenSet
bool LexBotHasBeenSet() const
Definition: DisassociateBotRequest.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::DisassociateBotRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DisassociateBotRequest.h:53
Aws::Connect::Model::DisassociateBotRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DisassociateBotRequest.h:59
Aws::Connect::Model::DisassociateBotRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::DisassociateBotRequest::WithLexBot
DisassociateBotRequest & WithLexBot(const LexBot &value)
Definition: DisassociateBotRequest.h:99
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
LexBot.h
ConnectRequest.h