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>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename SessionIdT = Aws::String>
44 void SetSessionId(
SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
45 template<
typename SessionIdT = Aws::String>
54 template<
typename SessionArnT = Aws::String>
56 template<
typename SessionArnT = Aws::String>
65 template<
typename SessionNameT = Aws::String>
67 template<
typename SessionNameT = Aws::String>
76 inline void SetAppVersion(
int value) { m_appVersionHasBeenSet =
true; m_appVersion = value; }
103 template<
typename CardStatusT = Aws::Map<Aws::String, CardStatus>>
105 template<
typename CardStatusT = Aws::Map<Aws::String, CardStatus>>
107 template<
typename CardStatusKeyT = Aws::String,
typename CardStatusValueT = CardStatus>
109 m_cardStatusHasBeenSet =
true; m_cardStatus.emplace(std::forward<CardStatusKeyT>(
key), std::forward<CardStatusValueT>(value));
return *
this;
119 inline void SetUserIsHost(
bool value) { m_userIsHostHasBeenSet =
true; m_userIsHost = value; }
126 template<
typename RequestIdT = Aws::String>
128 template<
typename RequestIdT = Aws::String>
134 bool m_sessionIdHasBeenSet =
false;
137 bool m_sessionArnHasBeenSet =
false;
140 bool m_sessionNameHasBeenSet =
false;
143 bool m_appVersionHasBeenSet =
false;
145 int m_latestPublishedAppVersion{0};
146 bool m_latestPublishedAppVersionHasBeenSet =
false;
149 bool m_statusHasBeenSet =
false;
152 bool m_cardStatusHasBeenSet =
false;
154 bool m_userIsHost{
false};
155 bool m_userIsHostHasBeenSet =
false;
158 bool m_requestIdHasBeenSet =
false;
void SetStatus(ExecutionStatus value)
GetQAppSessionResult & WithSessionArn(SessionArnT &&value)
bool GetUserIsHost() const
const Aws::Map< Aws::String, CardStatus > & GetCardStatus() const
GetQAppSessionResult & WithStatus(ExecutionStatus value)
GetQAppSessionResult & AddCardStatus(CardStatusKeyT &&key, CardStatusValueT &&value)
int GetLatestPublishedAppVersion() const
void SetAppVersion(int value)
void SetSessionName(SessionNameT &&value)
GetQAppSessionResult & WithSessionName(SessionNameT &&value)
const Aws::String & GetSessionName() const
void SetRequestId(RequestIdT &&value)
void SetCardStatus(CardStatusT &&value)
GetQAppSessionResult & WithSessionId(SessionIdT &&value)
void SetSessionArn(SessionArnT &&value)
AWS_QAPPS_API GetQAppSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QAPPS_API GetQAppSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExecutionStatus GetStatus() const
const Aws::String & GetRequestId() const
GetQAppSessionResult & WithAppVersion(int value)
const Aws::String & GetSessionArn() const
const Aws::String & GetSessionId() const
AWS_QAPPS_API GetQAppSessionResult()=default
int GetAppVersion() const
GetQAppSessionResult & WithCardStatus(CardStatusT &&value)
GetQAppSessionResult & WithLatestPublishedAppVersion(int value)
GetQAppSessionResult & WithRequestId(RequestIdT &&value)
void SetLatestPublishedAppVersion(int value)
void SetUserIsHost(bool value)
void SetSessionId(SessionIdT &&value)
GetQAppSessionResult & WithUserIsHost(bool value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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