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/servicecatalog/model/RecordDetail.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 ImportAsProvisionedProductResult 28 { 29 public: 30 ImportAsProvisionedProductResult(); 31 ImportAsProvisionedProductResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 ImportAsProvisionedProductResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 GetRecordDetail()36 inline const RecordDetail& GetRecordDetail() const{ return m_recordDetail; } 37 38 SetRecordDetail(const RecordDetail & value)39 inline void SetRecordDetail(const RecordDetail& value) { m_recordDetail = value; } 40 41 SetRecordDetail(RecordDetail && value)42 inline void SetRecordDetail(RecordDetail&& value) { m_recordDetail = std::move(value); } 43 44 WithRecordDetail(const RecordDetail & value)45 inline ImportAsProvisionedProductResult& WithRecordDetail(const RecordDetail& value) { SetRecordDetail(value); return *this;} 46 47 WithRecordDetail(RecordDetail && value)48 inline ImportAsProvisionedProductResult& WithRecordDetail(RecordDetail&& value) { SetRecordDetail(std::move(value)); return *this;} 49 50 private: 51 52 RecordDetail m_recordDetail; 53 }; 54 55 } // namespace Model 56 } // namespace ServiceCatalog 57 } // namespace Aws 58