/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DocDBElastic { namespace Model { /** *

A list of Elastic DocumentDB snapshots.

See Also:

AWS * API Reference

*/ class ClusterSnapshotInList { public: AWS_DOCDBELASTIC_API ClusterSnapshotInList(); AWS_DOCDBELASTIC_API ClusterSnapshotInList(Aws::Utils::Json::JsonView jsonValue); AWS_DOCDBELASTIC_API ClusterSnapshotInList& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The arn of the Elastic DocumentDB cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline ClusterSnapshotInList& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The arn of the Elastic DocumentDB cluster.

*/ inline ClusterSnapshotInList& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *

The arn of the Elastic DocumentDB cluster.

*/ inline ClusterSnapshotInList& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *

The arn of the Elastic DocumentDB snapshot

*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** *

The arn of the Elastic DocumentDB snapshot

*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** *

The arn of the Elastic DocumentDB snapshot

*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** *

The arn of the Elastic DocumentDB snapshot

*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** *

The arn of the Elastic DocumentDB snapshot

*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** *

The arn of the Elastic DocumentDB snapshot

*/ inline ClusterSnapshotInList& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** *

The arn of the Elastic DocumentDB snapshot

*/ inline ClusterSnapshotInList& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** *

The arn of the Elastic DocumentDB snapshot

*/ inline ClusterSnapshotInList& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} /** *

The time when the Elastic DocumentDB snapshot was created in Universal * Coordinated Time (UTC).

*/ inline const Aws::String& GetSnapshotCreationTime() const{ return m_snapshotCreationTime; } /** *

The time when the Elastic DocumentDB snapshot was created in Universal * Coordinated Time (UTC).

*/ inline bool SnapshotCreationTimeHasBeenSet() const { return m_snapshotCreationTimeHasBeenSet; } /** *

The time when the Elastic DocumentDB snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(const Aws::String& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = value; } /** *

The time when the Elastic DocumentDB snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(Aws::String&& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = std::move(value); } /** *

The time when the Elastic DocumentDB snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(const char* value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime.assign(value); } /** *

The time when the Elastic DocumentDB snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(const Aws::String& value) { SetSnapshotCreationTime(value); return *this;} /** *

The time when the Elastic DocumentDB snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(Aws::String&& value) { SetSnapshotCreationTime(std::move(value)); return *this;} /** *

The time when the Elastic DocumentDB snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(const char* value) { SetSnapshotCreationTime(value); return *this;} /** *

The name of the Elastic DocumentDB snapshot.

*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** *

The name of the Elastic DocumentDB snapshot.

*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** *

The name of the Elastic DocumentDB snapshot.

*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** *

The name of the Elastic DocumentDB snapshot.

*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** *

The name of the Elastic DocumentDB snapshot.

*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** *

The name of the Elastic DocumentDB snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** *

The name of the Elastic DocumentDB snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** *

The name of the Elastic DocumentDB snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** *

The status of the Elastic DocumentDB snapshot.

*/ inline const Status& GetStatus() const{ return m_status; } /** *

The status of the Elastic DocumentDB snapshot.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the Elastic DocumentDB snapshot.

*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the Elastic DocumentDB snapshot.

*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the Elastic DocumentDB snapshot.

*/ inline ClusterSnapshotInList& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *

The status of the Elastic DocumentDB snapshot.

*/ inline ClusterSnapshotInList& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_snapshotArn; bool m_snapshotArnHasBeenSet = false; Aws::String m_snapshotCreationTime; bool m_snapshotCreationTimeHasBeenSet = false; Aws::String m_snapshotName; bool m_snapshotNameHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace DocDBElastic } // namespace Aws