/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A stream is an active connection to a streaming session, enabling a studio
* user to control the streaming session using a compatible client. Streaming
* session streams are compatible with the NICE DCV web client, included in the
* Nimble Studio portal, or the NICE DCV desktop client.See Also:
* AWS
* API Reference
The ISO timestamp in seconds for when the resource was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The ISO timestamp in seconds for when the resource was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The ISO timestamp in seconds for when the resource was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The ISO timestamp in seconds for when the resource was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The ISO timestamp in seconds for when the resource was created.
*/ inline StreamingSessionStream& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The ISO timestamp in seconds for when the resource was created.
*/ inline StreamingSessionStream& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The user ID of the user that created the streaming session stream.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *The user ID of the user that created the streaming session stream.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *The user ID of the user that created the streaming session stream.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *The user ID of the user that created the streaming session stream.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *The user ID of the user that created the streaming session stream.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *The user ID of the user that created the streaming session stream.
*/ inline StreamingSessionStream& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *The user ID of the user that created the streaming session stream.
*/ inline StreamingSessionStream& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *The user ID of the user that created the streaming session stream.
*/ inline StreamingSessionStream& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *The ISO timestamp in seconds for when the resource expires.
*/ inline const Aws::Utils::DateTime& GetExpiresAt() const{ return m_expiresAt; } /** *The ISO timestamp in seconds for when the resource expires.
*/ inline bool ExpiresAtHasBeenSet() const { return m_expiresAtHasBeenSet; } /** *The ISO timestamp in seconds for when the resource expires.
*/ inline void SetExpiresAt(const Aws::Utils::DateTime& value) { m_expiresAtHasBeenSet = true; m_expiresAt = value; } /** *The ISO timestamp in seconds for when the resource expires.
*/ inline void SetExpiresAt(Aws::Utils::DateTime&& value) { m_expiresAtHasBeenSet = true; m_expiresAt = std::move(value); } /** *The ISO timestamp in seconds for when the resource expires.
*/ inline StreamingSessionStream& WithExpiresAt(const Aws::Utils::DateTime& value) { SetExpiresAt(value); return *this;} /** *The ISO timestamp in seconds for when the resource expires.
*/ inline StreamingSessionStream& WithExpiresAt(Aws::Utils::DateTime&& value) { SetExpiresAt(std::move(value)); return *this;} /** *The user ID of the user that owns the streaming session. The user that owns * the session will be logging into the session and interacting with the virtual * workstation.
*/ inline const Aws::String& GetOwnedBy() const{ return m_ownedBy; } /** *The user ID of the user that owns the streaming session. The user that owns * the session will be logging into the session and interacting with the virtual * workstation.
*/ inline bool OwnedByHasBeenSet() const { return m_ownedByHasBeenSet; } /** *The user ID of the user that owns the streaming session. The user that owns * the session will be logging into the session and interacting with the virtual * workstation.
*/ inline void SetOwnedBy(const Aws::String& value) { m_ownedByHasBeenSet = true; m_ownedBy = value; } /** *The user ID of the user that owns the streaming session. The user that owns * the session will be logging into the session and interacting with the virtual * workstation.
*/ inline void SetOwnedBy(Aws::String&& value) { m_ownedByHasBeenSet = true; m_ownedBy = std::move(value); } /** *The user ID of the user that owns the streaming session. The user that owns * the session will be logging into the session and interacting with the virtual * workstation.
*/ inline void SetOwnedBy(const char* value) { m_ownedByHasBeenSet = true; m_ownedBy.assign(value); } /** *The user ID of the user that owns the streaming session. The user that owns * the session will be logging into the session and interacting with the virtual * workstation.
*/ inline StreamingSessionStream& WithOwnedBy(const Aws::String& value) { SetOwnedBy(value); return *this;} /** *The user ID of the user that owns the streaming session. The user that owns * the session will be logging into the session and interacting with the virtual * workstation.
*/ inline StreamingSessionStream& WithOwnedBy(Aws::String&& value) { SetOwnedBy(std::move(value)); return *this;} /** *The user ID of the user that owns the streaming session. The user that owns * the session will be logging into the session and interacting with the virtual * workstation.
*/ inline StreamingSessionStream& WithOwnedBy(const char* value) { SetOwnedBy(value); return *this;} /** *The current state.
*/ inline const StreamingSessionStreamState& GetState() const{ return m_state; } /** *The current state.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state.
*/ inline void SetState(const StreamingSessionStreamState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state.
*/ inline void SetState(StreamingSessionStreamState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state.
*/ inline StreamingSessionStream& WithState(const StreamingSessionStreamState& value) { SetState(value); return *this;} /** *The current state.
*/ inline StreamingSessionStream& WithState(StreamingSessionStreamState&& value) { SetState(std::move(value)); return *this;} /** *The streaming session stream status code.
*/ inline const StreamingSessionStreamStatusCode& GetStatusCode() const{ return m_statusCode; } /** *The streaming session stream status code.
*/ inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; } /** *The streaming session stream status code.
*/ inline void SetStatusCode(const StreamingSessionStreamStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; } /** *The streaming session stream status code.
*/ inline void SetStatusCode(StreamingSessionStreamStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); } /** *The streaming session stream status code.
*/ inline StreamingSessionStream& WithStatusCode(const StreamingSessionStreamStatusCode& value) { SetStatusCode(value); return *this;} /** *The streaming session stream status code.
*/ inline StreamingSessionStream& WithStatusCode(StreamingSessionStreamStatusCode&& value) { SetStatusCode(std::move(value)); return *this;} /** *The stream ID.
*/ inline const Aws::String& GetStreamId() const{ return m_streamId; } /** *The stream ID.
*/ inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } /** *The stream ID.
*/ inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } /** *The stream ID.
*/ inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } /** *The stream ID.
*/ inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } /** *The stream ID.
*/ inline StreamingSessionStream& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} /** *The stream ID.
*/ inline StreamingSessionStream& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} /** *The stream ID.
*/ inline StreamingSessionStream& WithStreamId(const char* value) { SetStreamId(value); return *this;} /** *The URL to connect to this stream using the DCV client.
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *The URL to connect to this stream using the DCV client.
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The URL to connect to this stream using the DCV client.
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The URL to connect to this stream using the DCV client.
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The URL to connect to this stream using the DCV client.
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The URL to connect to this stream using the DCV client.
*/ inline StreamingSessionStream& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The URL to connect to this stream using the DCV client.
*/ inline StreamingSessionStream& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The URL to connect to this stream using the DCV client.
*/ inline StreamingSessionStream& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_expiresAt; bool m_expiresAtHasBeenSet = false; Aws::String m_ownedBy; bool m_ownedByHasBeenSet = false; StreamingSessionStreamState m_state; bool m_stateHasBeenSet = false; StreamingSessionStreamStatusCode m_statusCode; bool m_statusCodeHasBeenSet = false; Aws::String m_streamId; bool m_streamIdHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws