AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
MediaPlacement.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API MediaPlacement() = default;
31 AWS_CONNECT_API MediaPlacement(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAudioHostUrl() const { return m_audioHostUrl; }
40 inline bool AudioHostUrlHasBeenSet() const { return m_audioHostUrlHasBeenSet; }
41 template <typename AudioHostUrlT = Aws::String>
42 void SetAudioHostUrl(AudioHostUrlT&& value) {
43 m_audioHostUrlHasBeenSet = true;
44 m_audioHostUrl = std::forward<AudioHostUrlT>(value);
45 }
46 template <typename AudioHostUrlT = Aws::String>
47 MediaPlacement& WithAudioHostUrl(AudioHostUrlT&& value) {
48 SetAudioHostUrl(std::forward<AudioHostUrlT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAudioFallbackUrl() const { return m_audioFallbackUrl; }
58 inline bool AudioFallbackUrlHasBeenSet() const { return m_audioFallbackUrlHasBeenSet; }
59 template <typename AudioFallbackUrlT = Aws::String>
60 void SetAudioFallbackUrl(AudioFallbackUrlT&& value) {
61 m_audioFallbackUrlHasBeenSet = true;
62 m_audioFallbackUrl = std::forward<AudioFallbackUrlT>(value);
63 }
64 template <typename AudioFallbackUrlT = Aws::String>
65 MediaPlacement& WithAudioFallbackUrl(AudioFallbackUrlT&& value) {
66 SetAudioFallbackUrl(std::forward<AudioFallbackUrlT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetSignalingUrl() const { return m_signalingUrl; }
76 inline bool SignalingUrlHasBeenSet() const { return m_signalingUrlHasBeenSet; }
77 template <typename SignalingUrlT = Aws::String>
78 void SetSignalingUrl(SignalingUrlT&& value) {
79 m_signalingUrlHasBeenSet = true;
80 m_signalingUrl = std::forward<SignalingUrlT>(value);
81 }
82 template <typename SignalingUrlT = Aws::String>
83 MediaPlacement& WithSignalingUrl(SignalingUrlT&& value) {
84 SetSignalingUrl(std::forward<SignalingUrlT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetTurnControlUrl() const { return m_turnControlUrl; }
94 inline bool TurnControlUrlHasBeenSet() const { return m_turnControlUrlHasBeenSet; }
95 template <typename TurnControlUrlT = Aws::String>
96 void SetTurnControlUrl(TurnControlUrlT&& value) {
97 m_turnControlUrlHasBeenSet = true;
98 m_turnControlUrl = std::forward<TurnControlUrlT>(value);
99 }
100 template <typename TurnControlUrlT = Aws::String>
101 MediaPlacement& WithTurnControlUrl(TurnControlUrlT&& value) {
102 SetTurnControlUrl(std::forward<TurnControlUrlT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetEventIngestionUrl() const { return m_eventIngestionUrl; }
112 inline bool EventIngestionUrlHasBeenSet() const { return m_eventIngestionUrlHasBeenSet; }
113 template <typename EventIngestionUrlT = Aws::String>
114 void SetEventIngestionUrl(EventIngestionUrlT&& value) {
115 m_eventIngestionUrlHasBeenSet = true;
116 m_eventIngestionUrl = std::forward<EventIngestionUrlT>(value);
117 }
118 template <typename EventIngestionUrlT = Aws::String>
119 MediaPlacement& WithEventIngestionUrl(EventIngestionUrlT&& value) {
120 SetEventIngestionUrl(std::forward<EventIngestionUrlT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_audioHostUrl;
126
127 Aws::String m_audioFallbackUrl;
128
129 Aws::String m_signalingUrl;
130
131 Aws::String m_turnControlUrl;
132
133 Aws::String m_eventIngestionUrl;
134 bool m_audioHostUrlHasBeenSet = false;
135 bool m_audioFallbackUrlHasBeenSet = false;
136 bool m_signalingUrlHasBeenSet = false;
137 bool m_turnControlUrlHasBeenSet = false;
138 bool m_eventIngestionUrlHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Connect
143} // namespace Aws
void SetSignalingUrl(SignalingUrlT &&value)
MediaPlacement & WithTurnControlUrl(TurnControlUrlT &&value)
const Aws::String & GetAudioFallbackUrl() const
void SetAudioFallbackUrl(AudioFallbackUrlT &&value)
const Aws::String & GetTurnControlUrl() const
const Aws::String & GetEventIngestionUrl() const
AWS_CONNECT_API MediaPlacement & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSignalingUrl() const
MediaPlacement & WithAudioFallbackUrl(AudioFallbackUrlT &&value)
AWS_CONNECT_API MediaPlacement()=default
MediaPlacement & WithEventIngestionUrl(EventIngestionUrlT &&value)
AWS_CONNECT_API MediaPlacement(Aws::Utils::Json::JsonView jsonValue)
void SetTurnControlUrl(TurnControlUrlT &&value)
void SetEventIngestionUrl(EventIngestionUrlT &&value)
void SetAudioHostUrl(AudioHostUrlT &&value)
MediaPlacement & WithSignalingUrl(SignalingUrlT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MediaPlacement & WithAudioHostUrl(AudioHostUrlT &&value)
const Aws::String & GetAudioHostUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue