7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AuthenticationType.h>
9#include <aws/appstream/model/NetworkAccessConfiguration.h>
10#include <aws/appstream/model/SessionConnectionState.h>
11#include <aws/appstream/model/SessionState.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename UserIdT = Aws::String>
65 m_userIdHasBeenSet =
true;
66 m_userId = std::forward<UserIdT>(value);
68 template <
typename UserIdT = Aws::String>
81 template <
typename StackNameT = Aws::String>
83 m_stackNameHasBeenSet =
true;
84 m_stackName = std::forward<StackNameT>(value);
86 template <
typename StackNameT = Aws::String>
99 template <
typename FleetNameT = Aws::String>
101 m_fleetNameHasBeenSet =
true;
102 m_fleetName = std::forward<FleetNameT>(value);
104 template <
typename FleetNameT = Aws::String>
118 m_stateHasBeenSet =
true;
134 m_connectionStateHasBeenSet =
true;
135 m_connectionState = value;
149 template <
typename StartTimeT = Aws::Utils::DateTime>
151 m_startTimeHasBeenSet =
true;
152 m_startTime = std::forward<StartTimeT>(value);
154 template <
typename StartTimeT = Aws::Utils::DateTime>
174 template <
typename MaxExpirationTimeT = Aws::Utils::DateTime>
176 m_maxExpirationTimeHasBeenSet =
true;
177 m_maxExpirationTime = std::forward<MaxExpirationTimeT>(value);
179 template <
typename MaxExpirationTimeT = Aws::Utils::DateTime>
194 m_authenticationTypeHasBeenSet =
true;
195 m_authenticationType = value;
209 template <
typename NetworkAccessConfigurationT = NetworkAccessConfiguration>
211 m_networkAccessConfigurationHasBeenSet =
true;
212 m_networkAccessConfiguration = std::forward<NetworkAccessConfigurationT>(value);
214 template <
typename NetworkAccessConfigurationT = NetworkAccessConfiguration>
227 template <
typename InstanceIdT = Aws::String>
229 m_instanceIdHasBeenSet =
true;
230 m_instanceId = std::forward<InstanceIdT>(value);
232 template <
typename InstanceIdT = Aws::String>
257 NetworkAccessConfiguration m_networkAccessConfiguration;
260 bool m_idHasBeenSet =
false;
261 bool m_userIdHasBeenSet =
false;
262 bool m_stackNameHasBeenSet =
false;
263 bool m_fleetNameHasBeenSet =
false;
264 bool m_stateHasBeenSet =
false;
265 bool m_connectionStateHasBeenSet =
false;
266 bool m_startTimeHasBeenSet =
false;
267 bool m_maxExpirationTimeHasBeenSet =
false;
268 bool m_authenticationTypeHasBeenSet =
false;
269 bool m_networkAccessConfigurationHasBeenSet =
false;
270 bool m_instanceIdHasBeenSet =
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
Session & WithStackName(StackNameT &&value)
AWS_APPSTREAM_API Session()=default
Session & WithId(IdT &&value)
void SetStackName(StackNameT &&value)
bool MaxExpirationTimeHasBeenSet() const
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