AWS SDK for C++

AWS SDK for C++ Version 1.11.552

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
DisassociateBotRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/LexBot.h>
11#include <aws/connect/model/LexV2Bot.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace Connect
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONNECT_API DisassociateBotRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DisassociateBot"; }
34
35 AWS_CONNECT_API Aws::String SerializePayload() const override;
36
37
39
44 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 template<typename InstanceIdT = Aws::String>
47 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
48 template<typename InstanceIdT = Aws::String>
49 DisassociateBotRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
51
53
54 inline const LexBot& GetLexBot() const { return m_lexBot; }
55 inline bool LexBotHasBeenSet() const { return m_lexBotHasBeenSet; }
56 template<typename LexBotT = LexBot>
57 void SetLexBot(LexBotT&& value) { m_lexBotHasBeenSet = true; m_lexBot = std::forward<LexBotT>(value); }
58 template<typename LexBotT = LexBot>
59 DisassociateBotRequest& WithLexBot(LexBotT&& value) { SetLexBot(std::forward<LexBotT>(value)); return *this;}
61
63
66 inline const LexV2Bot& GetLexV2Bot() const { return m_lexV2Bot; }
67 inline bool LexV2BotHasBeenSet() const { return m_lexV2BotHasBeenSet; }
68 template<typename LexV2BotT = LexV2Bot>
69 void SetLexV2Bot(LexV2BotT&& value) { m_lexV2BotHasBeenSet = true; m_lexV2Bot = std::forward<LexV2BotT>(value); }
70 template<typename LexV2BotT = LexV2Bot>
71 DisassociateBotRequest& WithLexV2Bot(LexV2BotT&& value) { SetLexV2Bot(std::forward<LexV2BotT>(value)); return *this;}
73
75
82 inline const Aws::String& GetClientToken() const { return m_clientToken; }
83 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
84 template<typename ClientTokenT = Aws::String>
85 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
86 template<typename ClientTokenT = Aws::String>
87 DisassociateBotRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
89 private:
90
91 Aws::String m_instanceId;
92 bool m_instanceIdHasBeenSet = false;
93
94 LexBot m_lexBot;
95 bool m_lexBotHasBeenSet = false;
96
97 LexV2Bot m_lexV2Bot;
98 bool m_lexV2BotHasBeenSet = false;
99
100 Aws::String m_clientToken;
101 bool m_clientTokenHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Connect
106} // namespace Aws
AWS_CONNECT_API DisassociateBotRequest()=default
AWS_CONNECT_API Aws::String SerializePayload() const override
DisassociateBotRequest & WithLexBot(LexBotT &&value)
DisassociateBotRequest & WithInstanceId(InstanceIdT &&value)
DisassociateBotRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
DisassociateBotRequest & WithLexV2Bot(LexV2BotT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String