7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appstream/model/SessionState.h>
10#include <aws/appstream/model/SessionConnectionState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/appstream/model/AuthenticationType.h>
13#include <aws/appstream/model/NetworkAccessConfiguration.h>
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
81 inline void SetStackName(
const char* value) { m_stackNameHasBeenSet =
true; m_stackName.assign(value); }
95 inline void SetFleetName(
const char* value) { m_fleetNameHasBeenSet =
true; m_fleetName.assign(value); }
189 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
197 bool m_idHasBeenSet =
false;
200 bool m_userIdHasBeenSet =
false;
203 bool m_stackNameHasBeenSet =
false;
206 bool m_fleetNameHasBeenSet =
false;
209 bool m_stateHasBeenSet =
false;
212 bool m_connectionStateHasBeenSet =
false;
215 bool m_startTimeHasBeenSet =
false;
218 bool m_maxExpirationTimeHasBeenSet =
false;
221 bool m_authenticationTypeHasBeenSet =
false;
224 bool m_networkAccessConfigurationHasBeenSet =
false;
227 bool m_instanceIdHasBeenSet =
false;
Session & WithId(const char *value)
const Aws::String & GetInstanceId() const
Session & WithFleetName(const char *value)
void SetId(const char *value)
Session & WithUserId(const char *value)
Session & WithStackName(Aws::String &&value)
bool NetworkAccessConfigurationHasBeenSet() const
void SetInstanceId(Aws::String &&value)
Session & WithInstanceId(const Aws::String &value)
Session & WithAuthenticationType(AuthenticationType &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(const SessionState &value)
bool IdHasBeenSet() const
Session & WithInstanceId(const char *value)
void SetUserId(const Aws::String &value)
void SetId(Aws::String &&value)
Session & WithMaxExpirationTime(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
Session & WithInstanceId(Aws::String &&value)
void SetFleetName(const char *value)
Session & WithFleetName(Aws::String &&value)
void SetMaxExpirationTime(Aws::Utils::DateTime &&value)
Session & WithMaxExpirationTime(Aws::Utils::DateTime &&value)
void SetStackName(const char *value)
const Aws::String & GetFleetName() const
Session & WithUserId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetInstanceId(const Aws::String &value)
Session & WithStackName(const char *value)
bool StackNameHasBeenSet() const
Session & WithState(const SessionState &value)
Session & WithNetworkAccessConfiguration(NetworkAccessConfiguration &&value)
bool FleetNameHasBeenSet() const
void SetMaxExpirationTime(const Aws::Utils::DateTime &value)
Session & WithNetworkAccessConfiguration(const NetworkAccessConfiguration &value)
bool UserIdHasBeenSet() const
void SetStartTime(const Aws::Utils::DateTime &value)
Session & WithStartTime(const Aws::Utils::DateTime &value)
Session & WithUserId(const Aws::String &value)
Session & WithAuthenticationType(const AuthenticationType &value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetUserId() const
void SetUserId(const char *value)
Session & WithFleetName(const Aws::String &value)
void SetStackName(const Aws::String &value)
Session & WithStartTime(Aws::Utils::DateTime &&value)
bool MaxExpirationTimeHasBeenSet() const
void SetAuthenticationType(AuthenticationType &&value)
void SetState(SessionState &&value)
bool AuthenticationTypeHasBeenSet() const
AWS_APPSTREAM_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStackName() const
AWS_APPSTREAM_API Session()
bool StateHasBeenSet() const
void SetConnectionState(const SessionConnectionState &value)
Session & WithStackName(const Aws::String &value)
bool ConnectionStateHasBeenSet() const
const SessionState & GetState() const
void SetNetworkAccessConfiguration(const NetworkAccessConfiguration &value)
void SetUserId(Aws::String &&value)
const Aws::Utils::DateTime & GetMaxExpirationTime() const
Session & WithConnectionState(SessionConnectionState &&value)
AWS_APPSTREAM_API Session(Aws::Utils::Json::JsonView jsonValue)
const NetworkAccessConfiguration & GetNetworkAccessConfiguration() const
void SetAuthenticationType(const AuthenticationType &value)
Session & WithId(Aws::String &&value)
const Aws::String & GetId() const
void SetFleetName(Aws::String &&value)
Session & WithState(SessionState &&value)
Session & WithId(const Aws::String &value)
void SetStackName(Aws::String &&value)
void SetInstanceId(const char *value)
const AuthenticationType & GetAuthenticationType() const
void SetFleetName(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
Session & WithConnectionState(const SessionConnectionState &value)
bool StartTimeHasBeenSet() const
void SetConnectionState(SessionConnectionState &&value)
void SetNetworkAccessConfiguration(NetworkAccessConfiguration &&value)
const SessionConnectionState & GetConnectionState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue