/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure for the ICE server connection data.See Also:
AWS
* API Reference
An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline const Aws::VectorAn array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline bool UrisHasBeenSet() const { return m_urisHasBeenSet; } /** *An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline void SetUris(const Aws::VectorAn array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline void SetUris(Aws::VectorAn array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline IceServer& WithUris(const Aws::VectorAn array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline IceServer& WithUris(Aws::VectorAn array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline IceServer& AddUris(const Aws::String& value) { m_urisHasBeenSet = true; m_uris.push_back(value); return *this; } /** *An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline IceServer& AddUris(Aws::String&& value) { m_urisHasBeenSet = true; m_uris.push_back(std::move(value)); return *this; } /** *An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris * spec. These URIs provide the different addresses and/or protocols that can be * used to reach the TURN server.
*/ inline IceServer& AddUris(const char* value) { m_urisHasBeenSet = true; m_uris.push_back(value); return *this; } /** *A username to login to the ICE server.
*/ inline const Aws::String& GetUsername() const{ return m_username; } /** *A username to login to the ICE server.
*/ inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } /** *A username to login to the ICE server.
*/ inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } /** *A username to login to the ICE server.
*/ inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } /** *A username to login to the ICE server.
*/ inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } /** *A username to login to the ICE server.
*/ inline IceServer& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} /** *A username to login to the ICE server.
*/ inline IceServer& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} /** *A username to login to the ICE server.
*/ inline IceServer& WithUsername(const char* value) { SetUsername(value); return *this;} /** *A password to login to the ICE server.
*/ inline const Aws::String& GetPassword() const{ return m_password; } /** *A password to login to the ICE server.
*/ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *A password to login to the ICE server.
*/ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *A password to login to the ICE server.
*/ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *A password to login to the ICE server.
*/ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *A password to login to the ICE server.
*/ inline IceServer& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *A password to login to the ICE server.
*/ inline IceServer& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *A password to login to the ICE server.
*/ inline IceServer& WithPassword(const char* value) { SetPassword(value); return *this;} /** *The period of time, in seconds, during which the username and password are * valid.
*/ inline int GetTtl() const{ return m_ttl; } /** *The period of time, in seconds, during which the username and password are * valid.
*/ inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; } /** *The period of time, in seconds, during which the username and password are * valid.
*/ inline void SetTtl(int value) { m_ttlHasBeenSet = true; m_ttl = value; } /** *The period of time, in seconds, during which the username and password are * valid.
*/ inline IceServer& WithTtl(int value) { SetTtl(value); return *this;} private: Aws::Vector