AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSessionRequest.h
1
6#pragma once
7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/lex/LexRuntimeServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace LexRuntimeService
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LEXRUNTIMESERVICE_API GetSessionRequest() = default;
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_LEXRUNTIMESERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_LEXRUNTIMESERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetBotName() const { return m_botName; }
46 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
47 template<typename BotNameT = Aws::String>
48 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
49 template<typename BotNameT = Aws::String>
50 GetSessionRequest& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetBotAlias() const { return m_botAlias; }
58 inline bool BotAliasHasBeenSet() const { return m_botAliasHasBeenSet; }
59 template<typename BotAliasT = Aws::String>
60 void SetBotAlias(BotAliasT&& value) { m_botAliasHasBeenSet = true; m_botAlias = std::forward<BotAliasT>(value); }
61 template<typename BotAliasT = Aws::String>
62 GetSessionRequest& WithBotAlias(BotAliasT&& value) { SetBotAlias(std::forward<BotAliasT>(value)); return *this;}
64
66
70 inline const Aws::String& GetUserId() const { return m_userId; }
71 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
72 template<typename UserIdT = Aws::String>
73 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
74 template<typename UserIdT = Aws::String>
75 GetSessionRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
77
79
85 inline const Aws::String& GetCheckpointLabelFilter() const { return m_checkpointLabelFilter; }
86 inline bool CheckpointLabelFilterHasBeenSet() const { return m_checkpointLabelFilterHasBeenSet; }
87 template<typename CheckpointLabelFilterT = Aws::String>
88 void SetCheckpointLabelFilter(CheckpointLabelFilterT&& value) { m_checkpointLabelFilterHasBeenSet = true; m_checkpointLabelFilter = std::forward<CheckpointLabelFilterT>(value); }
89 template<typename CheckpointLabelFilterT = Aws::String>
90 GetSessionRequest& WithCheckpointLabelFilter(CheckpointLabelFilterT&& value) { SetCheckpointLabelFilter(std::forward<CheckpointLabelFilterT>(value)); return *this;}
92 private:
93
94 Aws::String m_botName;
95 bool m_botNameHasBeenSet = false;
96
97 Aws::String m_botAlias;
98 bool m_botAliasHasBeenSet = false;
99
100 Aws::String m_userId;
101 bool m_userIdHasBeenSet = false;
102
103 Aws::String m_checkpointLabelFilter;
104 bool m_checkpointLabelFilterHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace LexRuntimeService
109} // namespace Aws
GetSessionRequest & WithBotAlias(BotAliasT &&value)
GetSessionRequest & WithUserId(UserIdT &&value)
void SetCheckpointLabelFilter(CheckpointLabelFilterT &&value)
virtual const char * GetServiceRequestName() const override
GetSessionRequest & WithBotName(BotNameT &&value)
AWS_LEXRUNTIMESERVICE_API GetSessionRequest()=default
GetSessionRequest & WithCheckpointLabelFilter(CheckpointLabelFilterT &&value)
AWS_LEXRUNTIMESERVICE_API Aws::String SerializePayload() const override
AWS_LEXRUNTIMESERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String