AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetSessionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lex/LexRuntimeServiceRequest.h>
9#include <aws/lex/LexRuntimeService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace LexRuntimeService {
18namespace Model {
19
23 public:
24 AWS_LEXRUNTIMESERVICE_API GetSessionRequest() = default;
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 "GetSession"; }
31
32 AWS_LEXRUNTIMESERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_LEXRUNTIMESERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetBotName() const { return m_botName; }
41 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
42 template <typename BotNameT = Aws::String>
43 void SetBotName(BotNameT&& value) {
44 m_botNameHasBeenSet = true;
45 m_botName = std::forward<BotNameT>(value);
46 }
47 template <typename BotNameT = Aws::String>
48 GetSessionRequest& WithBotName(BotNameT&& value) {
49 SetBotName(std::forward<BotNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBotAlias() const { return m_botAlias; }
59 inline bool BotAliasHasBeenSet() const { return m_botAliasHasBeenSet; }
60 template <typename BotAliasT = Aws::String>
61 void SetBotAlias(BotAliasT&& value) {
62 m_botAliasHasBeenSet = true;
63 m_botAlias = std::forward<BotAliasT>(value);
64 }
65 template <typename BotAliasT = Aws::String>
66 GetSessionRequest& WithBotAlias(BotAliasT&& value) {
67 SetBotAlias(std::forward<BotAliasT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetUserId() const { return m_userId; }
78 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
79 template <typename UserIdT = Aws::String>
80 void SetUserId(UserIdT&& value) {
81 m_userIdHasBeenSet = true;
82 m_userId = std::forward<UserIdT>(value);
83 }
84 template <typename UserIdT = Aws::String>
85 GetSessionRequest& WithUserId(UserIdT&& value) {
86 SetUserId(std::forward<UserIdT>(value));
87 return *this;
88 }
90
92
98 inline const Aws::String& GetCheckpointLabelFilter() const { return m_checkpointLabelFilter; }
99 inline bool CheckpointLabelFilterHasBeenSet() const { return m_checkpointLabelFilterHasBeenSet; }
100 template <typename CheckpointLabelFilterT = Aws::String>
101 void SetCheckpointLabelFilter(CheckpointLabelFilterT&& value) {
102 m_checkpointLabelFilterHasBeenSet = true;
103 m_checkpointLabelFilter = std::forward<CheckpointLabelFilterT>(value);
104 }
105 template <typename CheckpointLabelFilterT = Aws::String>
106 GetSessionRequest& WithCheckpointLabelFilter(CheckpointLabelFilterT&& value) {
107 SetCheckpointLabelFilter(std::forward<CheckpointLabelFilterT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_botName;
113
114 Aws::String m_botAlias;
115
116 Aws::String m_userId;
117
118 Aws::String m_checkpointLabelFilter;
119 bool m_botNameHasBeenSet = false;
120 bool m_botAliasHasBeenSet = false;
121 bool m_userIdHasBeenSet = false;
122 bool m_checkpointLabelFilterHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace LexRuntimeService
127} // 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