/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A JSON-formatted object that describes a compatible Amazon Machine Image
* (AMI), including the ID and name for a Snow device AMI. This AMI is compatible
* with the device's physical hardware requirements, and it should be able to be
* run in an SBE1 instance on the device.See Also:
AWS
* API Reference
The unique identifier for an individual Snow device AMI.
*/ inline const Aws::String& GetAmiId() const{ return m_amiId; } /** *The unique identifier for an individual Snow device AMI.
*/ inline bool AmiIdHasBeenSet() const { return m_amiIdHasBeenSet; } /** *The unique identifier for an individual Snow device AMI.
*/ inline void SetAmiId(const Aws::String& value) { m_amiIdHasBeenSet = true; m_amiId = value; } /** *The unique identifier for an individual Snow device AMI.
*/ inline void SetAmiId(Aws::String&& value) { m_amiIdHasBeenSet = true; m_amiId = std::move(value); } /** *The unique identifier for an individual Snow device AMI.
*/ inline void SetAmiId(const char* value) { m_amiIdHasBeenSet = true; m_amiId.assign(value); } /** *The unique identifier for an individual Snow device AMI.
*/ inline CompatibleImage& WithAmiId(const Aws::String& value) { SetAmiId(value); return *this;} /** *The unique identifier for an individual Snow device AMI.
*/ inline CompatibleImage& WithAmiId(Aws::String&& value) { SetAmiId(std::move(value)); return *this;} /** *The unique identifier for an individual Snow device AMI.
*/ inline CompatibleImage& WithAmiId(const char* value) { SetAmiId(value); return *this;} /** *The optional name of a compatible image.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The optional name of a compatible image.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The optional name of a compatible image.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The optional name of a compatible image.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The optional name of a compatible image.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The optional name of a compatible image.
*/ inline CompatibleImage& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The optional name of a compatible image.
*/ inline CompatibleImage& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The optional name of a compatible image.
*/ inline CompatibleImage& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_amiId; bool m_amiIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace Snowball } // namespace Aws