/** * 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 DLM { namespace Model { /** *

Specifies optional parameters to add to a policy. The set of valid parameters * depends on the combination of policy type and resource type.

See * Also:

AWS API * Reference

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

[EBS Snapshot Management – Instance policies only] Indicates whether to * exclude the root volume from snapshots created using CreateSnapshots. * The default is false.

*/ inline bool GetExcludeBootVolume() const{ return m_excludeBootVolume; } /** *

[EBS Snapshot Management – Instance policies only] Indicates whether to * exclude the root volume from snapshots created using CreateSnapshots. * The default is false.

*/ inline bool ExcludeBootVolumeHasBeenSet() const { return m_excludeBootVolumeHasBeenSet; } /** *

[EBS Snapshot Management – Instance policies only] Indicates whether to * exclude the root volume from snapshots created using CreateSnapshots. * The default is false.

*/ inline void SetExcludeBootVolume(bool value) { m_excludeBootVolumeHasBeenSet = true; m_excludeBootVolume = value; } /** *

[EBS Snapshot Management – Instance policies only] Indicates whether to * exclude the root volume from snapshots created using CreateSnapshots. * The default is false.

*/ inline Parameters& WithExcludeBootVolume(bool value) { SetExcludeBootVolume(value); return *this;} private: bool m_excludeBootVolume; bool m_excludeBootVolumeHasBeenSet; }; } // namespace Model } // namespace DLM } // namespace Aws