AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteSessionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LexRuntimeV2
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetBotId() const{ return m_botId; }
39 
43  inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
44 
48  inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
49 
53  inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
54 
58  inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
59 
63  inline DeleteSessionRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
64 
68  inline DeleteSessionRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
69 
73  inline DeleteSessionRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
74 
75 
79  inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
80 
84  inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
85 
89  inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; }
90 
94  inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); }
95 
99  inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); }
100 
104  inline DeleteSessionRequest& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
105 
109  inline DeleteSessionRequest& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
110 
114  inline DeleteSessionRequest& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
115 
116 
120  inline const Aws::String& GetLocaleId() const{ return m_localeId; }
121 
125  inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
126 
130  inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
131 
135  inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
136 
140  inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
141 
145  inline DeleteSessionRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
146 
150  inline DeleteSessionRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
151 
155  inline DeleteSessionRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
156 
157 
161  inline const Aws::String& GetSessionId() const{ return m_sessionId; }
162 
166  inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
167 
171  inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
172 
176  inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
177 
181  inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
182 
186  inline DeleteSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
187 
191  inline DeleteSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
192 
196  inline DeleteSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
197 
198  private:
199 
200  Aws::String m_botId;
201  bool m_botIdHasBeenSet;
202 
203  Aws::String m_botAliasId;
204  bool m_botAliasIdHasBeenSet;
205 
206  Aws::String m_localeId;
207  bool m_localeIdHasBeenSet;
208 
209  Aws::String m_sessionId;
210  bool m_sessionIdHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace LexRuntimeV2
215 } // namespace Aws
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithLocaleId
DeleteSessionRequest & WithLocaleId(Aws::String &&value)
Definition: DeleteSessionRequest.h:150
Aws::LexRuntimeV2::Model::DeleteSessionRequest::BotAliasIdHasBeenSet
bool BotAliasIdHasBeenSet() const
Definition: DeleteSessionRequest.h:84
Aws::LexRuntimeV2::Model::DeleteSessionRequest
Definition: DeleteSessionRequest.h:22
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetSessionId
void SetSessionId(const char *value)
Definition: DeleteSessionRequest.h:181
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithBotId
DeleteSessionRequest & WithBotId(const Aws::String &value)
Definition: DeleteSessionRequest.h:63
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LexRuntimeV2::Model::DeleteSessionRequest::BotIdHasBeenSet
bool BotIdHasBeenSet() const
Definition: DeleteSessionRequest.h:43
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetBotAliasId
void SetBotAliasId(const Aws::String &value)
Definition: DeleteSessionRequest.h:89
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetLocaleId
void SetLocaleId(Aws::String &&value)
Definition: DeleteSessionRequest.h:135
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithBotId
DeleteSessionRequest & WithBotId(Aws::String &&value)
Definition: DeleteSessionRequest.h:68
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetSessionId
void SetSessionId(const Aws::String &value)
Definition: DeleteSessionRequest.h:171
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetBotAliasId
void SetBotAliasId(const char *value)
Definition: DeleteSessionRequest.h:99
Aws::LexRuntimeV2::Model::DeleteSessionRequest::GetBotAliasId
const Aws::String & GetBotAliasId() const
Definition: DeleteSessionRequest.h:79
Aws::LexRuntimeV2::Model::DeleteSessionRequest::GetLocaleId
const Aws::String & GetLocaleId() const
Definition: DeleteSessionRequest.h:120
LexRuntimeV2Request.h
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetLocaleId
void SetLocaleId(const Aws::String &value)
Definition: DeleteSessionRequest.h:130
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithBotId
DeleteSessionRequest & WithBotId(const char *value)
Definition: DeleteSessionRequest.h:73
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetBotAliasId
void SetBotAliasId(Aws::String &&value)
Definition: DeleteSessionRequest.h:94
LexRuntimeV2_EXPORTS.h
AWSString.h
Aws::LexRuntimeV2::LexRuntimeV2Request
Definition: LexRuntimeV2Request.h:18
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithBotAliasId
DeleteSessionRequest & WithBotAliasId(const char *value)
Definition: DeleteSessionRequest.h:114
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithSessionId
DeleteSessionRequest & WithSessionId(Aws::String &&value)
Definition: DeleteSessionRequest.h:191
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithSessionId
DeleteSessionRequest & WithSessionId(const char *value)
Definition: DeleteSessionRequest.h:196
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithBotAliasId
DeleteSessionRequest & WithBotAliasId(const Aws::String &value)
Definition: DeleteSessionRequest.h:104
Aws::LexRuntimeV2::Model::DeleteSessionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteSessionRequest.h:30
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetSessionId
void SetSessionId(Aws::String &&value)
Definition: DeleteSessionRequest.h:176
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithLocaleId
DeleteSessionRequest & WithLocaleId(const Aws::String &value)
Definition: DeleteSessionRequest.h:145
Aws::LexRuntimeV2::Model::DeleteSessionRequest::GetBotId
const Aws::String & GetBotId() const
Definition: DeleteSessionRequest.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithLocaleId
DeleteSessionRequest & WithLocaleId(const char *value)
Definition: DeleteSessionRequest.h:155
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetLocaleId
void SetLocaleId(const char *value)
Definition: DeleteSessionRequest.h:140
Aws::LexRuntimeV2::Model::DeleteSessionRequest::LocaleIdHasBeenSet
bool LocaleIdHasBeenSet() const
Definition: DeleteSessionRequest.h:125
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SessionIdHasBeenSet
bool SessionIdHasBeenSet() const
Definition: DeleteSessionRequest.h:166
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithSessionId
DeleteSessionRequest & WithSessionId(const Aws::String &value)
Definition: DeleteSessionRequest.h:186
Aws::LexRuntimeV2::Model::DeleteSessionRequest::WithBotAliasId
DeleteSessionRequest & WithBotAliasId(Aws::String &&value)
Definition: DeleteSessionRequest.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexRuntimeV2::Model::DeleteSessionRequest::DeleteSessionRequest
DeleteSessionRequest()
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetBotId
void SetBotId(const char *value)
Definition: DeleteSessionRequest.h:58
Aws::LexRuntimeV2::Model::DeleteSessionRequest::GetSessionId
const Aws::String & GetSessionId() const
Definition: DeleteSessionRequest.h:161
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetBotId
void SetBotId(const Aws::String &value)
Definition: DeleteSessionRequest.h:48
Aws::LexRuntimeV2::Model::DeleteSessionRequest::SetBotId
void SetBotId(Aws::String &&value)
Definition: DeleteSessionRequest.h:53
AWS_LEXRUNTIMEV2_API
#define AWS_LEXRUNTIMEV2_API
Definition: LexRuntimeV2_EXPORTS.h:28