/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The websocket for the participant's connection.See Also:
AWS
* API Reference
The URL of the websocket.
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *The URL of the websocket.
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The URL of the websocket.
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The URL of the websocket.
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The URL of the websocket.
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The URL of the websocket.
*/ inline Websocket& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The URL of the websocket.
*/ inline Websocket& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The URL of the websocket.
*/ inline Websocket& WithUrl(const char* value) { SetUrl(value); return *this;} /** *The URL expiration timestamp in ISO date format.
It's specified in ISO * 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, * 2019-11-08T02:41:28.172Z.
*/ inline const Aws::String& GetConnectionExpiry() const{ return m_connectionExpiry; } /** *The URL expiration timestamp in ISO date format.
It's specified in ISO * 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, * 2019-11-08T02:41:28.172Z.
*/ inline bool ConnectionExpiryHasBeenSet() const { return m_connectionExpiryHasBeenSet; } /** *The URL expiration timestamp in ISO date format.
It's specified in ISO * 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, * 2019-11-08T02:41:28.172Z.
*/ inline void SetConnectionExpiry(const Aws::String& value) { m_connectionExpiryHasBeenSet = true; m_connectionExpiry = value; } /** *The URL expiration timestamp in ISO date format.
It's specified in ISO * 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, * 2019-11-08T02:41:28.172Z.
*/ inline void SetConnectionExpiry(Aws::String&& value) { m_connectionExpiryHasBeenSet = true; m_connectionExpiry = std::move(value); } /** *The URL expiration timestamp in ISO date format.
It's specified in ISO * 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, * 2019-11-08T02:41:28.172Z.
*/ inline void SetConnectionExpiry(const char* value) { m_connectionExpiryHasBeenSet = true; m_connectionExpiry.assign(value); } /** *The URL expiration timestamp in ISO date format.
It's specified in ISO * 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, * 2019-11-08T02:41:28.172Z.
*/ inline Websocket& WithConnectionExpiry(const Aws::String& value) { SetConnectionExpiry(value); return *this;} /** *The URL expiration timestamp in ISO date format.
It's specified in ISO * 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, * 2019-11-08T02:41:28.172Z.
*/ inline Websocket& WithConnectionExpiry(Aws::String&& value) { SetConnectionExpiry(std::move(value)); return *this;} /** *The URL expiration timestamp in ISO date format.
It's specified in ISO * 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, * 2019-11-08T02:41:28.172Z.
*/ inline Websocket& WithConnectionExpiry(const char* value) { SetConnectionExpiry(value); return *this;} private: Aws::String m_url; bool m_urlHasBeenSet = false; Aws::String m_connectionExpiry; bool m_connectionExpiryHasBeenSet = false; }; } // namespace Model } // namespace ConnectParticipant } // namespace Aws