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

Information about a portfolio.

See Also:

AWS * API Reference

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

The portfolio identifier.

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

The portfolio identifier.

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

The portfolio identifier.

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

The portfolio identifier.

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

The portfolio identifier.

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

The portfolio identifier.

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

The portfolio identifier.

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

The portfolio identifier.

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

The ARN assigned to the portfolio.

*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *

The ARN assigned to the portfolio.

*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *

The ARN assigned to the portfolio.

*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *

The ARN assigned to the portfolio.

*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *

The ARN assigned to the portfolio.

*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *

The ARN assigned to the portfolio.

*/ inline PortfolioDetail& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *

The ARN assigned to the portfolio.

*/ inline PortfolioDetail& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *

The ARN assigned to the portfolio.

*/ inline PortfolioDetail& WithARN(const char* value) { SetARN(value); return *this;} /** *

The name to use for display purposes.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The name to use for display purposes.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

The name to use for display purposes.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

The name to use for display purposes.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

The name to use for display purposes.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

The name to use for display purposes.

*/ inline PortfolioDetail& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The name to use for display purposes.

*/ inline PortfolioDetail& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The name to use for display purposes.

*/ inline PortfolioDetail& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The description of the portfolio.

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

The description of the portfolio.

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

The description of the portfolio.

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

The description of the portfolio.

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

The description of the portfolio.

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

The description of the portfolio.

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

The description of the portfolio.

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

The description of the portfolio.

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

The UTC time stamp of the creation time.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The UTC time stamp of the creation time.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The UTC time stamp of the creation time.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The UTC time stamp of the creation time.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The UTC time stamp of the creation time.

*/ inline PortfolioDetail& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The UTC time stamp of the creation time.

*/ inline PortfolioDetail& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The name of the portfolio provider.

*/ inline const Aws::String& GetProviderName() const{ return m_providerName; } /** *

The name of the portfolio provider.

*/ inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; } /** *

The name of the portfolio provider.

*/ inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; } /** *

The name of the portfolio provider.

*/ inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); } /** *

The name of the portfolio provider.

*/ inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); } /** *

The name of the portfolio provider.

*/ inline PortfolioDetail& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;} /** *

The name of the portfolio provider.

*/ inline PortfolioDetail& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;} /** *

The name of the portfolio provider.

*/ inline PortfolioDetail& WithProviderName(const char* value) { SetProviderName(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_aRN; bool m_aRNHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_providerName; bool m_providerNameHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws