/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The current status of an image scan.See Also:
AWS
* API Reference
The current state of an image scan.
*/ inline const ScanStatus& GetStatus() const{ return m_status; } /** *The current state of an image scan.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current state of an image scan.
*/ inline void SetStatus(const ScanStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current state of an image scan.
*/ inline void SetStatus(ScanStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current state of an image scan.
*/ inline ImageScanStatus& WithStatus(const ScanStatus& value) { SetStatus(value); return *this;} /** *The current state of an image scan.
*/ inline ImageScanStatus& WithStatus(ScanStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The description of the image scan status.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the image scan status.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the image scan status.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the image scan status.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the image scan status.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the image scan status.
*/ inline ImageScanStatus& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the image scan status.
*/ inline ImageScanStatus& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the image scan status.
*/ inline ImageScanStatus& WithDescription(const char* value) { SetDescription(value); return *this;} private: ScanStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace ECR } // namespace Aws