AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
42 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
43 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
44 inline DeleteSessionRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
45 inline DeleteSessionRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
46 inline DeleteSessionRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
48
50
53 inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
54 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
55 inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; }
56 inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); }
57 inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); }
58 inline DeleteSessionRequest& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
59 inline DeleteSessionRequest& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
60 inline DeleteSessionRequest& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
62
64
67 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
68 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
69 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
70 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
71 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
72 inline DeleteSessionRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
73 inline DeleteSessionRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
74 inline DeleteSessionRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
76
78
81 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
82 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
83 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
84 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
85 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
86 inline DeleteSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
87 inline DeleteSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
88 inline DeleteSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
90 private:
91
92 Aws::String m_botId;
93 bool m_botIdHasBeenSet = false;
94
95 Aws::String m_botAliasId;
96 bool m_botAliasIdHasBeenSet = false;
97
98 Aws::String m_localeId;
99 bool m_localeIdHasBeenSet = false;
100
101 Aws::String m_sessionId;
102 bool m_sessionIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace LexRuntimeV2
107} // namespace Aws
DeleteSessionRequest & WithBotId(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteSessionRequest & WithBotId(Aws::String &&value)
DeleteSessionRequest & WithBotAliasId(const char *value)
AWS_LEXRUNTIMEV2_API Aws::String SerializePayload() const override
DeleteSessionRequest & WithSessionId(Aws::String &&value)
DeleteSessionRequest & WithLocaleId(const Aws::String &value)
DeleteSessionRequest & WithSessionId(const Aws::String &value)
DeleteSessionRequest & WithBotId(const Aws::String &value)
DeleteSessionRequest & WithBotAliasId(Aws::String &&value)
DeleteSessionRequest & WithLocaleId(const char *value)
DeleteSessionRequest & WithLocaleId(Aws::String &&value)
DeleteSessionRequest & WithBotAliasId(const Aws::String &value)
DeleteSessionRequest & WithSessionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String