/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The streaming protocol you want your stack to prefer. This can be UDP or TCP.
* Currently, UDP is only supported in the Windows native client.See
* Also:
AWS
* API Reference
The preferred protocol that you want to use while streaming your * application.
*/ inline const PreferredProtocol& GetPreferredProtocol() const{ return m_preferredProtocol; } /** *The preferred protocol that you want to use while streaming your * application.
*/ inline bool PreferredProtocolHasBeenSet() const { return m_preferredProtocolHasBeenSet; } /** *The preferred protocol that you want to use while streaming your * application.
*/ inline void SetPreferredProtocol(const PreferredProtocol& value) { m_preferredProtocolHasBeenSet = true; m_preferredProtocol = value; } /** *The preferred protocol that you want to use while streaming your * application.
*/ inline void SetPreferredProtocol(PreferredProtocol&& value) { m_preferredProtocolHasBeenSet = true; m_preferredProtocol = std::move(value); } /** *The preferred protocol that you want to use while streaming your * application.
*/ inline StreamingExperienceSettings& WithPreferredProtocol(const PreferredProtocol& value) { SetPreferredProtocol(value); return *this;} /** *The preferred protocol that you want to use while streaming your * application.
*/ inline StreamingExperienceSettings& WithPreferredProtocol(PreferredProtocol&& value) { SetPreferredProtocol(std::move(value)); return *this;} private: PreferredProtocol m_preferredProtocol; bool m_preferredProtocolHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws