/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DataExchange { namespace Model { class CreateDataSetResult { public: AWS_DATAEXCHANGE_API CreateDataSetResult(); AWS_DATAEXCHANGE_API CreateDataSetResult(const Aws::AmazonWebServiceResult& result); AWS_DATAEXCHANGE_API CreateDataSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN for the data set.

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

The ARN for the data set.

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

The ARN for the data set.

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

The ARN for the data set.

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

The ARN for the data set.

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

The ARN for the data set.

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

The ARN for the data set.

*/ inline CreateDataSetResult& 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 void SetAssetType(const AssetType& value) { m_assetType = value; } /** *

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

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

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

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

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

*/ inline CreateDataSetResult& 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 void SetCreatedAt(const Aws::Utils::DateTime& value) { 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_createdAt = std::move(value); } /** *

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

*/ inline CreateDataSetResult& 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 CreateDataSetResult& 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 void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description for the data set.

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

The description for the data set.

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

The description for the data set.

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

The description for the data set.

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

The description for the data set.

*/ inline CreateDataSetResult& 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 void SetId(const Aws::String& value) { m_id = value; } /** *

The unique identifier for the data set.

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

The unique identifier for the data set.

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

The unique identifier for the data set.

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

The unique identifier for the data set.

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

The unique identifier for the data set.

*/ inline CreateDataSetResult& 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 void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the data set.

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

The name of the data set.

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

The name of the data set.

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

The name of the data set.

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

The name of the data set.

*/ inline CreateDataSetResult& 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 void SetOrigin(const Origin& value) { 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_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 CreateDataSetResult& 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 CreateDataSetResult& 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 void SetOriginDetails(const OriginDetails& value) { 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_originDetails = std::move(value); } /** *

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

*/ inline CreateDataSetResult& 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 CreateDataSetResult& 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 void SetSourceId(const Aws::String& value) { 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_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_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 CreateDataSetResult& 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 CreateDataSetResult& 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 CreateDataSetResult& WithSourceId(const char* value) { SetSourceId(value); return *this;} /** *

The tags for the data set.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags for the data set.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The tags for the data set.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The tags for the data set.

*/ inline CreateDataSetResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags for the data set.

*/ inline CreateDataSetResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags for the data set.

*/ inline CreateDataSetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags for the data set.

*/ inline CreateDataSetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags for the data set.

*/ inline CreateDataSetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags for the data set.

*/ inline CreateDataSetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags for the data set.

*/ inline CreateDataSetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags for the data set.

*/ inline CreateDataSetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags for the data set.

*/ inline CreateDataSetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 void SetUpdatedAt(const Aws::Utils::DateTime& value) { 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_updatedAt = std::move(value); } /** *

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

*/ inline CreateDataSetResult& 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 CreateDataSetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateDataSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDataSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDataSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; AssetType m_assetType; Aws::Utils::DateTime m_createdAt; Aws::String m_description; Aws::String m_id; Aws::String m_name; Origin m_origin; OriginDetails m_originDetails; Aws::String m_sourceId; Aws::Map m_tags; Aws::Utils::DateTime m_updatedAt; Aws::String m_requestId; }; } // namespace Model } // namespace DataExchange } // namespace Aws