AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUris(const Aws::Vector<Aws::String>& value) { m_urisHasBeenSet = true; m_uris = value; }
51 inline void SetUris(Aws::Vector<Aws::String>&& value) { m_urisHasBeenSet = true; m_uris = std::move(value); }
52 inline IceServer& WithUris(const Aws::Vector<Aws::String>& value) { SetUris(value); return *this;}
53 inline IceServer& WithUris(Aws::Vector<Aws::String>&& value) { SetUris(std::move(value)); return *this;}
54 inline IceServer& AddUris(const Aws::String& value) { m_urisHasBeenSet = true; m_uris.push_back(value); return *this; }
55 inline IceServer& AddUris(Aws::String&& value) { m_urisHasBeenSet = true; m_uris.push_back(std::move(value)); return *this; }
56 inline IceServer& AddUris(const char* value) { m_urisHasBeenSet = true; m_uris.push_back(value); return *this; }
58
60
63 inline const Aws::String& GetUsername() const{ return m_username; }
64 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
65 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
66 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
67 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
68 inline IceServer& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
69 inline IceServer& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
70 inline IceServer& WithUsername(const char* value) { SetUsername(value); return *this;}
72
74
77 inline const Aws::String& GetPassword() const{ return m_password; }
78 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
79 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
80 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
81 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
82 inline IceServer& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
83 inline IceServer& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
84 inline IceServer& WithPassword(const char* value) { SetPassword(value); return *this;}
86
88
92 inline int GetTtl() const{ return m_ttl; }
93 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
94 inline void SetTtl(int value) { m_ttlHasBeenSet = true; m_ttl = value; }
95 inline IceServer& WithTtl(int value) { SetTtl(value); return *this;}
97 private:
98
100 bool m_urisHasBeenSet = false;
101
102 Aws::String m_username;
103 bool m_usernameHasBeenSet = false;
104
105 Aws::String m_password;
106 bool m_passwordHasBeenSet = false;
107
108 int m_ttl;
109 bool m_ttlHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace KinesisVideoSignalingChannels
114} // namespace Aws
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer()
IceServer & WithUsername(const Aws::String &value)
Definition IceServer.h:68
void SetPassword(const Aws::String &value)
Definition IceServer.h:79
IceServer & WithUris(Aws::Vector< Aws::String > &&value)
Definition IceServer.h:53
IceServer & WithPassword(const Aws::String &value)
Definition IceServer.h:82
const Aws::Vector< Aws::String > & GetUris() const
Definition IceServer.h:48
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer(Aws::Utils::Json::JsonView jsonValue)
void SetUsername(const Aws::String &value)
Definition IceServer.h:65
IceServer & WithUris(const Aws::Vector< Aws::String > &value)
Definition IceServer.h:52
void SetUris(Aws::Vector< Aws::String > &&value)
Definition IceServer.h:51
AWS_KINESISVIDEOSIGNALINGCHANNELS_API Aws::Utils::Json::JsonValue Jsonize() const
IceServer & AddUris(const Aws::String &value)
Definition IceServer.h:54
IceServer & WithUsername(const char *value)
Definition IceServer.h:70
IceServer & AddUris(Aws::String &&value)
Definition IceServer.h:55
AWS_KINESISVIDEOSIGNALINGCHANNELS_API IceServer & operator=(Aws::Utils::Json::JsonView jsonValue)
IceServer & WithPassword(Aws::String &&value)
Definition IceServer.h:83
IceServer & WithUsername(Aws::String &&value)
Definition IceServer.h:69
IceServer & WithPassword(const char *value)
Definition IceServer.h:84
void SetUris(const Aws::Vector< Aws::String > &value)
Definition IceServer.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue