/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The websocket endpoint used to connect to Amazon Chime SDK
* messaging.See Also:
AWS
* API Reference
The endpoint to which you establish a websocket connection.
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *The endpoint to which you establish a websocket connection.
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The endpoint to which you establish a websocket connection.
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The endpoint to which you establish a websocket connection.
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The endpoint to which you establish a websocket connection.
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The endpoint to which you establish a websocket connection.
*/ inline MessagingSessionEndpoint& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The endpoint to which you establish a websocket connection.
*/ inline MessagingSessionEndpoint& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The endpoint to which you establish a websocket connection.
*/ inline MessagingSessionEndpoint& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws