AWS SDK for C++

AWS SDK for C++ Version 1.11.764

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/lexv2-runtime/LexRuntimeV2_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 LexRuntimeV2 {
23namespace Model {
25 public:
26 AWS_LEXRUNTIMEV2_API DeleteSessionResult() = default;
29
31
34 inline const Aws::String& GetBotId() const { return m_botId; }
35 template <typename BotIdT = Aws::String>
36 void SetBotId(BotIdT&& value) {
37 m_botIdHasBeenSet = true;
38 m_botId = std::forward<BotIdT>(value);
39 }
40 template <typename BotIdT = Aws::String>
41 DeleteSessionResult& WithBotId(BotIdT&& value) {
42 SetBotId(std::forward<BotIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
52 template <typename BotAliasIdT = Aws::String>
53 void SetBotAliasId(BotAliasIdT&& value) {
54 m_botAliasIdHasBeenSet = true;
55 m_botAliasId = std::forward<BotAliasIdT>(value);
56 }
57 template <typename BotAliasIdT = Aws::String>
58 DeleteSessionResult& WithBotAliasId(BotAliasIdT&& value) {
59 SetBotAliasId(std::forward<BotAliasIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetLocaleId() const { return m_localeId; }
69 template <typename LocaleIdT = Aws::String>
70 void SetLocaleId(LocaleIdT&& value) {
71 m_localeIdHasBeenSet = true;
72 m_localeId = std::forward<LocaleIdT>(value);
73 }
74 template <typename LocaleIdT = Aws::String>
75 DeleteSessionResult& WithLocaleId(LocaleIdT&& value) {
76 SetLocaleId(std::forward<LocaleIdT>(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_botId;
116
117 Aws::String m_botAliasId;
118
119 Aws::String m_localeId;
120
121 Aws::String m_sessionId;
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_botIdHasBeenSet = false;
126 bool m_botAliasIdHasBeenSet = false;
127 bool m_localeIdHasBeenSet = false;
128 bool m_sessionIdHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace LexRuntimeV2
134} // namespace Aws
DeleteSessionResult & WithRequestId(RequestIdT &&value)
AWS_LEXRUNTIMEV2_API DeleteSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSessionResult & WithBotId(BotIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteSessionResult & WithLocaleId(LocaleIdT &&value)
AWS_LEXRUNTIMEV2_API DeleteSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSessionResult & WithSessionId(SessionIdT &&value)
AWS_LEXRUNTIMEV2_API DeleteSessionResult()=default
DeleteSessionResult & WithBotAliasId(BotAliasIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue