/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes fast snapshot restores that were successfully
* enabled.See Also:
AWS
* API Reference
The ID of the snapshot.
*/ inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; } /** *The ID of the snapshot.
*/ inline bool SnapshotIdHasBeenSet() const { return m_snapshotIdHasBeenSet; } /** *The ID of the snapshot.
*/ inline void SetSnapshotId(const Aws::String& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = value; } /** *The ID of the snapshot.
*/ inline void SetSnapshotId(Aws::String&& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = std::move(value); } /** *The ID of the snapshot.
*/ inline void SetSnapshotId(const char* value) { m_snapshotIdHasBeenSet = true; m_snapshotId.assign(value); } /** *The ID of the snapshot.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;} /** *The ID of the snapshot.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;} /** *The ID of the snapshot.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;} /** *The Availability Zone.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The state of fast snapshot restores.
*/ inline const FastSnapshotRestoreStateCode& GetState() const{ return m_state; } /** *The state of fast snapshot restores.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of fast snapshot restores.
*/ inline void SetState(const FastSnapshotRestoreStateCode& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of fast snapshot restores.
*/ inline void SetState(FastSnapshotRestoreStateCode&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of fast snapshot restores.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithState(const FastSnapshotRestoreStateCode& value) { SetState(value); return *this;} /** *The state of fast snapshot restores.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithState(FastSnapshotRestoreStateCode&& value) { SetState(std::move(value)); return *this;} /** *The reason for the state transition. The possible values are as follows:
* Client.UserInitiated
- The state successfully
* transitioned to enabling
or disabling
.
Client.UserInitiated - Lifecycle state transition
- The state
* successfully transitioned to optimizing
, enabled
, or
* disabled
.
The reason for the state transition. The possible values are as follows:
* Client.UserInitiated
- The state successfully
* transitioned to enabling
or disabling
.
Client.UserInitiated - Lifecycle state transition
- The state
* successfully transitioned to optimizing
, enabled
, or
* disabled
.
The reason for the state transition. The possible values are as follows:
* Client.UserInitiated
- The state successfully
* transitioned to enabling
or disabling
.
Client.UserInitiated - Lifecycle state transition
- The state
* successfully transitioned to optimizing
, enabled
, or
* disabled
.
The reason for the state transition. The possible values are as follows:
* Client.UserInitiated
- The state successfully
* transitioned to enabling
or disabling
.
Client.UserInitiated - Lifecycle state transition
- The state
* successfully transitioned to optimizing
, enabled
, or
* disabled
.
The reason for the state transition. The possible values are as follows:
* Client.UserInitiated
- The state successfully
* transitioned to enabling
or disabling
.
Client.UserInitiated - Lifecycle state transition
- The state
* successfully transitioned to optimizing
, enabled
, or
* disabled
.
The reason for the state transition. The possible values are as follows:
* Client.UserInitiated
- The state successfully
* transitioned to enabling
or disabling
.
Client.UserInitiated - Lifecycle state transition
- The state
* successfully transitioned to optimizing
, enabled
, or
* disabled
.
The reason for the state transition. The possible values are as follows:
* Client.UserInitiated
- The state successfully
* transitioned to enabling
or disabling
.
Client.UserInitiated - Lifecycle state transition
- The state
* successfully transitioned to optimizing
, enabled
, or
* disabled
.
The reason for the state transition. The possible values are as follows:
* Client.UserInitiated
- The state successfully
* transitioned to enabling
or disabling
.
Client.UserInitiated - Lifecycle state transition
- The state
* successfully transitioned to optimizing
, enabled
, or
* disabled
.
The ID of the Amazon Web Services account that enabled fast snapshot restores * on the snapshot.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The ID of the Amazon Web Services account that enabled fast snapshot restores * on the snapshot.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that enabled fast snapshot restores * on the snapshot.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The ID of the Amazon Web Services account that enabled fast snapshot restores * on the snapshot.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The ID of the Amazon Web Services account that enabled fast snapshot restores * on the snapshot.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The ID of the Amazon Web Services account that enabled fast snapshot restores * on the snapshot.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that enabled fast snapshot restores * on the snapshot.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that enabled fast snapshot restores * on the snapshot.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The Amazon Web Services owner alias that enabled fast snapshot restores on * the snapshot. This is intended for future use.
*/ inline const Aws::String& GetOwnerAlias() const{ return m_ownerAlias; } /** *The Amazon Web Services owner alias that enabled fast snapshot restores on * the snapshot. This is intended for future use.
*/ inline bool OwnerAliasHasBeenSet() const { return m_ownerAliasHasBeenSet; } /** *The Amazon Web Services owner alias that enabled fast snapshot restores on * the snapshot. This is intended for future use.
*/ inline void SetOwnerAlias(const Aws::String& value) { m_ownerAliasHasBeenSet = true; m_ownerAlias = value; } /** *The Amazon Web Services owner alias that enabled fast snapshot restores on * the snapshot. This is intended for future use.
*/ inline void SetOwnerAlias(Aws::String&& value) { m_ownerAliasHasBeenSet = true; m_ownerAlias = std::move(value); } /** *The Amazon Web Services owner alias that enabled fast snapshot restores on * the snapshot. This is intended for future use.
*/ inline void SetOwnerAlias(const char* value) { m_ownerAliasHasBeenSet = true; m_ownerAlias.assign(value); } /** *The Amazon Web Services owner alias that enabled fast snapshot restores on * the snapshot. This is intended for future use.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithOwnerAlias(const Aws::String& value) { SetOwnerAlias(value); return *this;} /** *The Amazon Web Services owner alias that enabled fast snapshot restores on * the snapshot. This is intended for future use.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithOwnerAlias(Aws::String&& value) { SetOwnerAlias(std::move(value)); return *this;} /** *The Amazon Web Services owner alias that enabled fast snapshot restores on * the snapshot. This is intended for future use.
*/ inline EnableFastSnapshotRestoreSuccessItem& WithOwnerAlias(const char* value) { SetOwnerAlias(value); return *this;} /** *The time at which fast snapshot restores entered the enabling
* state.
The time at which fast snapshot restores entered the enabling
* state.
The time at which fast snapshot restores entered the enabling
* state.
The time at which fast snapshot restores entered the enabling
* state.
The time at which fast snapshot restores entered the enabling
* state.
The time at which fast snapshot restores entered the enabling
* state.
The time at which fast snapshot restores entered the optimizing
* state.
The time at which fast snapshot restores entered the optimizing
* state.
The time at which fast snapshot restores entered the optimizing
* state.
The time at which fast snapshot restores entered the optimizing
* state.
The time at which fast snapshot restores entered the optimizing
* state.
The time at which fast snapshot restores entered the optimizing
* state.
The time at which fast snapshot restores entered the enabled
* state.
The time at which fast snapshot restores entered the enabled
* state.
The time at which fast snapshot restores entered the enabled
* state.
The time at which fast snapshot restores entered the enabled
* state.
The time at which fast snapshot restores entered the enabled
* state.
The time at which fast snapshot restores entered the enabled
* state.
The time at which fast snapshot restores entered the disabling
* state.
The time at which fast snapshot restores entered the disabling
* state.
The time at which fast snapshot restores entered the disabling
* state.
The time at which fast snapshot restores entered the disabling
* state.
The time at which fast snapshot restores entered the disabling
* state.
The time at which fast snapshot restores entered the disabling
* state.
The time at which fast snapshot restores entered the disabled
* state.
The time at which fast snapshot restores entered the disabled
* state.
The time at which fast snapshot restores entered the disabled
* state.
The time at which fast snapshot restores entered the disabled
* state.
The time at which fast snapshot restores entered the disabled
* state.
The time at which fast snapshot restores entered the disabled
* state.