/** * 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 ServiceDiscovery { namespace Model { class AWS_SERVICEDISCOVERY_API CreateServiceResult { public: CreateServiceResult(); CreateServiceResult(const Aws::AmazonWebServiceResult& result); CreateServiceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A complex type that contains information about the new service.

*/ inline const Service& GetService() const{ return m_service; } /** *

A complex type that contains information about the new service.

*/ inline void SetService(const Service& value) { m_service = value; } /** *

A complex type that contains information about the new service.

*/ inline void SetService(Service&& value) { m_service = std::move(value); } /** *

A complex type that contains information about the new service.

*/ inline CreateServiceResult& WithService(const Service& value) { SetService(value); return *this;} /** *

A complex type that contains information about the new service.

*/ inline CreateServiceResult& WithService(Service&& value) { SetService(std::move(value)); return *this;} private: Service m_service; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws