7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/AuthenticationType.h>
9#include <aws/workspaces/model/SessionConnectionState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/workspaces/model/NetworkAccessConfiguration.h>
77 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
91 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
105 inline void SetPoolId(
const char* value) { m_poolIdHasBeenSet =
true; m_poolId.assign(value); }
155 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
163 bool m_authenticationTypeHasBeenSet =
false;
166 bool m_connectionStateHasBeenSet =
false;
169 bool m_sessionIdHasBeenSet =
false;
172 bool m_instanceIdHasBeenSet =
false;
175 bool m_poolIdHasBeenSet =
false;
178 bool m_expirationTimeHasBeenSet =
false;
181 bool m_networkAccessConfigurationHasBeenSet =
false;
184 bool m_startTimeHasBeenSet =
false;
187 bool m_userIdHasBeenSet =
false;
const AuthenticationType & GetAuthenticationType() const
WorkspacesPoolSession & WithNetworkAccessConfiguration(const NetworkAccessConfiguration &value)
const Aws::Utils::DateTime & GetExpirationTime() const
const SessionConnectionState & GetConnectionState() const
void SetSessionId(Aws::String &&value)
void SetPoolId(const char *value)
WorkspacesPoolSession & WithExpirationTime(const Aws::Utils::DateTime &value)
void SetSessionId(const char *value)
WorkspacesPoolSession & WithPoolId(Aws::String &&value)
AWS_WORKSPACES_API WorkspacesPoolSession()
void SetPoolId(const Aws::String &value)
bool UserIdHasBeenSet() const
WorkspacesPoolSession & WithInstanceId(Aws::String &&value)
WorkspacesPoolSession & WithPoolId(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetInstanceId(const char *value)
WorkspacesPoolSession & WithExpirationTime(Aws::Utils::DateTime &&value)
bool ConnectionStateHasBeenSet() const
WorkspacesPoolSession & WithUserId(const char *value)
const Aws::String & GetUserId() const
void SetUserId(Aws::String &&value)
WorkspacesPoolSession & WithInstanceId(const Aws::String &value)
WorkspacesPoolSession & WithSessionId(Aws::String &&value)
WorkspacesPoolSession & WithStartTime(const Aws::Utils::DateTime &value)
AWS_WORKSPACES_API WorkspacesPoolSession & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceId(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
WorkspacesPoolSession & WithPoolId(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
WorkspacesPoolSession & WithAuthenticationType(const AuthenticationType &value)
WorkspacesPoolSession & WithStartTime(Aws::Utils::DateTime &&value)
bool SessionIdHasBeenSet() const
WorkspacesPoolSession & WithUserId(Aws::String &&value)
bool AuthenticationTypeHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetUserId(const Aws::String &value)
void SetExpirationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetSessionId() const
void SetConnectionState(const SessionConnectionState &value)
WorkspacesPoolSession & WithNetworkAccessConfiguration(NetworkAccessConfiguration &&value)
void SetUserId(const char *value)
void SetSessionId(const Aws::String &value)
void SetAuthenticationType(AuthenticationType &&value)
const Aws::Utils::DateTime & GetStartTime() const
WorkspacesPoolSession & WithSessionId(const char *value)
void SetPoolId(Aws::String &&value)
void SetAuthenticationType(const AuthenticationType &value)
bool PoolIdHasBeenSet() const
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool StartTimeHasBeenSet() const
WorkspacesPoolSession & WithUserId(const Aws::String &value)
bool NetworkAccessConfigurationHasBeenSet() const
WorkspacesPoolSession & WithConnectionState(SessionConnectionState &&value)
WorkspacesPoolSession & WithInstanceId(const char *value)
const Aws::String & GetPoolId() const
bool ExpirationTimeHasBeenSet() const
void SetExpirationTime(Aws::Utils::DateTime &&value)
void SetConnectionState(SessionConnectionState &&value)
WorkspacesPoolSession & WithConnectionState(const SessionConnectionState &value)
WorkspacesPoolSession & WithAuthenticationType(AuthenticationType &&value)
void SetNetworkAccessConfiguration(const NetworkAccessConfiguration &value)
WorkspacesPoolSession & WithSessionId(const Aws::String &value)
bool InstanceIdHasBeenSet() const
const NetworkAccessConfiguration & GetNetworkAccessConfiguration() const
AWS_WORKSPACES_API WorkspacesPoolSession(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkAccessConfiguration(NetworkAccessConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue