AWS SDK for C++

AWS SDK for C++ Version 1.11.553

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
DisassociateLexBotRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Connect
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CONNECT_API DisassociateLexBotRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DisassociateLexBot"; }
36
37 AWS_CONNECT_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
48 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 template<typename InstanceIdT = Aws::String>
51 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
52 template<typename InstanceIdT = Aws::String>
53 DisassociateLexBotRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetBotName() const { return m_botName; }
61 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
62 template<typename BotNameT = Aws::String>
63 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
64 template<typename BotNameT = Aws::String>
65 DisassociateLexBotRequest& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
67
69
73 inline const Aws::String& GetLexRegion() const { return m_lexRegion; }
74 inline bool LexRegionHasBeenSet() const { return m_lexRegionHasBeenSet; }
75 template<typename LexRegionT = Aws::String>
76 void SetLexRegion(LexRegionT&& value) { m_lexRegionHasBeenSet = true; m_lexRegion = std::forward<LexRegionT>(value); }
77 template<typename LexRegionT = Aws::String>
78 DisassociateLexBotRequest& WithLexRegion(LexRegionT&& value) { SetLexRegion(std::forward<LexRegionT>(value)); return *this;}
80
82
89 inline const Aws::String& GetClientToken() const { return m_clientToken; }
90 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
91 template<typename ClientTokenT = Aws::String>
92 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
93 template<typename ClientTokenT = Aws::String>
94 DisassociateLexBotRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
96 private:
97
98 Aws::String m_instanceId;
99 bool m_instanceIdHasBeenSet = false;
100
101 Aws::String m_botName;
102 bool m_botNameHasBeenSet = false;
103
104 Aws::String m_lexRegion;
105 bool m_lexRegionHasBeenSet = false;
106
107 Aws::String m_clientToken;
108 bool m_clientTokenHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Connect
113} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CONNECT_API DisassociateLexBotRequest()=default
AWS_CONNECT_API Aws::String SerializePayload() const override
DisassociateLexBotRequest & WithBotName(BotNameT &&value)
DisassociateLexBotRequest & WithLexRegion(LexRegionT &&value)
DisassociateLexBotRequest & WithInstanceId(InstanceIdT &&value)
DisassociateLexBotRequest & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String