AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
DisassociateBotRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/LexBot.h>
10#include <aws/connect/model/LexV2Bot.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Connect {
18namespace Model {
19
23 public:
24 AWS_CONNECT_API DisassociateBotRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DisassociateBot"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
35
40 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
41 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
42 template <typename InstanceIdT = Aws::String>
43 void SetInstanceId(InstanceIdT&& value) {
44 m_instanceIdHasBeenSet = true;
45 m_instanceId = std::forward<InstanceIdT>(value);
46 }
47 template <typename InstanceIdT = Aws::String>
48 DisassociateBotRequest& WithInstanceId(InstanceIdT&& value) {
49 SetInstanceId(std::forward<InstanceIdT>(value));
50 return *this;
51 }
53
55
56 inline const LexBot& GetLexBot() const { return m_lexBot; }
57 inline bool LexBotHasBeenSet() const { return m_lexBotHasBeenSet; }
58 template <typename LexBotT = LexBot>
59 void SetLexBot(LexBotT&& value) {
60 m_lexBotHasBeenSet = true;
61 m_lexBot = std::forward<LexBotT>(value);
62 }
63 template <typename LexBotT = LexBot>
65 SetLexBot(std::forward<LexBotT>(value));
66 return *this;
67 }
69
71
74 inline const LexV2Bot& GetLexV2Bot() const { return m_lexV2Bot; }
75 inline bool LexV2BotHasBeenSet() const { return m_lexV2BotHasBeenSet; }
76 template <typename LexV2BotT = LexV2Bot>
77 void SetLexV2Bot(LexV2BotT&& value) {
78 m_lexV2BotHasBeenSet = true;
79 m_lexV2Bot = std::forward<LexV2BotT>(value);
80 }
81 template <typename LexV2BotT = LexV2Bot>
83 SetLexV2Bot(std::forward<LexV2BotT>(value));
84 return *this;
85 }
87
89
96 inline const Aws::String& GetClientToken() const { return m_clientToken; }
97 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
98 template <typename ClientTokenT = Aws::String>
99 void SetClientToken(ClientTokenT&& value) {
100 m_clientTokenHasBeenSet = true;
101 m_clientToken = std::forward<ClientTokenT>(value);
102 }
103 template <typename ClientTokenT = Aws::String>
105 SetClientToken(std::forward<ClientTokenT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_instanceId;
111 bool m_instanceIdHasBeenSet = false;
112
113 LexBot m_lexBot;
114 bool m_lexBotHasBeenSet = false;
115
116 LexV2Bot m_lexV2Bot;
117 bool m_lexV2BotHasBeenSet = false;
118
120 bool m_clientTokenHasBeenSet = true;
121};
122
123} // namespace Model
124} // namespace Connect
125} // 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)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String