AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
48 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
49 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
50 inline GetSessionRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
51 inline GetSessionRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
52 inline GetSessionRequest& WithBotName(const char* value) { SetBotName(value); return *this;}
54
56
59 inline const Aws::String& GetBotAlias() const{ return m_botAlias; }
60 inline bool BotAliasHasBeenSet() const { return m_botAliasHasBeenSet; }
61 inline void SetBotAlias(const Aws::String& value) { m_botAliasHasBeenSet = true; m_botAlias = value; }
62 inline void SetBotAlias(Aws::String&& value) { m_botAliasHasBeenSet = true; m_botAlias = std::move(value); }
63 inline void SetBotAlias(const char* value) { m_botAliasHasBeenSet = true; m_botAlias.assign(value); }
64 inline GetSessionRequest& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;}
65 inline GetSessionRequest& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;}
66 inline GetSessionRequest& WithBotAlias(const char* value) { SetBotAlias(value); return *this;}
68
70
74 inline const Aws::String& GetUserId() const{ return m_userId; }
75 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
76 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
77 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
78 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
79 inline GetSessionRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
80 inline GetSessionRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
81 inline GetSessionRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
83
85
91 inline const Aws::String& GetCheckpointLabelFilter() const{ return m_checkpointLabelFilter; }
92 inline bool CheckpointLabelFilterHasBeenSet() const { return m_checkpointLabelFilterHasBeenSet; }
93 inline void SetCheckpointLabelFilter(const Aws::String& value) { m_checkpointLabelFilterHasBeenSet = true; m_checkpointLabelFilter = value; }
94 inline void SetCheckpointLabelFilter(Aws::String&& value) { m_checkpointLabelFilterHasBeenSet = true; m_checkpointLabelFilter = std::move(value); }
95 inline void SetCheckpointLabelFilter(const char* value) { m_checkpointLabelFilterHasBeenSet = true; m_checkpointLabelFilter.assign(value); }
97 inline GetSessionRequest& WithCheckpointLabelFilter(Aws::String&& value) { SetCheckpointLabelFilter(std::move(value)); return *this;}
98 inline GetSessionRequest& WithCheckpointLabelFilter(const char* value) { SetCheckpointLabelFilter(value); return *this;}
100 private:
101
102 Aws::String m_botName;
103 bool m_botNameHasBeenSet = false;
104
105 Aws::String m_botAlias;
106 bool m_botAliasHasBeenSet = false;
107
108 Aws::String m_userId;
109 bool m_userIdHasBeenSet = false;
110
111 Aws::String m_checkpointLabelFilter;
112 bool m_checkpointLabelFilterHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace LexRuntimeService
117} // namespace Aws
GetSessionRequest & WithBotAlias(const Aws::String &value)
GetSessionRequest & WithBotName(const char *value)
GetSessionRequest & WithBotName(Aws::String &&value)
GetSessionRequest & WithUserId(Aws::String &&value)
GetSessionRequest & WithCheckpointLabelFilter(Aws::String &&value)
GetSessionRequest & WithCheckpointLabelFilter(const Aws::String &value)
GetSessionRequest & WithUserId(const Aws::String &value)
GetSessionRequest & WithUserId(const char *value)
GetSessionRequest & WithBotAlias(const char *value)
void SetCheckpointLabelFilter(const Aws::String &value)
GetSessionRequest & WithBotName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetSessionRequest & WithBotAlias(Aws::String &&value)
GetSessionRequest & WithCheckpointLabelFilter(const char *value)
AWS_LEXRUNTIMESERVICE_API Aws::String SerializePayload() const override
AWS_LEXRUNTIMESERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_LEXRUNTIMESERVICE_API GetSessionRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String