AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQAppSessionResult.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/model/ExecutionStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/qapps/model/CardStatus.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 QApps
27{
28namespace Model
29{
31 {
32 public:
33 AWS_QAPPS_API GetQAppSessionResult();
36
37
39
42 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
43 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
44 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
45 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
46 inline GetQAppSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
47 inline GetQAppSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
48 inline GetQAppSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
50
52
55 inline const Aws::String& GetSessionArn() const{ return m_sessionArn; }
56 inline void SetSessionArn(const Aws::String& value) { m_sessionArn = value; }
57 inline void SetSessionArn(Aws::String&& value) { m_sessionArn = std::move(value); }
58 inline void SetSessionArn(const char* value) { m_sessionArn.assign(value); }
59 inline GetQAppSessionResult& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;}
60 inline GetQAppSessionResult& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;}
61 inline GetQAppSessionResult& WithSessionArn(const char* value) { SetSessionArn(value); return *this;}
63
65
68 inline const ExecutionStatus& GetStatus() const{ return m_status; }
69 inline void SetStatus(const ExecutionStatus& value) { m_status = value; }
70 inline void SetStatus(ExecutionStatus&& value) { m_status = std::move(value); }
71 inline GetQAppSessionResult& WithStatus(const ExecutionStatus& value) { SetStatus(value); return *this;}
72 inline GetQAppSessionResult& WithStatus(ExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
74
76
79 inline const Aws::Map<Aws::String, CardStatus>& GetCardStatus() const{ return m_cardStatus; }
80 inline void SetCardStatus(const Aws::Map<Aws::String, CardStatus>& value) { m_cardStatus = value; }
81 inline void SetCardStatus(Aws::Map<Aws::String, CardStatus>&& value) { m_cardStatus = std::move(value); }
83 inline GetQAppSessionResult& WithCardStatus(Aws::Map<Aws::String, CardStatus>&& value) { SetCardStatus(std::move(value)); return *this;}
84 inline GetQAppSessionResult& AddCardStatus(const Aws::String& key, const CardStatus& value) { m_cardStatus.emplace(key, value); return *this; }
85 inline GetQAppSessionResult& AddCardStatus(Aws::String&& key, const CardStatus& value) { m_cardStatus.emplace(std::move(key), value); return *this; }
86 inline GetQAppSessionResult& AddCardStatus(const Aws::String& key, CardStatus&& value) { m_cardStatus.emplace(key, std::move(value)); return *this; }
87 inline GetQAppSessionResult& AddCardStatus(Aws::String&& key, CardStatus&& value) { m_cardStatus.emplace(std::move(key), std::move(value)); return *this; }
88 inline GetQAppSessionResult& AddCardStatus(const char* key, CardStatus&& value) { m_cardStatus.emplace(key, std::move(value)); return *this; }
89 inline GetQAppSessionResult& AddCardStatus(const char* key, const CardStatus& value) { m_cardStatus.emplace(key, value); return *this; }
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline GetQAppSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline GetQAppSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline GetQAppSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_sessionId;
105
106 Aws::String m_sessionArn;
107
108 ExecutionStatus m_status;
109
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace QApps
117} // namespace Aws
GetQAppSessionResult & AddCardStatus(const char *key, const CardStatus &value)
GetQAppSessionResult & WithRequestId(const Aws::String &value)
GetQAppSessionResult & WithSessionId(const Aws::String &value)
const Aws::Map< Aws::String, CardStatus > & GetCardStatus() const
GetQAppSessionResult & AddCardStatus(const Aws::String &key, const CardStatus &value)
void SetSessionArn(const Aws::String &value)
GetQAppSessionResult & WithCardStatus(Aws::Map< Aws::String, CardStatus > &&value)
GetQAppSessionResult & AddCardStatus(const Aws::String &key, CardStatus &&value)
void SetCardStatus(Aws::Map< Aws::String, CardStatus > &&value)
GetQAppSessionResult & WithStatus(const ExecutionStatus &value)
GetQAppSessionResult & WithSessionId(const char *value)
GetQAppSessionResult & AddCardStatus(Aws::String &&key, CardStatus &&value)
void SetStatus(ExecutionStatus &&value)
GetQAppSessionResult & WithSessionArn(const Aws::String &value)
const ExecutionStatus & GetStatus() const
GetQAppSessionResult & WithStatus(ExecutionStatus &&value)
AWS_QAPPS_API GetQAppSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQAppSessionResult & WithSessionId(Aws::String &&value)
GetQAppSessionResult & WithSessionArn(Aws::String &&value)
GetQAppSessionResult & AddCardStatus(Aws::String &&key, const CardStatus &value)
AWS_QAPPS_API GetQAppSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQAppSessionResult & AddCardStatus(const char *key, CardStatus &&value)
GetQAppSessionResult & WithRequestId(const char *value)
GetQAppSessionResult & WithRequestId(Aws::String &&value)
GetQAppSessionResult & WithSessionArn(const char *value)
GetQAppSessionResult & WithCardStatus(const Aws::Map< Aws::String, CardStatus > &value)
void SetCardStatus(const Aws::Map< Aws::String, CardStatus > &value)
void SetRequestId(const Aws::String &value)
void SetSessionId(const Aws::String &value)
void SetStatus(const ExecutionStatus &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue