AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteSessionResult.h
1
6#pragma once
7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LexRuntimeService
24{
25namespace Model
26{
28 {
29 public:
30 AWS_LEXRUNTIMESERVICE_API DeleteSessionResult();
33
34
36
39 inline const Aws::String& GetBotName() const{ return m_botName; }
40 inline void SetBotName(const Aws::String& value) { m_botName = value; }
41 inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
42 inline void SetBotName(const char* value) { m_botName.assign(value); }
43 inline DeleteSessionResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
44 inline DeleteSessionResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
45 inline DeleteSessionResult& WithBotName(const char* value) { SetBotName(value); return *this;}
47
49
52 inline const Aws::String& GetBotAlias() const{ return m_botAlias; }
53 inline void SetBotAlias(const Aws::String& value) { m_botAlias = value; }
54 inline void SetBotAlias(Aws::String&& value) { m_botAlias = std::move(value); }
55 inline void SetBotAlias(const char* value) { m_botAlias.assign(value); }
56 inline DeleteSessionResult& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;}
57 inline DeleteSessionResult& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;}
58 inline DeleteSessionResult& WithBotAlias(const char* value) { SetBotAlias(value); return *this;}
60
62
65 inline const Aws::String& GetUserId() const{ return m_userId; }
66 inline void SetUserId(const Aws::String& value) { m_userId = value; }
67 inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); }
68 inline void SetUserId(const char* value) { m_userId.assign(value); }
69 inline DeleteSessionResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
70 inline DeleteSessionResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
71 inline DeleteSessionResult& WithUserId(const char* value) { SetUserId(value); return *this;}
73
75
78 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
79 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
80 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
81 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
82 inline DeleteSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
83 inline DeleteSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
84 inline DeleteSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline DeleteSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline DeleteSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline DeleteSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_botName;
100
101 Aws::String m_botAlias;
102
103 Aws::String m_userId;
104
105 Aws::String m_sessionId;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace LexRuntimeService
112} // namespace Aws
DeleteSessionResult & WithSessionId(const Aws::String &value)
DeleteSessionResult & WithUserId(const char *value)
DeleteSessionResult & WithBotAlias(Aws::String &&value)
DeleteSessionResult & WithBotAlias(const Aws::String &value)
DeleteSessionResult & WithRequestId(const char *value)
DeleteSessionResult & WithRequestId(const Aws::String &value)
AWS_LEXRUNTIMESERVICE_API DeleteSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSessionResult & WithBotName(const Aws::String &value)
DeleteSessionResult & WithSessionId(Aws::String &&value)
DeleteSessionResult & WithBotName(const char *value)
DeleteSessionResult & WithRequestId(Aws::String &&value)
AWS_LEXRUNTIMESERVICE_API DeleteSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSessionResult & WithUserId(Aws::String &&value)
DeleteSessionResult & WithUserId(const Aws::String &value)
DeleteSessionResult & WithBotAlias(const char *value)
DeleteSessionResult & WithBotName(Aws::String &&value)
DeleteSessionResult & WithSessionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue