/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A snapshot of an Amazon FSx for OpenZFS volume.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 Snapshot& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;} /** *The ID of the snapshot.
*/ inline Snapshot& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;} /** *The ID of the snapshot.
*/ inline Snapshot& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;} /** *The name of the snapshot.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the snapshot.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the snapshot.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the snapshot.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the snapshot.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the snapshot.
*/ inline Snapshot& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the snapshot.
*/ inline Snapshot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the snapshot.
*/ inline Snapshot& WithName(const char* value) { SetName(value); return *this;} /** *The ID of the volume that the snapshot is of.
*/ inline const Aws::String& GetVolumeId() const{ return m_volumeId; } /** *The ID of the volume that the snapshot is of.
*/ inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; } /** *The ID of the volume that the snapshot is of.
*/ inline void SetVolumeId(const Aws::String& value) { m_volumeIdHasBeenSet = true; m_volumeId = value; } /** *The ID of the volume that the snapshot is of.
*/ inline void SetVolumeId(Aws::String&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::move(value); } /** *The ID of the volume that the snapshot is of.
*/ inline void SetVolumeId(const char* value) { m_volumeIdHasBeenSet = true; m_volumeId.assign(value); } /** *The ID of the volume that the snapshot is of.
*/ inline Snapshot& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;} /** *The ID of the volume that the snapshot is of.
*/ inline Snapshot& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;} /** *The ID of the volume that the snapshot is of.
*/ inline Snapshot& WithVolumeId(const char* value) { SetVolumeId(value); return *this;} inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } inline Snapshot& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} inline Snapshot& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The lifecycle status of the snapshot.
PENDING
* - Amazon FSx hasn't started creating the snapshot.
* CREATING
- Amazon FSx is creating the snapshot.
* DELETING
- Amazon FSx is deleting the snapshot.
* AVAILABLE
- The snapshot is fully available.
The lifecycle status of the snapshot.
PENDING
* - Amazon FSx hasn't started creating the snapshot.
* CREATING
- Amazon FSx is creating the snapshot.
* DELETING
- Amazon FSx is deleting the snapshot.
* AVAILABLE
- The snapshot is fully available.
The lifecycle status of the snapshot.
PENDING
* - Amazon FSx hasn't started creating the snapshot.
* CREATING
- Amazon FSx is creating the snapshot.
* DELETING
- Amazon FSx is deleting the snapshot.
* AVAILABLE
- The snapshot is fully available.
The lifecycle status of the snapshot.
PENDING
* - Amazon FSx hasn't started creating the snapshot.
* CREATING
- Amazon FSx is creating the snapshot.
* DELETING
- Amazon FSx is deleting the snapshot.
* AVAILABLE
- The snapshot is fully available.
The lifecycle status of the snapshot.
PENDING
* - Amazon FSx hasn't started creating the snapshot.
* CREATING
- Amazon FSx is creating the snapshot.
* DELETING
- Amazon FSx is deleting the snapshot.
* AVAILABLE
- The snapshot is fully available.
The lifecycle status of the snapshot.
PENDING
* - Amazon FSx hasn't started creating the snapshot.
* CREATING
- Amazon FSx is creating the snapshot.
* DELETING
- Amazon FSx is deleting the snapshot.
* AVAILABLE
- The snapshot is fully available.
A list of administrative actions for the file system that are in process or * waiting to be processed. Administrative actions describe changes to the Amazon * FSx system.
*/ inline const Aws::VectorA list of administrative actions for the file system that are in process or * waiting to be processed. Administrative actions describe changes to the Amazon * FSx system.
*/ inline bool AdministrativeActionsHasBeenSet() const { return m_administrativeActionsHasBeenSet; } /** *A list of administrative actions for the file system that are in process or * waiting to be processed. Administrative actions describe changes to the Amazon * FSx system.
*/ inline void SetAdministrativeActions(const Aws::VectorA list of administrative actions for the file system that are in process or * waiting to be processed. Administrative actions describe changes to the Amazon * FSx system.
*/ inline void SetAdministrativeActions(Aws::VectorA list of administrative actions for the file system that are in process or * waiting to be processed. Administrative actions describe changes to the Amazon * FSx system.
*/ inline Snapshot& WithAdministrativeActions(const Aws::VectorA list of administrative actions for the file system that are in process or * waiting to be processed. Administrative actions describe changes to the Amazon * FSx system.
*/ inline Snapshot& WithAdministrativeActions(Aws::VectorA list of administrative actions for the file system that are in process or * waiting to be processed. Administrative actions describe changes to the Amazon * FSx system.
*/ inline Snapshot& AddAdministrativeActions(const AdministrativeAction& value) { m_administrativeActionsHasBeenSet = true; m_administrativeActions.push_back(value); return *this; } /** *A list of administrative actions for the file system that are in process or * waiting to be processed. Administrative actions describe changes to the Amazon * FSx system.
*/ inline Snapshot& AddAdministrativeActions(AdministrativeAction&& value) { m_administrativeActionsHasBeenSet = true; m_administrativeActions.push_back(std::move(value)); return *this; } private: Aws::String m_resourceARN; bool m_resourceARNHasBeenSet = false; Aws::String m_snapshotId; bool m_snapshotIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_volumeId; bool m_volumeIdHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; SnapshotLifecycle m_lifecycle; bool m_lifecycleHasBeenSet = false; LifecycleTransitionReason m_lifecycleTransitionReason; bool m_lifecycleTransitionReasonHasBeenSet = false; Aws::Vector