7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/workspaces/WorkSpaces_EXPORTS.h>
11#include <aws/workspaces/model/AuthenticationType.h>
12#include <aws/workspaces/model/NetworkAccessConfiguration.h>
13#include <aws/workspaces/model/SessionConnectionState.h>
36 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 m_authenticationTypeHasBeenSet =
true;
47 m_authenticationType = value;
62 m_connectionStateHasBeenSet =
true;
63 m_connectionState = value;
77 template <
typename SessionIdT = Aws::String>
79 m_sessionIdHasBeenSet =
true;
80 m_sessionId = std::forward<SessionIdT>(value);
82 template <
typename SessionIdT = Aws::String>
95 template <
typename InstanceIdT = Aws::String>
97 m_instanceIdHasBeenSet =
true;
98 m_instanceId = std::forward<InstanceIdT>(value);
100 template <
typename InstanceIdT = Aws::String>
113 template <
typename PoolIdT = Aws::String>
115 m_poolIdHasBeenSet =
true;
116 m_poolId = std::forward<PoolIdT>(value);
118 template <
typename PoolIdT = Aws::String>
131 template <
typename ExpirationTimeT = Aws::Utils::DateTime>
133 m_expirationTimeHasBeenSet =
true;
134 m_expirationTime = std::forward<ExpirationTimeT>(value);
136 template <
typename ExpirationTimeT = Aws::Utils::DateTime>
149 template <
typename NetworkAccessConfigurationT = NetworkAccessConfiguration>
151 m_networkAccessConfigurationHasBeenSet =
true;
152 m_networkAccessConfiguration = std::forward<NetworkAccessConfigurationT>(value);
154 template <
typename NetworkAccessConfigurationT = NetworkAccessConfiguration>
167 template <
typename StartTimeT = Aws::Utils::DateTime>
169 m_startTimeHasBeenSet =
true;
170 m_startTime = std::forward<StartTimeT>(value);
172 template <
typename StartTimeT = Aws::Utils::DateTime>
185 template <
typename UserIdT = Aws::String>
187 m_userIdHasBeenSet =
true;
188 m_userId = std::forward<UserIdT>(value);
190 template <
typename UserIdT = Aws::String>
209 NetworkAccessConfiguration m_networkAccessConfiguration;
214 bool m_authenticationTypeHasBeenSet =
false;
215 bool m_connectionStateHasBeenSet =
false;
216 bool m_sessionIdHasBeenSet =
false;
217 bool m_instanceIdHasBeenSet =
false;
218 bool m_poolIdHasBeenSet =
false;
219 bool m_expirationTimeHasBeenSet =
false;
220 bool m_networkAccessConfigurationHasBeenSet =
false;
221 bool m_startTimeHasBeenSet =
false;
222 bool m_userIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetExpirationTime() const
WorkspacesPoolSession & WithInstanceId(InstanceIdT &&value)
bool UserIdHasBeenSet() const
void SetPoolId(PoolIdT &&value)
WorkspacesPoolSession & WithAuthenticationType(AuthenticationType value)
AWS_WORKSPACES_API WorkspacesPoolSession(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
WorkspacesPoolSession & WithPoolId(PoolIdT &&value)
void SetConnectionState(SessionConnectionState value)
SessionConnectionState GetConnectionState() const
bool ConnectionStateHasBeenSet() const
void SetUserId(UserIdT &&value)
const Aws::String & GetUserId() const
AuthenticationType GetAuthenticationType() const
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetSessionId(SessionIdT &&value)
bool SessionIdHasBeenSet() const
bool AuthenticationTypeHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetExpirationTime(ExpirationTimeT &&value)
const Aws::String & GetSessionId() const
AWS_WORKSPACES_API WorkspacesPoolSession()=default
WorkspacesPoolSession & WithStartTime(StartTimeT &&value)
AWS_WORKSPACES_API WorkspacesPoolSession & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Utils::DateTime & GetStartTime() const
WorkspacesPoolSession & WithSessionId(SessionIdT &&value)
void SetAuthenticationType(AuthenticationType value)
WorkspacesPoolSession & WithUserId(UserIdT &&value)
void SetInstanceId(InstanceIdT &&value)
bool PoolIdHasBeenSet() const
bool StartTimeHasBeenSet() const
void SetNetworkAccessConfiguration(NetworkAccessConfigurationT &&value)
bool NetworkAccessConfigurationHasBeenSet() const
const Aws::String & GetPoolId() const
bool ExpirationTimeHasBeenSet() const
void SetStartTime(StartTimeT &&value)
WorkspacesPoolSession & WithConnectionState(SessionConnectionState value)
WorkspacesPoolSession & WithExpirationTime(ExpirationTimeT &&value)
bool InstanceIdHasBeenSet() const
const NetworkAccessConfiguration & GetNetworkAccessConfiguration() const
WorkspacesPoolSession & WithNetworkAccessConfiguration(NetworkAccessConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String