7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AuthenticationType.h>
9#include <aws/appstream/model/InstanceDrainStatus.h>
10#include <aws/appstream/model/NetworkAccessConfiguration.h>
11#include <aws/appstream/model/SessionConnectionState.h>
12#include <aws/appstream/model/SessionState.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename UserIdT = Aws::String>
66 m_userIdHasBeenSet =
true;
67 m_userId = std::forward<UserIdT>(value);
69 template <
typename UserIdT = Aws::String>
82 template <
typename StackNameT = Aws::String>
84 m_stackNameHasBeenSet =
true;
85 m_stackName = std::forward<StackNameT>(value);
87 template <
typename StackNameT = Aws::String>
100 template <
typename FleetNameT = Aws::String>
102 m_fleetNameHasBeenSet =
true;
103 m_fleetName = std::forward<FleetNameT>(value);
105 template <
typename FleetNameT = Aws::String>
119 m_stateHasBeenSet =
true;
135 m_connectionStateHasBeenSet =
true;
136 m_connectionState = value;
150 template <
typename StartTimeT = Aws::Utils::DateTime>
152 m_startTimeHasBeenSet =
true;
153 m_startTime = std::forward<StartTimeT>(value);
155 template <
typename StartTimeT = Aws::Utils::DateTime>
175 template <
typename MaxExpirationTimeT = Aws::Utils::DateTime>
177 m_maxExpirationTimeHasBeenSet =
true;
178 m_maxExpirationTime = std::forward<MaxExpirationTimeT>(value);
180 template <
typename MaxExpirationTimeT = Aws::Utils::DateTime>
195 m_authenticationTypeHasBeenSet =
true;
196 m_authenticationType = value;
210 template <
typename NetworkAccessConfigurationT = NetworkAccessConfiguration>
212 m_networkAccessConfigurationHasBeenSet =
true;
213 m_networkAccessConfiguration = std::forward<NetworkAccessConfigurationT>(value);
215 template <
typename NetworkAccessConfigurationT = NetworkAccessConfiguration>
228 template <
typename InstanceIdT = Aws::String>
230 m_instanceIdHasBeenSet =
true;
231 m_instanceId = std::forward<InstanceIdT>(value);
233 template <
typename InstanceIdT = Aws::String>
248 m_instanceDrainStatusHasBeenSet =
true;
249 m_instanceDrainStatus = value;
275 NetworkAccessConfiguration m_networkAccessConfiguration;
280 bool m_idHasBeenSet =
false;
281 bool m_userIdHasBeenSet =
false;
282 bool m_stackNameHasBeenSet =
false;
283 bool m_fleetNameHasBeenSet =
false;
284 bool m_stateHasBeenSet =
false;
285 bool m_connectionStateHasBeenSet =
false;
286 bool m_startTimeHasBeenSet =
false;
287 bool m_maxExpirationTimeHasBeenSet =
false;
288 bool m_authenticationTypeHasBeenSet =
false;
289 bool m_networkAccessConfigurationHasBeenSet =
false;
290 bool m_instanceIdHasBeenSet =
false;
291 bool m_instanceDrainStatusHasBeenSet =
false;
const Aws::String & GetInstanceId() const
Session & WithFleetName(FleetNameT &&value)
Session & WithState(SessionState value)
SessionState GetState() const
void SetState(SessionState value)
bool NetworkAccessConfigurationHasBeenSet() const
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
Session & WithConnectionState(SessionConnectionState value)
Session & WithAuthenticationType(AuthenticationType value)
void SetUserId(UserIdT &&value)
Session & WithStartTime(StartTimeT &&value)
Session & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetFleetName() const
void SetNetworkAccessConfiguration(NetworkAccessConfigurationT &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool StackNameHasBeenSet() const
bool FleetNameHasBeenSet() const
void SetMaxExpirationTime(MaxExpirationTimeT &&value)
bool UserIdHasBeenSet() const
bool InstanceIdHasBeenSet() const
void SetStartTime(StartTimeT &&value)
const Aws::String & GetUserId() const
void SetInstanceDrainStatus(InstanceDrainStatus value)
Session & WithStackName(StackNameT &&value)
AWS_APPSTREAM_API Session()=default
InstanceDrainStatus GetInstanceDrainStatus() const
Session & WithId(IdT &&value)
void SetStackName(StackNameT &&value)
bool InstanceDrainStatusHasBeenSet() const
bool MaxExpirationTimeHasBeenSet() const
Session & WithInstanceDrainStatus(InstanceDrainStatus value)
bool AuthenticationTypeHasBeenSet() const
AWS_APPSTREAM_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStackName() const
Session & WithMaxExpirationTime(MaxExpirationTimeT &&value)
bool StateHasBeenSet() const
void SetConnectionState(SessionConnectionState value)
Session & WithNetworkAccessConfiguration(NetworkAccessConfigurationT &&value)
bool ConnectionStateHasBeenSet() const
const Aws::Utils::DateTime & GetMaxExpirationTime() const
AWS_APPSTREAM_API Session(Aws::Utils::Json::JsonView jsonValue)
void SetFleetName(FleetNameT &&value)
void SetInstanceId(InstanceIdT &&value)
AuthenticationType GetAuthenticationType() const
const NetworkAccessConfiguration & GetNetworkAccessConfiguration() const
const Aws::String & GetId() const
Session & WithUserId(UserIdT &&value)
bool StartTimeHasBeenSet() const
void SetAuthenticationType(AuthenticationType value)
SessionConnectionState GetConnectionState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue