/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The instance details to specify which volumes should be
* snapshotted.See Also:
AWS
* API Reference
The instance to specify which volumes should be snapshotted.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The instance to specify which volumes should be snapshotted.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The instance to specify which volumes should be snapshotted.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The instance to specify which volumes should be snapshotted.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The instance to specify which volumes should be snapshotted.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The instance to specify which volumes should be snapshotted.
*/ inline InstanceSpecification& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The instance to specify which volumes should be snapshotted.
*/ inline InstanceSpecification& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The instance to specify which volumes should be snapshotted.
*/ inline InstanceSpecification& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *Excludes the root volume from being snapshotted.
*/ inline bool GetExcludeBootVolume() const{ return m_excludeBootVolume; } /** *Excludes the root volume from being snapshotted.
*/ inline bool ExcludeBootVolumeHasBeenSet() const { return m_excludeBootVolumeHasBeenSet; } /** *Excludes the root volume from being snapshotted.
*/ inline void SetExcludeBootVolume(bool value) { m_excludeBootVolumeHasBeenSet = true; m_excludeBootVolume = value; } /** *Excludes the root volume from being snapshotted.
*/ inline InstanceSpecification& WithExcludeBootVolume(bool value) { SetExcludeBootVolume(value); return *this;} /** *The IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline const Aws::VectorThe IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline bool ExcludeDataVolumeIdsHasBeenSet() const { return m_excludeDataVolumeIdsHasBeenSet; } /** *The IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline void SetExcludeDataVolumeIds(const Aws::VectorThe IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline void SetExcludeDataVolumeIds(Aws::VectorThe IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline InstanceSpecification& WithExcludeDataVolumeIds(const Aws::VectorThe IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline InstanceSpecification& WithExcludeDataVolumeIds(Aws::VectorThe IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline InstanceSpecification& AddExcludeDataVolumeIds(const Aws::String& value) { m_excludeDataVolumeIdsHasBeenSet = true; m_excludeDataVolumeIds.push_back(value); return *this; } /** *The IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline InstanceSpecification& AddExcludeDataVolumeIds(Aws::String&& value) { m_excludeDataVolumeIdsHasBeenSet = true; m_excludeDataVolumeIds.push_back(std::move(value)); return *this; } /** *The IDs of the data (non-root) volumes to exclude from the multi-volume * snapshot set. If you specify the ID of the root volume, the request fails. To * exclude the root volume, use ExcludeBootVolume.
You can specify up * to 40 volume IDs per request.
*/ inline InstanceSpecification& AddExcludeDataVolumeIds(const char* value) { m_excludeDataVolumeIdsHasBeenSet = true; m_excludeDataVolumeIds.push_back(value); return *this; } private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; bool m_excludeBootVolume; bool m_excludeBootVolumeHasBeenSet = false; Aws::Vector