This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-dlm/include/aws/dlm/model/Parameters.h

81 lines
2.6 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dlm/DLM_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace DLM
{
namespace Model
{
/**
* <p>Specifies optional parameters to add to a policy. The set of valid parameters
* depends on the combination of policy type and resource type.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/Parameters">AWS API
* Reference</a></p>
*/
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;
/**
* <p>[EBS Snapshot Management Instance policies only] Indicates whether to
* exclude the root volume from snapshots created using <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSnapshots.html">CreateSnapshots</a>.
* The default is false.</p>
*/
inline bool GetExcludeBootVolume() const{ return m_excludeBootVolume; }
/**
* <p>[EBS Snapshot Management Instance policies only] Indicates whether to
* exclude the root volume from snapshots created using <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSnapshots.html">CreateSnapshots</a>.
* The default is false.</p>
*/
inline bool ExcludeBootVolumeHasBeenSet() const { return m_excludeBootVolumeHasBeenSet; }
/**
* <p>[EBS Snapshot Management Instance policies only] Indicates whether to
* exclude the root volume from snapshots created using <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSnapshots.html">CreateSnapshots</a>.
* The default is false.</p>
*/
inline void SetExcludeBootVolume(bool value) { m_excludeBootVolumeHasBeenSet = true; m_excludeBootVolume = value; }
/**
* <p>[EBS Snapshot Management Instance policies only] Indicates whether to
* exclude the root volume from snapshots created using <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSnapshots.html">CreateSnapshots</a>.
* The default is false.</p>
*/
inline Parameters& WithExcludeBootVolume(bool value) { SetExcludeBootVolume(value); return *this;}
private:
bool m_excludeBootVolume;
bool m_excludeBootVolumeHasBeenSet;
};
} // namespace Model
} // namespace DLM
} // namespace Aws