AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MulticastSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/model/MulticastSource.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 MediaLive
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIALIVE_API MulticastSettings();
37 AWS_MEDIALIVE_API MulticastSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::Vector<MulticastSource>& GetSources() const{ return m_sources; }
45 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
46 inline void SetSources(const Aws::Vector<MulticastSource>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
47 inline void SetSources(Aws::Vector<MulticastSource>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
48 inline MulticastSettings& WithSources(const Aws::Vector<MulticastSource>& value) { SetSources(value); return *this;}
49 inline MulticastSettings& WithSources(Aws::Vector<MulticastSource>&& value) { SetSources(std::move(value)); return *this;}
50 inline MulticastSettings& AddSources(const MulticastSource& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
51 inline MulticastSettings& AddSources(MulticastSource&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
53 private:
54
56 bool m_sourcesHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace MediaLive
61} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MulticastSettings & WithSources(const Aws::Vector< MulticastSource > &value)
MulticastSettings & AddSources(const MulticastSource &value)
const Aws::Vector< MulticastSource > & GetSources() const
void SetSources(const Aws::Vector< MulticastSource > &value)
AWS_MEDIALIVE_API MulticastSettings(Aws::Utils::Json::JsonView jsonValue)
MulticastSettings & AddSources(MulticastSource &&value)
void SetSources(Aws::Vector< MulticastSource > &&value)
MulticastSettings & WithSources(Aws::Vector< MulticastSource > &&value)
AWS_MEDIALIVE_API MulticastSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue