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

Details about the origin of the data set.

See Also:

AWS * API Reference

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

The product ID of the origin of the data set.

*/ inline const Aws::String& GetProductId() const{ return m_productId; } /** *

The product ID of the origin of the data set.

*/ inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; } /** *

The product ID of the origin of the data set.

*/ inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; } /** *

The product ID of the origin of the data set.

*/ inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); } /** *

The product ID of the origin of the data set.

*/ inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); } /** *

The product ID of the origin of the data set.

*/ inline OriginDetails& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} /** *

The product ID of the origin of the data set.

*/ inline OriginDetails& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;} /** *

The product ID of the origin of the data set.

*/ inline OriginDetails& WithProductId(const char* value) { SetProductId(value); return *this;} private: Aws::String m_productId; bool m_productIdHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws