AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
DeleteSessionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex/LexRuntimeService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace LexRuntimeService {
23namespace Model {
25 public:
26 AWS_LEXRUNTIMESERVICE_API DeleteSessionResult() = default;
29
31
34 inline const Aws::String& GetBotName() const { return m_botName; }
35 template <typename BotNameT = Aws::String>
36 void SetBotName(BotNameT&& value) {
37 m_botNameHasBeenSet = true;
38 m_botName = std::forward<BotNameT>(value);
39 }
40 template <typename BotNameT = Aws::String>
41 DeleteSessionResult& WithBotName(BotNameT&& value) {
42 SetBotName(std::forward<BotNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetBotAlias() const { return m_botAlias; }
52 template <typename BotAliasT = Aws::String>
53 void SetBotAlias(BotAliasT&& value) {
54 m_botAliasHasBeenSet = true;
55 m_botAlias = std::forward<BotAliasT>(value);
56 }
57 template <typename BotAliasT = Aws::String>
58 DeleteSessionResult& WithBotAlias(BotAliasT&& value) {
59 SetBotAlias(std::forward<BotAliasT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetUserId() const { return m_userId; }
69 template <typename UserIdT = Aws::String>
70 void SetUserId(UserIdT&& value) {
71 m_userIdHasBeenSet = true;
72 m_userId = std::forward<UserIdT>(value);
73 }
74 template <typename UserIdT = Aws::String>
75 DeleteSessionResult& WithUserId(UserIdT&& value) {
76 SetUserId(std::forward<UserIdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetSessionId() const { return m_sessionId; }
86 template <typename SessionIdT = Aws::String>
87 void SetSessionId(SessionIdT&& value) {
88 m_sessionIdHasBeenSet = true;
89 m_sessionId = std::forward<SessionIdT>(value);
90 }
91 template <typename SessionIdT = Aws::String>
92 DeleteSessionResult& WithSessionId(SessionIdT&& value) {
93 SetSessionId(std::forward<SessionIdT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
107 DeleteSessionResult& WithRequestId(RequestIdT&& value) {
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_botName;
116
117 Aws::String m_botAlias;
118
119 Aws::String m_userId;
120
121 Aws::String m_sessionId;
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_botNameHasBeenSet = false;
126 bool m_botAliasHasBeenSet = false;
127 bool m_userIdHasBeenSet = false;
128 bool m_sessionIdHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace LexRuntimeService
134} // namespace Aws
DeleteSessionResult & WithBotName(BotNameT &&value)
DeleteSessionResult & WithRequestId(RequestIdT &&value)
AWS_LEXRUNTIMESERVICE_API DeleteSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LEXRUNTIMESERVICE_API DeleteSessionResult()=default
DeleteSessionResult & WithUserId(UserIdT &&value)
DeleteSessionResult & WithSessionId(SessionIdT &&value)
AWS_LEXRUNTIMESERVICE_API DeleteSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSessionResult & WithBotAlias(BotAliasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue