/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace RDS { namespace Model { /** *

A value that indicates the AMI information.

See Also:

AWS * API Reference

*/ class CustomDBEngineVersionAMI { public: AWS_RDS_API CustomDBEngineVersionAMI(); AWS_RDS_API CustomDBEngineVersionAMI(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_RDS_API CustomDBEngineVersionAMI& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

A value that indicates the ID of the AMI.

*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *

A value that indicates the ID of the AMI.

*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *

A value that indicates the ID of the AMI.

*/ inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *

A value that indicates the ID of the AMI.

*/ inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *

A value that indicates the ID of the AMI.

*/ inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } /** *

A value that indicates the ID of the AMI.

*/ inline CustomDBEngineVersionAMI& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *

A value that indicates the ID of the AMI.

*/ inline CustomDBEngineVersionAMI& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *

A value that indicates the ID of the AMI.

*/ inline CustomDBEngineVersionAMI& WithImageId(const char* value) { SetImageId(value); return *this;} /** *

A value that indicates the status of a custom engine version (CEV).

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

A value that indicates the status of a custom engine version (CEV).

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

A value that indicates the status of a custom engine version (CEV).

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

A value that indicates the status of a custom engine version (CEV).

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

A value that indicates the status of a custom engine version (CEV).

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

A value that indicates the status of a custom engine version (CEV).

*/ inline CustomDBEngineVersionAMI& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

A value that indicates the status of a custom engine version (CEV).

*/ inline CustomDBEngineVersionAMI& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

A value that indicates the status of a custom engine version (CEV).

*/ inline CustomDBEngineVersionAMI& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_imageId; bool m_imageIdHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws