7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/ConnectionState.h>
10#include <aws/core/utils/DateTime.h>
50 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
95 bool m_workspaceIdHasBeenSet =
false;
98 bool m_connectionStateHasBeenSet =
false;
101 bool m_connectionStateCheckTimestampHasBeenSet =
false;
104 bool m_lastKnownUserConnectionTimestampHasBeenSet =
false;
void SetWorkspaceId(const Aws::String &value)
AWS_WORKSPACES_API WorkspaceConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionState(ConnectionState &&value)
WorkspaceConnectionStatus & WithConnectionState(ConnectionState &&value)
const ConnectionState & GetConnectionState() const
WorkspaceConnectionStatus & WithLastKnownUserConnectionTimestamp(Aws::Utils::DateTime &&value)
void SetConnectionStateCheckTimestamp(Aws::Utils::DateTime &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetWorkspaceId() const
void SetWorkspaceId(Aws::String &&value)
void SetConnectionState(const ConnectionState &value)
WorkspaceConnectionStatus & WithLastKnownUserConnectionTimestamp(const Aws::Utils::DateTime &value)
WorkspaceConnectionStatus & WithConnectionState(const ConnectionState &value)
AWS_WORKSPACES_API WorkspaceConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
WorkspaceConnectionStatus & WithWorkspaceId(const char *value)
void SetWorkspaceId(const char *value)
WorkspaceConnectionStatus & WithConnectionStateCheckTimestamp(Aws::Utils::DateTime &&value)
WorkspaceConnectionStatus & WithWorkspaceId(const Aws::String &value)
void SetLastKnownUserConnectionTimestamp(Aws::Utils::DateTime &&value)
bool ConnectionStateCheckTimestampHasBeenSet() const
WorkspaceConnectionStatus & WithWorkspaceId(Aws::String &&value)
void SetConnectionStateCheckTimestamp(const Aws::Utils::DateTime &value)
bool LastKnownUserConnectionTimestampHasBeenSet() const
bool ConnectionStateHasBeenSet() const
AWS_WORKSPACES_API WorkspaceConnectionStatus()
const Aws::Utils::DateTime & GetConnectionStateCheckTimestamp() const
const Aws::Utils::DateTime & GetLastKnownUserConnectionTimestamp() const
WorkspaceConnectionStatus & WithConnectionStateCheckTimestamp(const Aws::Utils::DateTime &value)
void SetLastKnownUserConnectionTimestamp(const Aws::Utils::DateTime &value)
bool WorkspaceIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue