/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains an image that is uploaded to IoT SiteWise and available at a
* URL.See Also:
AWS
* API Reference
The ID of the image.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the image.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the image.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the image.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the image.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the image.
*/ inline ImageLocation& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the image.
*/ inline ImageLocation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the image.
*/ inline ImageLocation& WithId(const char* value) { SetId(value); return *this;} /** *The URL where the image is available. The URL is valid for 15 minutes so that * you can view and download the image
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *The URL where the image is available. The URL is valid for 15 minutes so that * you can view and download the image
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The URL where the image is available. The URL is valid for 15 minutes so that * you can view and download the image
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The URL where the image is available. The URL is valid for 15 minutes so that * you can view and download the image
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The URL where the image is available. The URL is valid for 15 minutes so that * you can view and download the image
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The URL where the image is available. The URL is valid for 15 minutes so that * you can view and download the image
*/ inline ImageLocation& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The URL where the image is available. The URL is valid for 15 minutes so that * you can view and download the image
*/ inline ImageLocation& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The URL where the image is available. The URL is valid for 15 minutes so that * you can view and download the image
*/ inline ImageLocation& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws