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

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

See Also:

AWS * API Reference

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

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

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

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

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

The number of pre-provisioned snapshots requested 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 requested to keep on hand for a * fast-launch enabled Windows AMI.

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