/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoT { namespace Model { /** *

Describes a group of files that can be streamed.

See Also:

* AWS API * Reference

*/ class Stream { public: AWS_IOT_API Stream(); AWS_IOT_API Stream(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API Stream& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 Stream& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} /** *

The stream ID.

*/ inline Stream& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} /** *

The stream ID.

*/ inline Stream& WithStreamId(const char* value) { SetStreamId(value); return *this;} /** *

The ID of a file associated with a stream.

*/ inline int GetFileId() const{ return m_fileId; } /** *

The ID of a file associated with a stream.

*/ inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; } /** *

The ID of a file associated with a stream.

*/ inline void SetFileId(int value) { m_fileIdHasBeenSet = true; m_fileId = value; } /** *

The ID of a file associated with a stream.

*/ inline Stream& WithFileId(int value) { SetFileId(value); return *this;} private: Aws::String m_streamId; bool m_streamIdHasBeenSet = false; int m_fileId; bool m_fileIdHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws