/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the specification of a virtual
* service.See Also:
AWS
* API Reference
The App Mesh object that is acting as the provider for a virtual service. You * can specify a single virtual node or virtual router.
*/ inline const VirtualServiceProvider& GetProvider() const{ return m_provider; } /** *The App Mesh object that is acting as the provider for a virtual service. You * can specify a single virtual node or virtual router.
*/ inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; } /** *The App Mesh object that is acting as the provider for a virtual service. You * can specify a single virtual node or virtual router.
*/ inline void SetProvider(const VirtualServiceProvider& value) { m_providerHasBeenSet = true; m_provider = value; } /** *The App Mesh object that is acting as the provider for a virtual service. You * can specify a single virtual node or virtual router.
*/ inline void SetProvider(VirtualServiceProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); } /** *The App Mesh object that is acting as the provider for a virtual service. You * can specify a single virtual node or virtual router.
*/ inline VirtualServiceSpec& WithProvider(const VirtualServiceProvider& value) { SetProvider(value); return *this;} /** *The App Mesh object that is acting as the provider for a virtual service. You * can specify a single virtual node or virtual router.
*/ inline VirtualServiceSpec& WithProvider(VirtualServiceProvider&& value) { SetProvider(std::move(value)); return *this;} private: VirtualServiceProvider m_provider; bool m_providerHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws