/** * 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 EKS { namespace Model { /** *

Information about an Amazon EKS add-on from the Amazon Web Services * Marketplace.

See Also:

AWS * API Reference

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

The product ID from the Amazon Web Services Marketplace.

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

The product ID from the Amazon Web Services Marketplace.

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

The product ID from the Amazon Web Services Marketplace.

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

The product ID from the Amazon Web Services Marketplace.

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

The product ID from the Amazon Web Services Marketplace.

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

The product ID from the Amazon Web Services Marketplace.

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

The product ID from the Amazon Web Services Marketplace.

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

The product ID from the Amazon Web Services Marketplace.

*/ inline MarketplaceInformation& WithProductId(const char* value) { SetProductId(value); return *this;} /** *

The product URL from the Amazon Web Services Marketplace.

*/ inline const Aws::String& GetProductUrl() const{ return m_productUrl; } /** *

The product URL from the Amazon Web Services Marketplace.

*/ inline bool ProductUrlHasBeenSet() const { return m_productUrlHasBeenSet; } /** *

The product URL from the Amazon Web Services Marketplace.

*/ inline void SetProductUrl(const Aws::String& value) { m_productUrlHasBeenSet = true; m_productUrl = value; } /** *

The product URL from the Amazon Web Services Marketplace.

*/ inline void SetProductUrl(Aws::String&& value) { m_productUrlHasBeenSet = true; m_productUrl = std::move(value); } /** *

The product URL from the Amazon Web Services Marketplace.

*/ inline void SetProductUrl(const char* value) { m_productUrlHasBeenSet = true; m_productUrl.assign(value); } /** *

The product URL from the Amazon Web Services Marketplace.

*/ inline MarketplaceInformation& WithProductUrl(const Aws::String& value) { SetProductUrl(value); return *this;} /** *

The product URL from the Amazon Web Services Marketplace.

*/ inline MarketplaceInformation& WithProductUrl(Aws::String&& value) { SetProductUrl(std::move(value)); return *this;} /** *

The product URL from the Amazon Web Services Marketplace.

*/ inline MarketplaceInformation& WithProductUrl(const char* value) { SetProductUrl(value); return *this;} private: Aws::String m_productId; bool m_productIdHasBeenSet = false; Aws::String m_productUrl; bool m_productUrlHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws