AWS SDK for C++  1.9.160
AWS SDK for C++
GetSessionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace LexRuntimeService
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetSession"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetBotName() const{ return m_botName; }
45 
49  inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
50 
54  inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
55 
59  inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
60 
64  inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
65 
69  inline GetSessionRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
70 
74  inline GetSessionRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
75 
79  inline GetSessionRequest& WithBotName(const char* value) { SetBotName(value); return *this;}
80 
81 
85  inline const Aws::String& GetBotAlias() const{ return m_botAlias; }
86 
90  inline bool BotAliasHasBeenSet() const { return m_botAliasHasBeenSet; }
91 
95  inline void SetBotAlias(const Aws::String& value) { m_botAliasHasBeenSet = true; m_botAlias = value; }
96 
100  inline void SetBotAlias(Aws::String&& value) { m_botAliasHasBeenSet = true; m_botAlias = std::move(value); }
101 
105  inline void SetBotAlias(const char* value) { m_botAliasHasBeenSet = true; m_botAlias.assign(value); }
106 
110  inline GetSessionRequest& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;}
111 
115  inline GetSessionRequest& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;}
116 
120  inline GetSessionRequest& WithBotAlias(const char* value) { SetBotAlias(value); return *this;}
121 
122 
127  inline const Aws::String& GetUserId() const{ return m_userId; }
128 
133  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
134 
139  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
140 
145  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
146 
151  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
152 
157  inline GetSessionRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
158 
163  inline GetSessionRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
164 
169  inline GetSessionRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
170 
171 
178  inline const Aws::String& GetCheckpointLabelFilter() const{ return m_checkpointLabelFilter; }
179 
186  inline bool CheckpointLabelFilterHasBeenSet() const { return m_checkpointLabelFilterHasBeenSet; }
187 
194  inline void SetCheckpointLabelFilter(const Aws::String& value) { m_checkpointLabelFilterHasBeenSet = true; m_checkpointLabelFilter = value; }
195 
202  inline void SetCheckpointLabelFilter(Aws::String&& value) { m_checkpointLabelFilterHasBeenSet = true; m_checkpointLabelFilter = std::move(value); }
203 
210  inline void SetCheckpointLabelFilter(const char* value) { m_checkpointLabelFilterHasBeenSet = true; m_checkpointLabelFilter.assign(value); }
211 
218  inline GetSessionRequest& WithCheckpointLabelFilter(const Aws::String& value) { SetCheckpointLabelFilter(value); return *this;}
219 
226  inline GetSessionRequest& WithCheckpointLabelFilter(Aws::String&& value) { SetCheckpointLabelFilter(std::move(value)); return *this;}
227 
234  inline GetSessionRequest& WithCheckpointLabelFilter(const char* value) { SetCheckpointLabelFilter(value); return *this;}
235 
236  private:
237 
238  Aws::String m_botName;
239  bool m_botNameHasBeenSet;
240 
241  Aws::String m_botAlias;
242  bool m_botAliasHasBeenSet;
243 
244  Aws::String m_userId;
245  bool m_userIdHasBeenSet;
246 
247  Aws::String m_checkpointLabelFilter;
248  bool m_checkpointLabelFilterHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace LexRuntimeService
253 } // namespace Aws
Aws::LexRuntimeService::Model::GetSessionRequest::SetBotAlias
void SetBotAlias(const Aws::String &value)
Definition: GetSessionRequest.h:95
Aws::Http::URI
Definition: URI.h:32
Aws::LexRuntimeService::Model::GetSessionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSessionRequest.h:34
Aws::LexRuntimeService::Model::GetSessionRequest::WithBotAlias
GetSessionRequest & WithBotAlias(Aws::String &&value)
Definition: GetSessionRequest.h:115
Aws::LexRuntimeService::LexRuntimeServiceRequest
Definition: LexRuntimeServiceRequest.h:18
Aws::LexRuntimeService::Model::GetSessionRequest
Definition: GetSessionRequest.h:26
Aws::LexRuntimeService::Model::GetSessionRequest::BotNameHasBeenSet
bool BotNameHasBeenSet() const
Definition: GetSessionRequest.h:49
LexRuntimeServiceRequest.h
Aws::LexRuntimeService::Model::GetSessionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LexRuntimeService::Model::GetSessionRequest::GetBotName
const Aws::String & GetBotName() const
Definition: GetSessionRequest.h:44
Aws::LexRuntimeService::Model::GetSessionRequest::SetCheckpointLabelFilter
void SetCheckpointLabelFilter(const char *value)
Definition: GetSessionRequest.h:210
Aws::LexRuntimeService::Model::GetSessionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::LexRuntimeService::Model::GetSessionRequest::WithCheckpointLabelFilter
GetSessionRequest & WithCheckpointLabelFilter(const char *value)
Definition: GetSessionRequest.h:234
Aws::LexRuntimeService::Model::GetSessionRequest::WithBotName
GetSessionRequest & WithBotName(Aws::String &&value)
Definition: GetSessionRequest.h:74
AWS_LEXRUNTIMESERVICE_API
#define AWS_LEXRUNTIMESERVICE_API
Definition: LexRuntimeService_EXPORTS.h:28
Aws::LexRuntimeService::Model::GetSessionRequest::SetUserId
void SetUserId(const char *value)
Definition: GetSessionRequest.h:151
Aws::LexRuntimeService::Model::GetSessionRequest::GetUserId
const Aws::String & GetUserId() const
Definition: GetSessionRequest.h:127
Aws::LexRuntimeService::Model::GetSessionRequest::WithCheckpointLabelFilter
GetSessionRequest & WithCheckpointLabelFilter(const Aws::String &value)
Definition: GetSessionRequest.h:218
Aws::LexRuntimeService::Model::GetSessionRequest::WithCheckpointLabelFilter
GetSessionRequest & WithCheckpointLabelFilter(Aws::String &&value)
Definition: GetSessionRequest.h:226
Aws::LexRuntimeService::Model::GetSessionRequest::SetCheckpointLabelFilter
void SetCheckpointLabelFilter(Aws::String &&value)
Definition: GetSessionRequest.h:202
Aws::LexRuntimeService::Model::GetSessionRequest::WithBotName
GetSessionRequest & WithBotName(const char *value)
Definition: GetSessionRequest.h:79
Aws::LexRuntimeService::Model::GetSessionRequest::WithBotName
GetSessionRequest & WithBotName(const Aws::String &value)
Definition: GetSessionRequest.h:69
LexRuntimeService_EXPORTS.h
Aws::LexRuntimeService::Model::GetSessionRequest::WithUserId
GetSessionRequest & WithUserId(const char *value)
Definition: GetSessionRequest.h:169
Aws::LexRuntimeService::Model::GetSessionRequest::SetCheckpointLabelFilter
void SetCheckpointLabelFilter(const Aws::String &value)
Definition: GetSessionRequest.h:194
Aws::LexRuntimeService::Model::GetSessionRequest::SetBotAlias
void SetBotAlias(const char *value)
Definition: GetSessionRequest.h:105
Aws::LexRuntimeService::Model::GetSessionRequest::SetBotName
void SetBotName(Aws::String &&value)
Definition: GetSessionRequest.h:59
Aws::LexRuntimeService::Model::GetSessionRequest::CheckpointLabelFilterHasBeenSet
bool CheckpointLabelFilterHasBeenSet() const
Definition: GetSessionRequest.h:186
Aws::LexRuntimeService::Model::GetSessionRequest::WithBotAlias
GetSessionRequest & WithBotAlias(const char *value)
Definition: GetSessionRequest.h:120
Aws::LexRuntimeService::Model::GetSessionRequest::GetBotAlias
const Aws::String & GetBotAlias() const
Definition: GetSessionRequest.h:85
AWSString.h
Aws::LexRuntimeService::Model::GetSessionRequest::WithUserId
GetSessionRequest & WithUserId(Aws::String &&value)
Definition: GetSessionRequest.h:163
Aws::LexRuntimeService::Model::GetSessionRequest::SetBotAlias
void SetBotAlias(Aws::String &&value)
Definition: GetSessionRequest.h:100
Aws::LexRuntimeService::Model::GetSessionRequest::WithBotAlias
GetSessionRequest & WithBotAlias(const Aws::String &value)
Definition: GetSessionRequest.h:110
Aws::LexRuntimeService::Model::GetSessionRequest::GetSessionRequest
GetSessionRequest()
Aws::LexRuntimeService::Model::GetSessionRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: GetSessionRequest.h:133
Aws::LexRuntimeService::Model::GetSessionRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: GetSessionRequest.h:139
Aws
Definition: AccessManagementClient.h:15
Aws::LexRuntimeService::Model::GetSessionRequest::SetBotName
void SetBotName(const Aws::String &value)
Definition: GetSessionRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexRuntimeService::Model::GetSessionRequest::BotAliasHasBeenSet
bool BotAliasHasBeenSet() const
Definition: GetSessionRequest.h:90
Aws::LexRuntimeService::Model::GetSessionRequest::SetBotName
void SetBotName(const char *value)
Definition: GetSessionRequest.h:64
Aws::LexRuntimeService::Model::GetSessionRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: GetSessionRequest.h:145
Aws::LexRuntimeService::Model::GetSessionRequest::WithUserId
GetSessionRequest & WithUserId(const Aws::String &value)
Definition: GetSessionRequest.h:157
Aws::LexRuntimeService::Model::GetSessionRequest::GetCheckpointLabelFilter
const Aws::String & GetCheckpointLabelFilter() const
Definition: GetSessionRequest.h:178