/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object describing a Kinesis video stream.See Also:
AWS
* API Reference
The name of the device that is associated with the stream.
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *The name of the device that is associated with the stream.
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *The name of the device that is associated with the stream.
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *The name of the device that is associated with the stream.
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *The name of the device that is associated with the stream.
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *The name of the device that is associated with the stream.
*/ inline StreamInfo& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *The name of the device that is associated with the stream.
*/ inline StreamInfo& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *The name of the device that is associated with the stream.
*/ inline StreamInfo& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *The name of the stream.
*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *The name of the stream.
*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *The name of the stream.
*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *The name of the stream.
*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *The name of the stream.
*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *The name of the stream.
*/ inline StreamInfo& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *The name of the stream.
*/ inline StreamInfo& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *The name of the stream.
*/ inline StreamInfo& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *The Amazon Resource Name (ARN) of the stream.
*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *The Amazon Resource Name (ARN) of the stream.
*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the stream.
*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *The Amazon Resource Name (ARN) of the stream.
*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the stream.
*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *The Amazon Resource Name (ARN) of the stream.
*/ inline StreamInfo& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the stream.
*/ inline StreamInfo& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the stream.
*/ inline StreamInfo& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} /** *The MediaType
of the stream.
The MediaType
of the stream.
The MediaType
of the stream.
The MediaType
of the stream.
The MediaType
of the stream.
The MediaType
of the stream.
The MediaType
of the stream.
The MediaType
of the stream.
The ID of the Key Management Service (KMS) key that Kinesis Video Streams * uses to encrypt data on the stream.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The ID of the Key Management Service (KMS) key that Kinesis Video Streams * uses to encrypt data on the stream.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *The ID of the Key Management Service (KMS) key that Kinesis Video Streams * uses to encrypt data on the stream.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *The ID of the Key Management Service (KMS) key that Kinesis Video Streams * uses to encrypt data on the stream.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *The ID of the Key Management Service (KMS) key that Kinesis Video Streams * uses to encrypt data on the stream.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *The ID of the Key Management Service (KMS) key that Kinesis Video Streams * uses to encrypt data on the stream.
*/ inline StreamInfo& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The ID of the Key Management Service (KMS) key that Kinesis Video Streams * uses to encrypt data on the stream.
*/ inline StreamInfo& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The ID of the Key Management Service (KMS) key that Kinesis Video Streams * uses to encrypt data on the stream.
*/ inline StreamInfo& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *The version of the stream.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the stream.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the stream.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the stream.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the stream.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the stream.
*/ inline StreamInfo& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the stream.
*/ inline StreamInfo& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the stream.
*/ inline StreamInfo& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The status of the stream.
*/ inline const Status& GetStatus() const{ return m_status; } /** *The status of the stream.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the stream.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the stream.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the stream.
*/ inline StreamInfo& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *The status of the stream.
*/ inline StreamInfo& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** *A time stamp that indicates when the stream was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *A time stamp that indicates when the stream was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *A time stamp that indicates when the stream was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *A time stamp that indicates when the stream was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *A time stamp that indicates when the stream was created.
*/ inline StreamInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *A time stamp that indicates when the stream was created.
*/ inline StreamInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *How long the stream retains data, in hours.
*/ inline int GetDataRetentionInHours() const{ return m_dataRetentionInHours; } /** *How long the stream retains data, in hours.
*/ inline bool DataRetentionInHoursHasBeenSet() const { return m_dataRetentionInHoursHasBeenSet; } /** *How long the stream retains data, in hours.
*/ inline void SetDataRetentionInHours(int value) { m_dataRetentionInHoursHasBeenSet = true; m_dataRetentionInHours = value; } /** *How long the stream retains data, in hours.
*/ inline StreamInfo& WithDataRetentionInHours(int value) { SetDataRetentionInHours(value); return *this;} private: Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; Aws::String m_streamName; bool m_streamNameHasBeenSet = false; Aws::String m_streamARN; bool m_streamARNHasBeenSet = false; Aws::String m_mediaType; bool m_mediaTypeHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; int m_dataRetentionInHours; bool m_dataRetentionInHoursHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws