7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
10#include <aws/workspaces-web/model/SessionStatus.h>
21namespace WorkSpacesWeb {
43 template <
typename PortalArnT = Aws::String>
45 m_portalArnHasBeenSet =
true;
46 m_portalArn = std::forward<PortalArnT>(value);
48 template <
typename PortalArnT = Aws::String>
61 template <
typename SessionIdT = Aws::String>
63 m_sessionIdHasBeenSet =
true;
64 m_sessionId = std::forward<SessionIdT>(value);
66 template <
typename SessionIdT = Aws::String>
79 template <
typename UsernameT = Aws::String>
81 m_usernameHasBeenSet =
true;
82 m_username = std::forward<UsernameT>(value);
84 template <
typename UsernameT = Aws::String>
98 m_statusHasBeenSet =
true;
113 template <
typename StartTimeT = Aws::Utils::DateTime>
115 m_startTimeHasBeenSet =
true;
116 m_startTime = std::forward<StartTimeT>(value);
118 template <
typename StartTimeT = Aws::Utils::DateTime>
131 template <
typename EndTimeT = Aws::Utils::DateTime>
133 m_endTimeHasBeenSet =
true;
134 m_endTime = std::forward<EndTimeT>(value);
136 template <
typename EndTimeT = Aws::Utils::DateTime>
154 bool m_portalArnHasBeenSet =
false;
155 bool m_sessionIdHasBeenSet =
false;
156 bool m_usernameHasBeenSet =
false;
157 bool m_statusHasBeenSet =
false;
158 bool m_startTimeHasBeenSet =
false;
159 bool m_endTimeHasBeenSet =
false;
SessionSummary & WithPortalArn(PortalArnT &&value)
void SetEndTime(EndTimeT &&value)
bool PortalArnHasBeenSet() const
void SetStartTime(StartTimeT &&value)
SessionStatus GetStatus() const
SessionSummary & WithStatus(SessionStatus value)
void SetStatus(SessionStatus value)
bool UsernameHasBeenSet() const
AWS_WORKSPACESWEB_API SessionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
AWS_WORKSPACESWEB_API SessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EndTimeHasBeenSet() const
SessionSummary & WithSessionId(SessionIdT &&value)
bool SessionIdHasBeenSet() const
const Aws::String & GetPortalArn() const
bool StartTimeHasBeenSet() const
void SetPortalArn(PortalArnT &&value)
bool StatusHasBeenSet() const
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetSessionId() const
void SetUsername(UsernameT &&value)
SessionSummary & WithStartTime(StartTimeT &&value)
SessionSummary & WithEndTime(EndTimeT &&value)
AWS_WORKSPACESWEB_API SessionSummary()=default
SessionSummary & WithUsername(UsernameT &&value)
void SetSessionId(SessionIdT &&value)
const Aws::String & GetUsername() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue