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

List of summaries of data stores.

See Also:

AWS * API Reference

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

The data store identifier.

*/ inline const Aws::String& GetDatastoreId() const{ return m_datastoreId; } /** *

The data store identifier.

*/ inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; } /** *

The data store identifier.

*/ inline void SetDatastoreId(const Aws::String& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = value; } /** *

The data store identifier.

*/ inline void SetDatastoreId(Aws::String&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::move(value); } /** *

The data store identifier.

*/ inline void SetDatastoreId(const char* value) { m_datastoreIdHasBeenSet = true; m_datastoreId.assign(value); } /** *

The data store identifier.

*/ inline DatastoreSummary& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;} /** *

The data store identifier.

*/ inline DatastoreSummary& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;} /** *

The data store identifier.

*/ inline DatastoreSummary& WithDatastoreId(const char* value) { SetDatastoreId(value); return *this;} /** *

The data store name.

*/ inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; } /** *

The data store name.

*/ inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; } /** *

The data store name.

*/ inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; } /** *

The data store name.

*/ inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); } /** *

The data store name.

*/ inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); } /** *

The data store name.

*/ inline DatastoreSummary& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;} /** *

The data store name.

*/ inline DatastoreSummary& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;} /** *

The data store name.

*/ inline DatastoreSummary& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;} /** *

The data store status.

*/ inline const DatastoreStatus& GetDatastoreStatus() const{ return m_datastoreStatus; } /** *

The data store status.

*/ inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; } /** *

The data store status.

*/ inline void SetDatastoreStatus(const DatastoreStatus& value) { m_datastoreStatusHasBeenSet = true; m_datastoreStatus = value; } /** *

The data store status.

*/ inline void SetDatastoreStatus(DatastoreStatus&& value) { m_datastoreStatusHasBeenSet = true; m_datastoreStatus = std::move(value); } /** *

The data store status.

*/ inline DatastoreSummary& WithDatastoreStatus(const DatastoreStatus& value) { SetDatastoreStatus(value); return *this;} /** *

The data store status.

*/ inline DatastoreSummary& WithDatastoreStatus(DatastoreStatus&& value) { SetDatastoreStatus(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the data store.

*/ inline const Aws::String& GetDatastoreArn() const{ return m_datastoreArn; } /** *

The Amazon Resource Name (ARN) for the data store.

*/ inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the data store.

*/ inline void SetDatastoreArn(const Aws::String& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = value; } /** *

The Amazon Resource Name (ARN) for the data store.

*/ inline void SetDatastoreArn(Aws::String&& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the data store.

*/ inline void SetDatastoreArn(const char* value) { m_datastoreArnHasBeenSet = true; m_datastoreArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the data store.

*/ inline DatastoreSummary& WithDatastoreArn(const Aws::String& value) { SetDatastoreArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the data store.

*/ inline DatastoreSummary& WithDatastoreArn(Aws::String&& value) { SetDatastoreArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the data store.

*/ inline DatastoreSummary& WithDatastoreArn(const char* value) { SetDatastoreArn(value); return *this;} /** *

The timestamp when the data store was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The timestamp when the data store was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The timestamp when the data store was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The timestamp when the data store was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The timestamp when the data store was created.

*/ inline DatastoreSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The timestamp when the data store was created.

*/ inline DatastoreSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The timestamp when the data store was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The timestamp when the data store was last updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The timestamp when the data store was last updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The timestamp when the data store was last updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The timestamp when the data store was last updated.

*/ inline DatastoreSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The timestamp when the data store was last updated.

*/ inline DatastoreSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_datastoreId; bool m_datastoreIdHasBeenSet = false; Aws::String m_datastoreName; bool m_datastoreNameHasBeenSet = false; DatastoreStatus m_datastoreStatus; bool m_datastoreStatusHasBeenSet = false; Aws::String m_datastoreArn; bool m_datastoreArnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace MedicalImaging } // namespace Aws