AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSessionDataResult.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/model/SessionDataNamespace.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/qconnect/model/RuntimeSessionData.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace QConnect
27{
28namespace Model
29{
31 {
32 public:
33 AWS_QCONNECT_API UpdateSessionDataResult();
36
37
39
42 inline const Aws::Vector<RuntimeSessionData>& GetData() const{ return m_data; }
43 inline void SetData(const Aws::Vector<RuntimeSessionData>& value) { m_data = value; }
44 inline void SetData(Aws::Vector<RuntimeSessionData>&& value) { m_data = std::move(value); }
45 inline UpdateSessionDataResult& WithData(const Aws::Vector<RuntimeSessionData>& value) { SetData(value); return *this;}
46 inline UpdateSessionDataResult& WithData(Aws::Vector<RuntimeSessionData>&& value) { SetData(std::move(value)); return *this;}
47 inline UpdateSessionDataResult& AddData(const RuntimeSessionData& value) { m_data.push_back(value); return *this; }
48 inline UpdateSessionDataResult& AddData(RuntimeSessionData&& value) { m_data.push_back(std::move(value)); return *this; }
50
52
56 inline const SessionDataNamespace& GetNamespace() const{ return m_namespace; }
57 inline void SetNamespace(const SessionDataNamespace& value) { m_namespace = value; }
58 inline void SetNamespace(SessionDataNamespace&& value) { m_namespace = std::move(value); }
59 inline UpdateSessionDataResult& WithNamespace(const SessionDataNamespace& value) { SetNamespace(value); return *this;}
60 inline UpdateSessionDataResult& WithNamespace(SessionDataNamespace&& value) { SetNamespace(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetSessionArn() const{ return m_sessionArn; }
68 inline void SetSessionArn(const Aws::String& value) { m_sessionArn = value; }
69 inline void SetSessionArn(Aws::String&& value) { m_sessionArn = std::move(value); }
70 inline void SetSessionArn(const char* value) { m_sessionArn.assign(value); }
71 inline UpdateSessionDataResult& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;}
72 inline UpdateSessionDataResult& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;}
73 inline UpdateSessionDataResult& WithSessionArn(const char* value) { SetSessionArn(value); return *this;}
75
77
80 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
81 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
82 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
83 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
84 inline UpdateSessionDataResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
85 inline UpdateSessionDataResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
86 inline UpdateSessionDataResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline UpdateSessionDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline UpdateSessionDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline UpdateSessionDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
102
103 SessionDataNamespace m_namespace;
104
105 Aws::String m_sessionArn;
106
107 Aws::String m_sessionId;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace QConnect
114} // namespace Aws
UpdateSessionDataResult & WithRequestId(const Aws::String &value)
UpdateSessionDataResult & AddData(RuntimeSessionData &&value)
void SetData(Aws::Vector< RuntimeSessionData > &&value)
UpdateSessionDataResult & WithSessionId(Aws::String &&value)
UpdateSessionDataResult & WithSessionId(const char *value)
const Aws::Vector< RuntimeSessionData > & GetData() const
UpdateSessionDataResult & WithNamespace(SessionDataNamespace &&value)
UpdateSessionDataResult & WithSessionId(const Aws::String &value)
void SetNamespace(const SessionDataNamespace &value)
UpdateSessionDataResult & WithNamespace(const SessionDataNamespace &value)
void SetNamespace(SessionDataNamespace &&value)
UpdateSessionDataResult & WithSessionArn(const Aws::String &value)
UpdateSessionDataResult & WithSessionArn(Aws::String &&value)
AWS_QCONNECT_API UpdateSessionDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSessionDataResult & WithSessionArn(const char *value)
UpdateSessionDataResult & WithRequestId(Aws::String &&value)
AWS_QCONNECT_API UpdateSessionDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSessionDataResult & AddData(const RuntimeSessionData &value)
UpdateSessionDataResult & WithData(const Aws::Vector< RuntimeSessionData > &value)
const SessionDataNamespace & GetNamespace() const
UpdateSessionDataResult & WithRequestId(const char *value)
void SetData(const Aws::Vector< RuntimeSessionData > &value)
UpdateSessionDataResult & WithData(Aws::Vector< RuntimeSessionData > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue