/** * 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 { /** *

Represents a file to stream.

See Also:

AWS API * Reference

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

The file ID.

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

The file ID.

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

The file ID.

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

The file ID.

*/ inline StreamFile& WithFileId(int value) { SetFileId(value); return *this;} /** *

The location of the file in S3.

*/ inline const S3Location& GetS3Location() const{ return m_s3Location; } /** *

The location of the file in S3.

*/ inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } /** *

The location of the file in S3.

*/ inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } /** *

The location of the file in S3.

*/ inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } /** *

The location of the file in S3.

*/ inline StreamFile& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;} /** *

The location of the file in S3.

*/ inline StreamFile& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;} private: int m_fileId; bool m_fileIdHasBeenSet = false; S3Location m_s3Location; bool m_s3LocationHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws