/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeArtifact { namespace Model { class AWS_CODEARTIFACT_API AssociateExternalConnectionResult { public: AssociateExternalConnectionResult(); AssociateExternalConnectionResult(const Aws::AmazonWebServiceResult& result); AssociateExternalConnectionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the connected repository after processing the request. *

*/ inline const RepositoryDescription& GetRepository() const{ return m_repository; } /** *

Information about the connected repository after processing the request. *

*/ inline void SetRepository(const RepositoryDescription& value) { m_repository = value; } /** *

Information about the connected repository after processing the request. *

*/ inline void SetRepository(RepositoryDescription&& value) { m_repository = std::move(value); } /** *

Information about the connected repository after processing the request. *

*/ inline AssociateExternalConnectionResult& WithRepository(const RepositoryDescription& value) { SetRepository(value); return *this;} /** *

Information about the connected repository after processing the request. *

*/ inline AssociateExternalConnectionResult& WithRepository(RepositoryDescription&& value) { SetRepository(std::move(value)); return *this;} private: RepositoryDescription m_repository; }; } // namespace Model } // namespace CodeArtifact } // namespace Aws