AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteSessionRequest.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/LexRuntimeV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace LexRuntimeV2
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_LEXRUNTIMEV2_API DeleteSessionRequest() = 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 "DeleteSession"; }
31
32 AWS_LEXRUNTIMEV2_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetBotId() const { return m_botId; }
40 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
41 template<typename BotIdT = Aws::String>
42 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
43 template<typename BotIdT = Aws::String>
44 DeleteSessionRequest& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
52 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
53 template<typename BotAliasIdT = Aws::String>
54 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::forward<BotAliasIdT>(value); }
55 template<typename BotAliasIdT = Aws::String>
56 DeleteSessionRequest& WithBotAliasId(BotAliasIdT&& value) { SetBotAliasId(std::forward<BotAliasIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetLocaleId() const { return m_localeId; }
64 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
65 template<typename LocaleIdT = Aws::String>
66 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
67 template<typename LocaleIdT = Aws::String>
68 DeleteSessionRequest& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetSessionId() const { return m_sessionId; }
76 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
77 template<typename SessionIdT = Aws::String>
78 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
79 template<typename SessionIdT = Aws::String>
80 DeleteSessionRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
82 private:
83
84 Aws::String m_botId;
85 bool m_botIdHasBeenSet = false;
86
87 Aws::String m_botAliasId;
88 bool m_botAliasIdHasBeenSet = false;
89
90 Aws::String m_localeId;
91 bool m_localeIdHasBeenSet = false;
92
93 Aws::String m_sessionId;
94 bool m_sessionIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LexRuntimeV2
99} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_LEXRUNTIMEV2_API DeleteSessionRequest()=default
AWS_LEXRUNTIMEV2_API Aws::String SerializePayload() const override
DeleteSessionRequest & WithBotAliasId(BotAliasIdT &&value)
DeleteSessionRequest & WithBotId(BotIdT &&value)
DeleteSessionRequest & WithSessionId(SessionIdT &&value)
DeleteSessionRequest & WithLocaleId(LocaleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String