/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains an image file.See Also:
AWS
* API Reference
The image file contents, represented as a base64-encoded string. The file * size must be less than 1 MB.
*/ inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } /** *The image file contents, represented as a base64-encoded string. The file * size must be less than 1 MB.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *The image file contents, represented as a base64-encoded string. The file * size must be less than 1 MB.
*/ inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } /** *The image file contents, represented as a base64-encoded string. The file * size must be less than 1 MB.
*/ inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *The image file contents, represented as a base64-encoded string. The file * size must be less than 1 MB.
*/ inline ImageFile& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} /** *The image file contents, represented as a base64-encoded string. The file * size must be less than 1 MB.
*/ inline ImageFile& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;} /** *The file type of the image.
*/ inline const ImageFileType& GetType() const{ return m_type; } /** *The file type of the image.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The file type of the image.
*/ inline void SetType(const ImageFileType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The file type of the image.
*/ inline void SetType(ImageFileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The file type of the image.
*/ inline ImageFile& WithType(const ImageFileType& value) { SetType(value); return *this;} /** *The file type of the image.
*/ inline ImageFile& WithType(ImageFileType&& value) { SetType(std::move(value)); return *this;} private: Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; ImageFileType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws