AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
MulticastInputSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API MulticastInputSettings() = default;
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetSourceIpAddress() const { return m_sourceIpAddress; }
39 inline bool SourceIpAddressHasBeenSet() const { return m_sourceIpAddressHasBeenSet; }
40 template <typename SourceIpAddressT = Aws::String>
41 void SetSourceIpAddress(SourceIpAddressT&& value) {
42 m_sourceIpAddressHasBeenSet = true;
43 m_sourceIpAddress = std::forward<SourceIpAddressT>(value);
44 }
45 template <typename SourceIpAddressT = Aws::String>
46 MulticastInputSettings& WithSourceIpAddress(SourceIpAddressT&& value) {
47 SetSourceIpAddress(std::forward<SourceIpAddressT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_sourceIpAddress;
53 bool m_sourceIpAddressHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace MediaLive
58} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API MulticastInputSettings(Aws::Utils::Json::JsonView jsonValue)
MulticastInputSettings & WithSourceIpAddress(SourceIpAddressT &&value)
AWS_MEDIALIVE_API MulticastInputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API MulticastInputSettings()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue