7#include <aws/kinesis-video-signaling/KinesisVideoSignalingChannels_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace KinesisVideoSignalingChannels
35 AWS_KINESISVIDEOSIGNALINGCHANNELS_API
IceServer() =
default;
50 template<
typename UrisT = Aws::Vector<Aws::String>>
51 void SetUris(UrisT&& value) { m_urisHasBeenSet =
true; m_uris = std::forward<UrisT>(value); }
52 template<
typename UrisT = Aws::Vector<Aws::String>>
54 template<
typename UrisT = Aws::String>
55 IceServer&
AddUris(UrisT&& value) { m_urisHasBeenSet =
true; m_uris.emplace_back(std::forward<UrisT>(value));
return *
this; }
64 template<
typename UsernameT = Aws::String>
65 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
66 template<
typename UsernameT = Aws::String>
76 template<
typename PasswordT = Aws::String>
77 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
78 template<
typename PasswordT = Aws::String>
87 inline int GetTtl()
const {
return m_ttl; }
89 inline void SetTtl(
int value) { m_ttlHasBeenSet =
true; m_ttl = value; }
95 bool m_urisHasBeenSet =
false;
98 bool m_usernameHasBeenSet =
false;
101 bool m_passwordHasBeenSet =
false;
104 bool m_ttlHasBeenSet =
false;
const Aws::String & GetUsername() const
IceServer & WithUsername(UsernameT &&value)
const Aws::Vector< Aws::String > & GetUris() const
IceServer & WithUris(UrisT &&value)
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer(Aws::Utils::Json::JsonView jsonValue)
void SetUsername(UsernameT &&value)
AWS_KINESISVIDEOSIGNALINGCHANNELS_API Aws::Utils::Json::JsonValue Jsonize() const
bool PasswordHasBeenSet() const
bool TtlHasBeenSet() const
IceServer & AddUris(UrisT &&value)
void SetUris(UrisT &&value)
const Aws::String & GetPassword() const
IceServer & WithPassword(PasswordT &&value)
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPassword(PasswordT &&value)
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer()=default
bool UsernameHasBeenSet() const
IceServer & WithTtl(int value)
bool UrisHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue