/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains an image that is one of the following: An image
* file. Choose this option to upload a new image. The ID of an
* existing image. Choose this option to keep an existing image.
See Also:
AWS
* API Reference
The ID of an existing image. Specify this parameter to keep an existing * image.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of an existing image. Specify this parameter to keep an existing * image.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of an existing image. Specify this parameter to keep an existing * image.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of an existing image. Specify this parameter to keep an existing * image.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of an existing image. Specify this parameter to keep an existing * image.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of an existing image. Specify this parameter to keep an existing * image.
*/ inline Image& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of an existing image. Specify this parameter to keep an existing * image.
*/ inline Image& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of an existing image. Specify this parameter to keep an existing * image.
*/ inline Image& WithId(const char* value) { SetId(value); return *this;} inline const ImageFile& GetFile() const{ return m_file; } inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } inline void SetFile(const ImageFile& value) { m_fileHasBeenSet = true; m_file = value; } inline void SetFile(ImageFile&& value) { m_fileHasBeenSet = true; m_file = std::move(value); } inline Image& WithFile(const ImageFile& value) { SetFile(value); return *this;} inline Image& WithFile(ImageFile&& value) { SetFile(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; ImageFile m_file; bool m_fileHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws