AWS SDK for C++  1.9.176
AWS SDK for C++
DeleteSessionResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace LexRuntimeService
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetBotName() const{ return m_botName; }
39 
43  inline void SetBotName(const Aws::String& value) { m_botName = value; }
44 
48  inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
49 
53  inline void SetBotName(const char* value) { m_botName.assign(value); }
54 
58  inline DeleteSessionResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
59 
63  inline DeleteSessionResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
64 
68  inline DeleteSessionResult& WithBotName(const char* value) { SetBotName(value); return *this;}
69 
70 
74  inline const Aws::String& GetBotAlias() const{ return m_botAlias; }
75 
79  inline void SetBotAlias(const Aws::String& value) { m_botAlias = value; }
80 
84  inline void SetBotAlias(Aws::String&& value) { m_botAlias = std::move(value); }
85 
89  inline void SetBotAlias(const char* value) { m_botAlias.assign(value); }
90 
94  inline DeleteSessionResult& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;}
95 
99  inline DeleteSessionResult& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;}
100 
104  inline DeleteSessionResult& WithBotAlias(const char* value) { SetBotAlias(value); return *this;}
105 
106 
110  inline const Aws::String& GetUserId() const{ return m_userId; }
111 
115  inline void SetUserId(const Aws::String& value) { m_userId = value; }
116 
120  inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); }
121 
125  inline void SetUserId(const char* value) { m_userId.assign(value); }
126 
130  inline DeleteSessionResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
131 
135  inline DeleteSessionResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
136 
140  inline DeleteSessionResult& WithUserId(const char* value) { SetUserId(value); return *this;}
141 
142 
146  inline const Aws::String& GetSessionId() const{ return m_sessionId; }
147 
151  inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
152 
156  inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
157 
161  inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
162 
166  inline DeleteSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
167 
171  inline DeleteSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
172 
176  inline DeleteSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
177 
178  private:
179 
180  Aws::String m_botName;
181 
182  Aws::String m_botAlias;
183 
184  Aws::String m_userId;
185 
186  Aws::String m_sessionId;
187  };
188 
189 } // namespace Model
190 } // namespace LexRuntimeService
191 } // namespace Aws
Aws::LexRuntimeService::Model::DeleteSessionResult::WithBotAlias
DeleteSessionResult & WithBotAlias(const char *value)
Definition: DeleteSessionResult.h:104
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::LexRuntimeService::Model::DeleteSessionResult::SetUserId
void SetUserId(const char *value)
Definition: DeleteSessionResult.h:125
Aws::LexRuntimeService::Model::DeleteSessionResult::SetBotAlias
void SetBotAlias(Aws::String &&value)
Definition: DeleteSessionResult.h:84
Aws::LexRuntimeService::Model::DeleteSessionResult::WithUserId
DeleteSessionResult & WithUserId(const Aws::String &value)
Definition: DeleteSessionResult.h:130
Aws::LexRuntimeService::Model::DeleteSessionResult::WithUserId
DeleteSessionResult & WithUserId(Aws::String &&value)
Definition: DeleteSessionResult.h:135
Aws::LexRuntimeService::Model::DeleteSessionResult::SetBotAlias
void SetBotAlias(const char *value)
Definition: DeleteSessionResult.h:89
Aws::LexRuntimeService::Model::DeleteSessionResult::WithBotName
DeleteSessionResult & WithBotName(const char *value)
Definition: DeleteSessionResult.h:68
Aws::LexRuntimeService::Model::DeleteSessionResult::WithSessionId
DeleteSessionResult & WithSessionId(Aws::String &&value)
Definition: DeleteSessionResult.h:171
Aws::LexRuntimeService::Model::DeleteSessionResult::GetBotAlias
const Aws::String & GetBotAlias() const
Definition: DeleteSessionResult.h:74
Aws::LexRuntimeService::Model::DeleteSessionResult::DeleteSessionResult
DeleteSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LexRuntimeService::Model::DeleteSessionResult::SetSessionId
void SetSessionId(const Aws::String &value)
Definition: DeleteSessionResult.h:151
AWS_LEXRUNTIMESERVICE_API
#define AWS_LEXRUNTIMESERVICE_API
Definition: LexRuntimeService_EXPORTS.h:28
Aws::LexRuntimeService::Model::DeleteSessionResult::WithSessionId
DeleteSessionResult & WithSessionId(const Aws::String &value)
Definition: DeleteSessionResult.h:166
Aws::LexRuntimeService::Model::DeleteSessionResult::SetSessionId
void SetSessionId(Aws::String &&value)
Definition: DeleteSessionResult.h:156
Aws::LexRuntimeService::Model::DeleteSessionResult::GetSessionId
const Aws::String & GetSessionId() const
Definition: DeleteSessionResult.h:146
Aws::LexRuntimeService::Model::DeleteSessionResult::WithSessionId
DeleteSessionResult & WithSessionId(const char *value)
Definition: DeleteSessionResult.h:176
LexRuntimeService_EXPORTS.h
Aws::LexRuntimeService::Model::DeleteSessionResult::SetUserId
void SetUserId(const Aws::String &value)
Definition: DeleteSessionResult.h:115
Aws::LexRuntimeService::Model::DeleteSessionResult::WithBotAlias
DeleteSessionResult & WithBotAlias(Aws::String &&value)
Definition: DeleteSessionResult.h:99
Aws::LexRuntimeService::Model::DeleteSessionResult::SetBotName
void SetBotName(const Aws::String &value)
Definition: DeleteSessionResult.h:43
Aws::LexRuntimeService::Model::DeleteSessionResult::GetUserId
const Aws::String & GetUserId() const
Definition: DeleteSessionResult.h:110
Aws::LexRuntimeService::Model::DeleteSessionResult::WithBotName
DeleteSessionResult & WithBotName(const Aws::String &value)
Definition: DeleteSessionResult.h:58
AWSString.h
Aws::LexRuntimeService::Model::DeleteSessionResult::SetBotName
void SetBotName(Aws::String &&value)
Definition: DeleteSessionResult.h:48
Aws::LexRuntimeService::Model::DeleteSessionResult::SetUserId
void SetUserId(Aws::String &&value)
Definition: DeleteSessionResult.h:120
Aws::LexRuntimeService::Model::DeleteSessionResult::WithUserId
DeleteSessionResult & WithUserId(const char *value)
Definition: DeleteSessionResult.h:140
Aws::LexRuntimeService::Model::DeleteSessionResult::WithBotAlias
DeleteSessionResult & WithBotAlias(const Aws::String &value)
Definition: DeleteSessionResult.h:94
Aws::LexRuntimeService::Model::DeleteSessionResult
Definition: DeleteSessionResult.h:28
Aws::LexRuntimeService::Model::DeleteSessionResult::SetSessionId
void SetSessionId(const char *value)
Definition: DeleteSessionResult.h:161
Aws::LexRuntimeService::Model::DeleteSessionResult::SetBotName
void SetBotName(const char *value)
Definition: DeleteSessionResult.h:53
Aws::LexRuntimeService::Model::DeleteSessionResult::GetBotName
const Aws::String & GetBotName() const
Definition: DeleteSessionResult.h:38
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::LexRuntimeService::Model::DeleteSessionResult::SetBotAlias
void SetBotAlias(const Aws::String &value)
Definition: DeleteSessionResult.h:79
Aws::LexRuntimeService::Model::DeleteSessionResult::DeleteSessionResult
DeleteSessionResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexRuntimeService::Model::DeleteSessionResult::WithBotName
DeleteSessionResult & WithBotName(Aws::String &&value)
Definition: DeleteSessionResult.h:63
Aws::LexRuntimeService::Model::DeleteSessionResult::operator=
DeleteSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)