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/ecr/ECR_EXPORTS.h> 8 #include <aws/ecr/model/Repository.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 ECR 24 { 25 namespace Model 26 { 27 class AWS_ECR_API DeleteRepositoryResult 28 { 29 public: 30 DeleteRepositoryResult(); 31 DeleteRepositoryResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DeleteRepositoryResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The repository that was deleted.</p> 37 */ GetRepository()38 inline const Repository& GetRepository() const{ return m_repository; } 39 40 /** 41 * <p>The repository that was deleted.</p> 42 */ SetRepository(const Repository & value)43 inline void SetRepository(const Repository& value) { m_repository = value; } 44 45 /** 46 * <p>The repository that was deleted.</p> 47 */ SetRepository(Repository && value)48 inline void SetRepository(Repository&& value) { m_repository = std::move(value); } 49 50 /** 51 * <p>The repository that was deleted.</p> 52 */ WithRepository(const Repository & value)53 inline DeleteRepositoryResult& WithRepository(const Repository& value) { SetRepository(value); return *this;} 54 55 /** 56 * <p>The repository that was deleted.</p> 57 */ WithRepository(Repository && value)58 inline DeleteRepositoryResult& WithRepository(Repository&& value) { SetRepository(std::move(value)); return *this;} 59 60 private: 61 62 Repository m_repository; 63 }; 64 65 } // namespace Model 66 } // namespace ECR 67 } // namespace Aws 68