/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration for streaming workstations created using this launch
* profile.See Also:
AWS
* API Reference
Indicates if a streaming session created from this launch profile should be
* terminated automatically or retained without termination after being in a
* STOPPED
state.
When ACTIVATED
, the
* streaming session is scheduled for termination after being in the
* STOPPED
state for the time specified in
* maxStoppedSessionLengthInMinutes
.
When
* DEACTIVATED
, the streaming session can remain in the
* STOPPED
state indefinitely.
This parameter is
* only allowed when sessionPersistenceMode
is ACTIVATED
.
* When allowed, the default value for this parameter is
* DEACTIVATED
.
Indicates if a streaming session created from this launch profile should be
* terminated automatically or retained without termination after being in a
* STOPPED
state.
When ACTIVATED
, the
* streaming session is scheduled for termination after being in the
* STOPPED
state for the time specified in
* maxStoppedSessionLengthInMinutes
.
When
* DEACTIVATED
, the streaming session can remain in the
* STOPPED
state indefinitely.
This parameter is
* only allowed when sessionPersistenceMode
is ACTIVATED
.
* When allowed, the default value for this parameter is
* DEACTIVATED
.
Indicates if a streaming session created from this launch profile should be
* terminated automatically or retained without termination after being in a
* STOPPED
state.
When ACTIVATED
, the
* streaming session is scheduled for termination after being in the
* STOPPED
state for the time specified in
* maxStoppedSessionLengthInMinutes
.
When
* DEACTIVATED
, the streaming session can remain in the
* STOPPED
state indefinitely.
This parameter is
* only allowed when sessionPersistenceMode
is ACTIVATED
.
* When allowed, the default value for this parameter is
* DEACTIVATED
.
Indicates if a streaming session created from this launch profile should be
* terminated automatically or retained without termination after being in a
* STOPPED
state.
When ACTIVATED
, the
* streaming session is scheduled for termination after being in the
* STOPPED
state for the time specified in
* maxStoppedSessionLengthInMinutes
.
When
* DEACTIVATED
, the streaming session can remain in the
* STOPPED
state indefinitely.
This parameter is
* only allowed when sessionPersistenceMode
is ACTIVATED
.
* When allowed, the default value for this parameter is
* DEACTIVATED
.
Indicates if a streaming session created from this launch profile should be
* terminated automatically or retained without termination after being in a
* STOPPED
state.
When ACTIVATED
, the
* streaming session is scheduled for termination after being in the
* STOPPED
state for the time specified in
* maxStoppedSessionLengthInMinutes
.
When
* DEACTIVATED
, the streaming session can remain in the
* STOPPED
state indefinitely.
This parameter is
* only allowed when sessionPersistenceMode
is ACTIVATED
.
* When allowed, the default value for this parameter is
* DEACTIVATED
.
Indicates if a streaming session created from this launch profile should be
* terminated automatically or retained without termination after being in a
* STOPPED
state.
When ACTIVATED
, the
* streaming session is scheduled for termination after being in the
* STOPPED
state for the time specified in
* maxStoppedSessionLengthInMinutes
.
When
* DEACTIVATED
, the streaming session can remain in the
* STOPPED
state indefinitely.
This parameter is
* only allowed when sessionPersistenceMode
is ACTIVATED
.
* When allowed, the default value for this parameter is
* DEACTIVATED
.
Allows or deactivates the use of the system clipboard to copy and paste * between the streaming session and streaming client.
*/ inline const StreamingClipboardMode& GetClipboardMode() const{ return m_clipboardMode; } /** *Allows or deactivates the use of the system clipboard to copy and paste * between the streaming session and streaming client.
*/ inline bool ClipboardModeHasBeenSet() const { return m_clipboardModeHasBeenSet; } /** *Allows or deactivates the use of the system clipboard to copy and paste * between the streaming session and streaming client.
*/ inline void SetClipboardMode(const StreamingClipboardMode& value) { m_clipboardModeHasBeenSet = true; m_clipboardMode = value; } /** *Allows or deactivates the use of the system clipboard to copy and paste * between the streaming session and streaming client.
*/ inline void SetClipboardMode(StreamingClipboardMode&& value) { m_clipboardModeHasBeenSet = true; m_clipboardMode = std::move(value); } /** *Allows or deactivates the use of the system clipboard to copy and paste * between the streaming session and streaming client.
*/ inline StreamConfigurationCreate& WithClipboardMode(const StreamingClipboardMode& value) { SetClipboardMode(value); return *this;} /** *Allows or deactivates the use of the system clipboard to copy and paste * between the streaming session and streaming client.
*/ inline StreamConfigurationCreate& WithClipboardMode(StreamingClipboardMode&& value) { SetClipboardMode(std::move(value)); return *this;} /** *The EC2 instance types that users can select from when launching a streaming * session with this launch profile.
*/ inline const Aws::VectorThe EC2 instance types that users can select from when launching a streaming * session with this launch profile.
*/ inline bool Ec2InstanceTypesHasBeenSet() const { return m_ec2InstanceTypesHasBeenSet; } /** *The EC2 instance types that users can select from when launching a streaming * session with this launch profile.
*/ inline void SetEc2InstanceTypes(const Aws::VectorThe EC2 instance types that users can select from when launching a streaming * session with this launch profile.
*/ inline void SetEc2InstanceTypes(Aws::VectorThe EC2 instance types that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& WithEc2InstanceTypes(const Aws::VectorThe EC2 instance types that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& WithEc2InstanceTypes(Aws::VectorThe EC2 instance types that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& AddEc2InstanceTypes(const StreamingInstanceType& value) { m_ec2InstanceTypesHasBeenSet = true; m_ec2InstanceTypes.push_back(value); return *this; } /** *The EC2 instance types that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& AddEc2InstanceTypes(StreamingInstanceType&& value) { m_ec2InstanceTypesHasBeenSet = true; m_ec2InstanceTypes.push_back(std::move(value)); return *this; } /** *The length of time, in minutes, that a streaming session can be active before * it is stopped or terminated. After this point, Nimble Studio automatically * terminates or stops the session. The default length of time is 690 minutes, and * the maximum length of time is 30 days.
*/ inline int GetMaxSessionLengthInMinutes() const{ return m_maxSessionLengthInMinutes; } /** *The length of time, in minutes, that a streaming session can be active before * it is stopped or terminated. After this point, Nimble Studio automatically * terminates or stops the session. The default length of time is 690 minutes, and * the maximum length of time is 30 days.
*/ inline bool MaxSessionLengthInMinutesHasBeenSet() const { return m_maxSessionLengthInMinutesHasBeenSet; } /** *The length of time, in minutes, that a streaming session can be active before * it is stopped or terminated. After this point, Nimble Studio automatically * terminates or stops the session. The default length of time is 690 minutes, and * the maximum length of time is 30 days.
*/ inline void SetMaxSessionLengthInMinutes(int value) { m_maxSessionLengthInMinutesHasBeenSet = true; m_maxSessionLengthInMinutes = value; } /** *The length of time, in minutes, that a streaming session can be active before * it is stopped or terminated. After this point, Nimble Studio automatically * terminates or stops the session. The default length of time is 690 minutes, and * the maximum length of time is 30 days.
*/ inline StreamConfigurationCreate& WithMaxSessionLengthInMinutes(int value) { SetMaxSessionLengthInMinutes(value); return *this;} /** *Integer that determines if you can start and stop your sessions and how long
* a session can stay in the STOPPED
state. The default value is 0.
* The maximum value is 5760.
This field is allowed only when
* sessionPersistenceMode
is ACTIVATED
and
* automaticTerminationMode
is ACTIVATED
.
If the
* value is set to 0, your sessions can’t be STOPPED
. If you then call
* StopStreamingSession
, the session fails. If the time that a session
* stays in the READY
state exceeds the
* maxSessionLengthInMinutes
value, the session will automatically be
* terminated (instead of STOPPED
).
If the value is set to a
* positive number, the session can be stopped. You can call
* StopStreamingSession
to stop sessions in the READY
* state. If the time that a session stays in the READY
state exceeds
* the maxSessionLengthInMinutes
value, the session will automatically
* be stopped (instead of terminated).
Integer that determines if you can start and stop your sessions and how long
* a session can stay in the STOPPED
state. The default value is 0.
* The maximum value is 5760.
This field is allowed only when
* sessionPersistenceMode
is ACTIVATED
and
* automaticTerminationMode
is ACTIVATED
.
If the
* value is set to 0, your sessions can’t be STOPPED
. If you then call
* StopStreamingSession
, the session fails. If the time that a session
* stays in the READY
state exceeds the
* maxSessionLengthInMinutes
value, the session will automatically be
* terminated (instead of STOPPED
).
If the value is set to a
* positive number, the session can be stopped. You can call
* StopStreamingSession
to stop sessions in the READY
* state. If the time that a session stays in the READY
state exceeds
* the maxSessionLengthInMinutes
value, the session will automatically
* be stopped (instead of terminated).
Integer that determines if you can start and stop your sessions and how long
* a session can stay in the STOPPED
state. The default value is 0.
* The maximum value is 5760.
This field is allowed only when
* sessionPersistenceMode
is ACTIVATED
and
* automaticTerminationMode
is ACTIVATED
.
If the
* value is set to 0, your sessions can’t be STOPPED
. If you then call
* StopStreamingSession
, the session fails. If the time that a session
* stays in the READY
state exceeds the
* maxSessionLengthInMinutes
value, the session will automatically be
* terminated (instead of STOPPED
).
If the value is set to a
* positive number, the session can be stopped. You can call
* StopStreamingSession
to stop sessions in the READY
* state. If the time that a session stays in the READY
state exceeds
* the maxSessionLengthInMinutes
value, the session will automatically
* be stopped (instead of terminated).
Integer that determines if you can start and stop your sessions and how long
* a session can stay in the STOPPED
state. The default value is 0.
* The maximum value is 5760.
This field is allowed only when
* sessionPersistenceMode
is ACTIVATED
and
* automaticTerminationMode
is ACTIVATED
.
If the
* value is set to 0, your sessions can’t be STOPPED
. If you then call
* StopStreamingSession
, the session fails. If the time that a session
* stays in the READY
state exceeds the
* maxSessionLengthInMinutes
value, the session will automatically be
* terminated (instead of STOPPED
).
If the value is set to a
* positive number, the session can be stopped. You can call
* StopStreamingSession
to stop sessions in the READY
* state. If the time that a session stays in the READY
state exceeds
* the maxSessionLengthInMinutes
value, the session will automatically
* be stopped (instead of terminated).
Configures how streaming sessions are backed up when launched from this * launch profile.
*/ inline const StreamConfigurationSessionBackup& GetSessionBackup() const{ return m_sessionBackup; } /** *Configures how streaming sessions are backed up when launched from this * launch profile.
*/ inline bool SessionBackupHasBeenSet() const { return m_sessionBackupHasBeenSet; } /** *Configures how streaming sessions are backed up when launched from this * launch profile.
*/ inline void SetSessionBackup(const StreamConfigurationSessionBackup& value) { m_sessionBackupHasBeenSet = true; m_sessionBackup = value; } /** *Configures how streaming sessions are backed up when launched from this * launch profile.
*/ inline void SetSessionBackup(StreamConfigurationSessionBackup&& value) { m_sessionBackupHasBeenSet = true; m_sessionBackup = std::move(value); } /** *Configures how streaming sessions are backed up when launched from this * launch profile.
*/ inline StreamConfigurationCreate& WithSessionBackup(const StreamConfigurationSessionBackup& value) { SetSessionBackup(value); return *this;} /** *Configures how streaming sessions are backed up when launched from this * launch profile.
*/ inline StreamConfigurationCreate& WithSessionBackup(StreamConfigurationSessionBackup&& value) { SetSessionBackup(std::move(value)); return *this;} /** *Determine if a streaming session created from this launch profile can
* configure persistent storage. This means that volumeConfiguration
* and automaticTerminationMode
are configured.
Determine if a streaming session created from this launch profile can
* configure persistent storage. This means that volumeConfiguration
* and automaticTerminationMode
are configured.
Determine if a streaming session created from this launch profile can
* configure persistent storage. This means that volumeConfiguration
* and automaticTerminationMode
are configured.
Determine if a streaming session created from this launch profile can
* configure persistent storage. This means that volumeConfiguration
* and automaticTerminationMode
are configured.
Determine if a streaming session created from this launch profile can
* configure persistent storage. This means that volumeConfiguration
* and automaticTerminationMode
are configured.
Determine if a streaming session created from this launch profile can
* configure persistent storage. This means that volumeConfiguration
* and automaticTerminationMode
are configured.
The upload storage for a streaming workstation that is created using this * launch profile.
*/ inline const StreamConfigurationSessionStorage& GetSessionStorage() const{ return m_sessionStorage; } /** *The upload storage for a streaming workstation that is created using this * launch profile.
*/ inline bool SessionStorageHasBeenSet() const { return m_sessionStorageHasBeenSet; } /** *The upload storage for a streaming workstation that is created using this * launch profile.
*/ inline void SetSessionStorage(const StreamConfigurationSessionStorage& value) { m_sessionStorageHasBeenSet = true; m_sessionStorage = value; } /** *The upload storage for a streaming workstation that is created using this * launch profile.
*/ inline void SetSessionStorage(StreamConfigurationSessionStorage&& value) { m_sessionStorageHasBeenSet = true; m_sessionStorage = std::move(value); } /** *The upload storage for a streaming workstation that is created using this * launch profile.
*/ inline StreamConfigurationCreate& WithSessionStorage(const StreamConfigurationSessionStorage& value) { SetSessionStorage(value); return *this;} /** *The upload storage for a streaming workstation that is created using this * launch profile.
*/ inline StreamConfigurationCreate& WithSessionStorage(StreamConfigurationSessionStorage&& value) { SetSessionStorage(std::move(value)); return *this;} /** *The streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline const Aws::VectorThe streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline bool StreamingImageIdsHasBeenSet() const { return m_streamingImageIdsHasBeenSet; } /** *The streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline void SetStreamingImageIds(const Aws::VectorThe streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline void SetStreamingImageIds(Aws::VectorThe streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& WithStreamingImageIds(const Aws::VectorThe streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& WithStreamingImageIds(Aws::VectorThe streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& AddStreamingImageIds(const Aws::String& value) { m_streamingImageIdsHasBeenSet = true; m_streamingImageIds.push_back(value); return *this; } /** *The streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& AddStreamingImageIds(Aws::String&& value) { m_streamingImageIdsHasBeenSet = true; m_streamingImageIds.push_back(std::move(value)); return *this; } /** *The streaming images that users can select from when launching a streaming * session with this launch profile.
*/ inline StreamConfigurationCreate& AddStreamingImageIds(const char* value) { m_streamingImageIdsHasBeenSet = true; m_streamingImageIds.push_back(value); return *this; } /** *Custom volume configuration for the root volumes that are attached to * streaming sessions.
This parameter is only allowed when
* sessionPersistenceMode
is ACTIVATED
.
Custom volume configuration for the root volumes that are attached to * streaming sessions.
This parameter is only allowed when
* sessionPersistenceMode
is ACTIVATED
.
Custom volume configuration for the root volumes that are attached to * streaming sessions.
This parameter is only allowed when
* sessionPersistenceMode
is ACTIVATED
.
Custom volume configuration for the root volumes that are attached to * streaming sessions.
This parameter is only allowed when
* sessionPersistenceMode
is ACTIVATED
.
Custom volume configuration for the root volumes that are attached to * streaming sessions.
This parameter is only allowed when
* sessionPersistenceMode
is ACTIVATED
.
Custom volume configuration for the root volumes that are attached to * streaming sessions.
This parameter is only allowed when
* sessionPersistenceMode
is ACTIVATED
.