/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the permissions for an image. See Also:
AWS
* API Reference
Indicates whether the image can be used for a fleet.
*/ inline bool GetAllowFleet() const{ return m_allowFleet; } /** *Indicates whether the image can be used for a fleet.
*/ inline bool AllowFleetHasBeenSet() const { return m_allowFleetHasBeenSet; } /** *Indicates whether the image can be used for a fleet.
*/ inline void SetAllowFleet(bool value) { m_allowFleetHasBeenSet = true; m_allowFleet = value; } /** *Indicates whether the image can be used for a fleet.
*/ inline ImagePermissions& WithAllowFleet(bool value) { SetAllowFleet(value); return *this;} /** *Indicates whether the image can be used for an image builder.
*/ inline bool GetAllowImageBuilder() const{ return m_allowImageBuilder; } /** *Indicates whether the image can be used for an image builder.
*/ inline bool AllowImageBuilderHasBeenSet() const { return m_allowImageBuilderHasBeenSet; } /** *Indicates whether the image can be used for an image builder.
*/ inline void SetAllowImageBuilder(bool value) { m_allowImageBuilderHasBeenSet = true; m_allowImageBuilder = value; } /** *Indicates whether the image can be used for an image builder.
*/ inline ImagePermissions& WithAllowImageBuilder(bool value) { SetAllowImageBuilder(value); return *this;} private: bool m_allowFleet; bool m_allowFleetHasBeenSet = false; bool m_allowImageBuilder; bool m_allowImageBuilderHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws