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

Configuration settings for creating and managing pre-provisioned snapshots * for a fast-launch enabled Windows AMI.

See Also:

AWS * API Reference

*/ class FastLaunchSnapshotConfiguration { public: AWS_IMAGEBUILDER_API FastLaunchSnapshotConfiguration(); AWS_IMAGEBUILDER_API FastLaunchSnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_IMAGEBUILDER_API FastLaunchSnapshotConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of pre-provisioned snapshots to keep on hand for a fast-launch * enabled Windows AMI.

*/ inline int GetTargetResourceCount() const{ return m_targetResourceCount; } /** *

The number of pre-provisioned snapshots to keep on hand for a fast-launch * enabled Windows AMI.

*/ inline bool TargetResourceCountHasBeenSet() const { return m_targetResourceCountHasBeenSet; } /** *

The number of pre-provisioned snapshots to keep on hand for a fast-launch * enabled Windows AMI.

*/ inline void SetTargetResourceCount(int value) { m_targetResourceCountHasBeenSet = true; m_targetResourceCount = value; } /** *

The number of pre-provisioned snapshots to keep on hand for a fast-launch * enabled Windows AMI.

*/ inline FastLaunchSnapshotConfiguration& WithTargetResourceCount(int value) { SetTargetResourceCount(value); return *this;} private: int m_targetResourceCount; bool m_targetResourceCountHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws