AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MulticastSource.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIALIVE_API MulticastSource();
36 AWS_MEDIALIVE_API MulticastSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSourceIp() const{ return m_sourceIp; }
46 inline bool SourceIpHasBeenSet() const { return m_sourceIpHasBeenSet; }
47 inline void SetSourceIp(const Aws::String& value) { m_sourceIpHasBeenSet = true; m_sourceIp = value; }
48 inline void SetSourceIp(Aws::String&& value) { m_sourceIpHasBeenSet = true; m_sourceIp = std::move(value); }
49 inline void SetSourceIp(const char* value) { m_sourceIpHasBeenSet = true; m_sourceIp.assign(value); }
50 inline MulticastSource& WithSourceIp(const Aws::String& value) { SetSourceIp(value); return *this;}
51 inline MulticastSource& WithSourceIp(Aws::String&& value) { SetSourceIp(std::move(value)); return *this;}
52 inline MulticastSource& WithSourceIp(const char* value) { SetSourceIp(value); return *this;}
54
56
59 inline const Aws::String& GetUrl() const{ return m_url; }
60 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
61 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
62 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
63 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
64 inline MulticastSource& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
65 inline MulticastSource& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
66 inline MulticastSource& WithUrl(const char* value) { SetUrl(value); return *this;}
68 private:
69
70 Aws::String m_sourceIp;
71 bool m_sourceIpHasBeenSet = false;
72
73 Aws::String m_url;
74 bool m_urlHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaLive
79} // namespace Aws
MulticastSource & WithUrl(const Aws::String &value)
MulticastSource & WithUrl(Aws::String &&value)
AWS_MEDIALIVE_API MulticastSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUrl() const
MulticastSource & WithSourceIp(const Aws::String &value)
void SetUrl(const Aws::String &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourceIp() const
MulticastSource & WithUrl(const char *value)
MulticastSource & WithSourceIp(Aws::String &&value)
MulticastSource & WithSourceIp(const char *value)
void SetSourceIp(Aws::String &&value)
void SetSourceIp(const Aws::String &value)
AWS_MEDIALIVE_API MulticastSource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue