AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
IceServer.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisVideoSignalingChannels
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer() = default;
36 AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISVIDEOSIGNALINGCHANNELS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::Vector<Aws::String>& GetUris() const { return m_uris; }
49 inline bool UrisHasBeenSet() const { return m_urisHasBeenSet; }
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>>
53 IceServer& WithUris(UrisT&& value) { SetUris(std::forward<UrisT>(value)); return *this;}
54 template<typename UrisT = Aws::String>
55 IceServer& AddUris(UrisT&& value) { m_urisHasBeenSet = true; m_uris.emplace_back(std::forward<UrisT>(value)); return *this; }
57
59
62 inline const Aws::String& GetUsername() const { return m_username; }
63 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
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>
67 IceServer& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetPassword() const { return m_password; }
75 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
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>
79 IceServer& WithPassword(PasswordT&& value) { SetPassword(std::forward<PasswordT>(value)); return *this;}
81
83
87 inline int GetTtl() const { return m_ttl; }
88 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
89 inline void SetTtl(int value) { m_ttlHasBeenSet = true; m_ttl = value; }
90 inline IceServer& WithTtl(int value) { SetTtl(value); return *this;}
92 private:
93
95 bool m_urisHasBeenSet = false;
96
97 Aws::String m_username;
98 bool m_usernameHasBeenSet = false;
99
100 Aws::String m_password;
101 bool m_passwordHasBeenSet = false;
102
103 int m_ttl{0};
104 bool m_ttlHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace KinesisVideoSignalingChannels
109} // namespace Aws
IceServer & WithUsername(UsernameT &&value)
Definition IceServer.h:67
const Aws::Vector< Aws::String > & GetUris() const
Definition IceServer.h:48
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEOSIGNALINGCHANNELS_API Aws::Utils::Json::JsonValue Jsonize() const
IceServer & WithPassword(PasswordT &&value)
Definition IceServer.h:79
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue