/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace ServiceCatalog { namespace Model { /** */ class UpdatePortfolioRequest : public ServiceCatalogRequest { public: AWS_SERVICECATALOG_API UpdatePortfolioRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdatePortfolio"; } AWS_SERVICECATALOG_API Aws::String SerializePayload() const override; AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline UpdatePortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;} /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline UpdatePortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;} /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline UpdatePortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;} /** *

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 UpdatePortfolioRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The portfolio identifier.

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

The portfolio identifier.

*/ inline UpdatePortfolioRequest& WithId(const char* value) { SetId(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 UpdatePortfolioRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The name to use for display purposes.

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

The name to use for display purposes.

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

The updated description of the portfolio.

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

The updated description of the portfolio.

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

The updated description of the portfolio.

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

The updated description of the portfolio.

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

The updated description of the portfolio.

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

The updated description of the portfolio.

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

The updated description of the portfolio.

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

The updated description of the portfolio.

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

The updated name of the portfolio provider.

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

The updated name of the portfolio provider.

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

The updated name of the portfolio provider.

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

The updated name of the portfolio provider.

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

The updated name of the portfolio provider.

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

The updated name of the portfolio provider.

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

The updated name of the portfolio provider.

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

The updated name of the portfolio provider.

*/ inline UpdatePortfolioRequest& WithProviderName(const char* value) { SetProviderName(value); return *this;} /** *

The tags to add.

*/ inline const Aws::Vector& GetAddTags() const{ return m_addTags; } /** *

The tags to add.

*/ inline bool AddTagsHasBeenSet() const { return m_addTagsHasBeenSet; } /** *

The tags to add.

*/ inline void SetAddTags(const Aws::Vector& value) { m_addTagsHasBeenSet = true; m_addTags = value; } /** *

The tags to add.

*/ inline void SetAddTags(Aws::Vector&& value) { m_addTagsHasBeenSet = true; m_addTags = std::move(value); } /** *

The tags to add.

*/ inline UpdatePortfolioRequest& WithAddTags(const Aws::Vector& value) { SetAddTags(value); return *this;} /** *

The tags to add.

*/ inline UpdatePortfolioRequest& WithAddTags(Aws::Vector&& value) { SetAddTags(std::move(value)); return *this;} /** *

The tags to add.

*/ inline UpdatePortfolioRequest& AddAddTags(const Tag& value) { m_addTagsHasBeenSet = true; m_addTags.push_back(value); return *this; } /** *

The tags to add.

*/ inline UpdatePortfolioRequest& AddAddTags(Tag&& value) { m_addTagsHasBeenSet = true; m_addTags.push_back(std::move(value)); return *this; } /** *

The tags to remove.

*/ inline const Aws::Vector& GetRemoveTags() const{ return m_removeTags; } /** *

The tags to remove.

*/ inline bool RemoveTagsHasBeenSet() const { return m_removeTagsHasBeenSet; } /** *

The tags to remove.

*/ inline void SetRemoveTags(const Aws::Vector& value) { m_removeTagsHasBeenSet = true; m_removeTags = value; } /** *

The tags to remove.

*/ inline void SetRemoveTags(Aws::Vector&& value) { m_removeTagsHasBeenSet = true; m_removeTags = std::move(value); } /** *

The tags to remove.

*/ inline UpdatePortfolioRequest& WithRemoveTags(const Aws::Vector& value) { SetRemoveTags(value); return *this;} /** *

The tags to remove.

*/ inline UpdatePortfolioRequest& WithRemoveTags(Aws::Vector&& value) { SetRemoveTags(std::move(value)); return *this;} /** *

The tags to remove.

*/ inline UpdatePortfolioRequest& AddRemoveTags(const Aws::String& value) { m_removeTagsHasBeenSet = true; m_removeTags.push_back(value); return *this; } /** *

The tags to remove.

*/ inline UpdatePortfolioRequest& AddRemoveTags(Aws::String&& value) { m_removeTagsHasBeenSet = true; m_removeTags.push_back(std::move(value)); return *this; } /** *

The tags to remove.

*/ inline UpdatePortfolioRequest& AddRemoveTags(const char* value) { m_removeTagsHasBeenSet = true; m_removeTags.push_back(value); return *this; } private: Aws::String m_acceptLanguage; bool m_acceptLanguageHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_providerName; bool m_providerNameHasBeenSet = false; Aws::Vector m_addTags; bool m_addTagsHasBeenSet = false; Aws::Vector m_removeTags; bool m_removeTagsHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws