/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the service discovery information for a service
* mesh.See Also:
AWS
* API Reference
The IP version to use to control traffic within the mesh.
*/ inline const IpPreference& GetIpPreference() const{ return m_ipPreference; } /** *The IP version to use to control traffic within the mesh.
*/ inline bool IpPreferenceHasBeenSet() const { return m_ipPreferenceHasBeenSet; } /** *The IP version to use to control traffic within the mesh.
*/ inline void SetIpPreference(const IpPreference& value) { m_ipPreferenceHasBeenSet = true; m_ipPreference = value; } /** *The IP version to use to control traffic within the mesh.
*/ inline void SetIpPreference(IpPreference&& value) { m_ipPreferenceHasBeenSet = true; m_ipPreference = std::move(value); } /** *The IP version to use to control traffic within the mesh.
*/ inline MeshServiceDiscovery& WithIpPreference(const IpPreference& value) { SetIpPreference(value); return *this;} /** *The IP version to use to control traffic within the mesh.
*/ inline MeshServiceDiscovery& WithIpPreference(IpPreference&& value) { SetIpPreference(std::move(value)); return *this;} private: IpPreference m_ipPreference; bool m_ipPreferenceHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws