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

A data set is an AWS resource with one or more revisions.

See * Also:

AWS * API Reference

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

The ARN for the data set.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN for the data set.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN for the data set.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN for the data set.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN for the data set.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN for the data set.

*/ inline DataSetEntry& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN for the data set.

*/ inline DataSetEntry& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN for the data set.

*/ inline DataSetEntry& WithArn(const char* value) { SetArn(value); return *this;} /** *

The type of asset that is added to a data set.

*/ inline const AssetType& GetAssetType() const{ return m_assetType; } /** *

The type of asset that is added to a data set.

*/ inline bool AssetTypeHasBeenSet() const { return m_assetTypeHasBeenSet; } /** *

The type of asset that is added to a data set.

*/ inline void SetAssetType(const AssetType& value) { m_assetTypeHasBeenSet = true; m_assetType = value; } /** *

The type of asset that is added to a data set.

*/ inline void SetAssetType(AssetType&& value) { m_assetTypeHasBeenSet = true; m_assetType = std::move(value); } /** *

The type of asset that is added to a data set.

*/ inline DataSetEntry& WithAssetType(const AssetType& value) { SetAssetType(value); return *this;} /** *

The type of asset that is added to a data set.

*/ inline DataSetEntry& WithAssetType(AssetType&& value) { SetAssetType(std::move(value)); return *this;} /** *

The date and time that the data set was created, in ISO 8601 format.

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

The date and time that the data set was created, in ISO 8601 format.

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

The date and time that the data set was created, in ISO 8601 format.

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

The date and time that the data set was created, in ISO 8601 format.

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

The date and time that the data set was created, in ISO 8601 format.

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

The date and time that the data set was created, in ISO 8601 format.

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

The description for the data set.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description for the data set.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description for the data set.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description for the data set.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description for the data set.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description for the data set.

*/ inline DataSetEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description for the data set.

*/ inline DataSetEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description for the data set.

*/ inline DataSetEntry& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The unique identifier for the data set.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the data set.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the data set.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the data set.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the data set.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the data set.

*/ inline DataSetEntry& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the data set.

*/ inline DataSetEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the data set.

*/ inline DataSetEntry& WithId(const char* value) { SetId(value); return *this;} /** *

The name of the data set.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the data set.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the data set.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the data set.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the data set.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the data set.

*/ inline DataSetEntry& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the data set.

*/ inline DataSetEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the data set.

*/ inline DataSetEntry& WithName(const char* value) { SetName(value); return *this;} /** *

A property that defines the data set as OWNED by the account (for providers) * or ENTITLED to the account (for subscribers).

*/ inline const Origin& GetOrigin() const{ return m_origin; } /** *

A property that defines the data set as OWNED by the account (for providers) * or ENTITLED to the account (for subscribers).

*/ inline bool OriginHasBeenSet() const { return m_originHasBeenSet; } /** *

A property that defines the data set as OWNED by the account (for providers) * or ENTITLED to the account (for subscribers).

*/ inline void SetOrigin(const Origin& value) { m_originHasBeenSet = true; m_origin = value; } /** *

A property that defines the data set as OWNED by the account (for providers) * or ENTITLED to the account (for subscribers).

*/ inline void SetOrigin(Origin&& value) { m_originHasBeenSet = true; m_origin = std::move(value); } /** *

A property that defines the data set as OWNED by the account (for providers) * or ENTITLED to the account (for subscribers).

*/ inline DataSetEntry& WithOrigin(const Origin& value) { SetOrigin(value); return *this;} /** *

A property that defines the data set as OWNED by the account (for providers) * or ENTITLED to the account (for subscribers).

*/ inline DataSetEntry& WithOrigin(Origin&& value) { SetOrigin(std::move(value)); return *this;} /** *

If the origin of this data set is ENTITLED, includes the details for the * product on AWS Marketplace.

*/ inline const OriginDetails& GetOriginDetails() const{ return m_originDetails; } /** *

If the origin of this data set is ENTITLED, includes the details for the * product on AWS Marketplace.

*/ inline bool OriginDetailsHasBeenSet() const { return m_originDetailsHasBeenSet; } /** *

If the origin of this data set is ENTITLED, includes the details for the * product on AWS Marketplace.

*/ inline void SetOriginDetails(const OriginDetails& value) { m_originDetailsHasBeenSet = true; m_originDetails = value; } /** *

If the origin of this data set is ENTITLED, includes the details for the * product on AWS Marketplace.

*/ inline void SetOriginDetails(OriginDetails&& value) { m_originDetailsHasBeenSet = true; m_originDetails = std::move(value); } /** *

If the origin of this data set is ENTITLED, includes the details for the * product on AWS Marketplace.

*/ inline DataSetEntry& WithOriginDetails(const OriginDetails& value) { SetOriginDetails(value); return *this;} /** *

If the origin of this data set is ENTITLED, includes the details for the * product on AWS Marketplace.

*/ inline DataSetEntry& WithOriginDetails(OriginDetails&& value) { SetOriginDetails(std::move(value)); return *this;} /** *

The data set ID of the owned data set corresponding to the entitled data set * being viewed. This parameter is returned when a data set owner is viewing the * entitled copy of its owned data set.

*/ inline const Aws::String& GetSourceId() const{ return m_sourceId; } /** *

The data set ID of the owned data set corresponding to the entitled data set * being viewed. This parameter is returned when a data set owner is viewing the * entitled copy of its owned data set.

*/ inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; } /** *

The data set ID of the owned data set corresponding to the entitled data set * being viewed. This parameter is returned when a data set owner is viewing the * entitled copy of its owned data set.

*/ inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; } /** *

The data set ID of the owned data set corresponding to the entitled data set * being viewed. This parameter is returned when a data set owner is viewing the * entitled copy of its owned data set.

*/ inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); } /** *

The data set ID of the owned data set corresponding to the entitled data set * being viewed. This parameter is returned when a data set owner is viewing the * entitled copy of its owned data set.

*/ inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); } /** *

The data set ID of the owned data set corresponding to the entitled data set * being viewed. This parameter is returned when a data set owner is viewing the * entitled copy of its owned data set.

*/ inline DataSetEntry& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;} /** *

The data set ID of the owned data set corresponding to the entitled data set * being viewed. This parameter is returned when a data set owner is viewing the * entitled copy of its owned data set.

*/ inline DataSetEntry& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;} /** *

The data set ID of the owned data set corresponding to the entitled data set * being viewed. This parameter is returned when a data set owner is viewing the * entitled copy of its owned data set.

*/ inline DataSetEntry& WithSourceId(const char* value) { SetSourceId(value); return *this;} /** *

The date and time that the data set was last updated, in ISO 8601 format.

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

The date and time that the data set was last updated, in ISO 8601 format.

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

The date and time that the data set was last updated, in ISO 8601 format.

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

The date and time that the data set was last updated, in ISO 8601 format.

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

The date and time that the data set was last updated, in ISO 8601 format.

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

The date and time that the data set was last updated, in ISO 8601 format.

*/ inline DataSetEntry& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; AssetType m_assetType; bool m_assetTypeHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Origin m_origin; bool m_originHasBeenSet = false; OriginDetails m_originDetails; bool m_originDetailsHasBeenSet = false; Aws::String m_sourceId; bool m_sourceIdHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws