/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about a snapshot of application state.See
* Also:
AWS
* API Reference
The identifier for the application snapshot.
*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** *The identifier for the application snapshot.
*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** *The identifier for the application snapshot.
*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** *The identifier for the application snapshot.
*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** *The identifier for the application snapshot.
*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** *The identifier for the application snapshot.
*/ inline SnapshotDetails& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** *The identifier for the application snapshot.
*/ inline SnapshotDetails& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** *The identifier for the application snapshot.
*/ inline SnapshotDetails& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** *The status of the application snapshot.
*/ inline const SnapshotStatus& GetSnapshotStatus() const{ return m_snapshotStatus; } /** *The status of the application snapshot.
*/ inline bool SnapshotStatusHasBeenSet() const { return m_snapshotStatusHasBeenSet; } /** *The status of the application snapshot.
*/ inline void SetSnapshotStatus(const SnapshotStatus& value) { m_snapshotStatusHasBeenSet = true; m_snapshotStatus = value; } /** *The status of the application snapshot.
*/ inline void SetSnapshotStatus(SnapshotStatus&& value) { m_snapshotStatusHasBeenSet = true; m_snapshotStatus = std::move(value); } /** *The status of the application snapshot.
*/ inline SnapshotDetails& WithSnapshotStatus(const SnapshotStatus& value) { SetSnapshotStatus(value); return *this;} /** *The status of the application snapshot.
*/ inline SnapshotDetails& WithSnapshotStatus(SnapshotStatus&& value) { SetSnapshotStatus(std::move(value)); return *this;} /** *The current application version ID when the snapshot was created.
*/ inline long long GetApplicationVersionId() const{ return m_applicationVersionId; } /** *The current application version ID when the snapshot was created.
*/ inline bool ApplicationVersionIdHasBeenSet() const { return m_applicationVersionIdHasBeenSet; } /** *The current application version ID when the snapshot was created.
*/ inline void SetApplicationVersionId(long long value) { m_applicationVersionIdHasBeenSet = true; m_applicationVersionId = value; } /** *The current application version ID when the snapshot was created.
*/ inline SnapshotDetails& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;} /** *The timestamp of the application snapshot.
*/ inline const Aws::Utils::DateTime& GetSnapshotCreationTimestamp() const{ return m_snapshotCreationTimestamp; } /** *The timestamp of the application snapshot.
*/ inline bool SnapshotCreationTimestampHasBeenSet() const { return m_snapshotCreationTimestampHasBeenSet; } /** *The timestamp of the application snapshot.
*/ inline void SetSnapshotCreationTimestamp(const Aws::Utils::DateTime& value) { m_snapshotCreationTimestampHasBeenSet = true; m_snapshotCreationTimestamp = value; } /** *The timestamp of the application snapshot.
*/ inline void SetSnapshotCreationTimestamp(Aws::Utils::DateTime&& value) { m_snapshotCreationTimestampHasBeenSet = true; m_snapshotCreationTimestamp = std::move(value); } /** *The timestamp of the application snapshot.
*/ inline SnapshotDetails& WithSnapshotCreationTimestamp(const Aws::Utils::DateTime& value) { SetSnapshotCreationTimestamp(value); return *this;} /** *The timestamp of the application snapshot.
*/ inline SnapshotDetails& WithSnapshotCreationTimestamp(Aws::Utils::DateTime&& value) { SetSnapshotCreationTimestamp(std::move(value)); return *this;} private: Aws::String m_snapshotName; bool m_snapshotNameHasBeenSet = false; SnapshotStatus m_snapshotStatus; bool m_snapshotStatusHasBeenSet = false; long long m_applicationVersionId; bool m_applicationVersionIdHasBeenSet = false; Aws::Utils::DateTime m_snapshotCreationTimestamp; bool m_snapshotCreationTimestampHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws