1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/servicecatalog/ServiceCatalog_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace ServiceCatalog 24 { 25 namespace Model 26 { 27 class AWS_SERVICECATALOG_API DeletePortfolioShareResult 28 { 29 public: 30 DeletePortfolioShareResult(); 31 DeletePortfolioShareResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DeletePortfolioShareResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The portfolio share unique identifier. This will only be returned if delete 37 * is made to an organization node.</p> 38 */ GetPortfolioShareToken()39 inline const Aws::String& GetPortfolioShareToken() const{ return m_portfolioShareToken; } 40 41 /** 42 * <p>The portfolio share unique identifier. This will only be returned if delete 43 * is made to an organization node.</p> 44 */ SetPortfolioShareToken(const Aws::String & value)45 inline void SetPortfolioShareToken(const Aws::String& value) { m_portfolioShareToken = value; } 46 47 /** 48 * <p>The portfolio share unique identifier. This will only be returned if delete 49 * is made to an organization node.</p> 50 */ SetPortfolioShareToken(Aws::String && value)51 inline void SetPortfolioShareToken(Aws::String&& value) { m_portfolioShareToken = std::move(value); } 52 53 /** 54 * <p>The portfolio share unique identifier. This will only be returned if delete 55 * is made to an organization node.</p> 56 */ SetPortfolioShareToken(const char * value)57 inline void SetPortfolioShareToken(const char* value) { m_portfolioShareToken.assign(value); } 58 59 /** 60 * <p>The portfolio share unique identifier. This will only be returned if delete 61 * is made to an organization node.</p> 62 */ WithPortfolioShareToken(const Aws::String & value)63 inline DeletePortfolioShareResult& WithPortfolioShareToken(const Aws::String& value) { SetPortfolioShareToken(value); return *this;} 64 65 /** 66 * <p>The portfolio share unique identifier. This will only be returned if delete 67 * is made to an organization node.</p> 68 */ WithPortfolioShareToken(Aws::String && value)69 inline DeletePortfolioShareResult& WithPortfolioShareToken(Aws::String&& value) { SetPortfolioShareToken(std::move(value)); return *this;} 70 71 /** 72 * <p>The portfolio share unique identifier. This will only be returned if delete 73 * is made to an organization node.</p> 74 */ WithPortfolioShareToken(const char * value)75 inline DeletePortfolioShareResult& WithPortfolioShareToken(const char* value) { SetPortfolioShareToken(value); return *this;} 76 77 private: 78 79 Aws::String m_portfolioShareToken; 80 }; 81 82 } // namespace Model 83 } // namespace ServiceCatalog 84 } // namespace Aws 85