/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Image status and the reason for that status.See Also:
AWS
* API Reference
The status of the image.
*/ inline const ImageStatus& GetStatus() const{ return m_status; } /** *The status of the image.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the image.
*/ inline void SetStatus(const ImageStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the image.
*/ inline void SetStatus(ImageStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the image.
*/ inline ImageState& WithStatus(const ImageStatus& value) { SetStatus(value); return *this;} /** *The status of the image.
*/ inline ImageState& WithStatus(ImageStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The reason for the status of the image.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *The reason for the status of the image.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason for the status of the image.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for the status of the image.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for the status of the image.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *The reason for the status of the image.
*/ inline ImageState& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *The reason for the status of the image.
*/ inline ImageState& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *The reason for the status of the image.
*/ inline ImageState& WithReason(const char* value) { SetReason(value); return *this;} private: ImageStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws