AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MulticastSettingsUpdateRequest.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/MulticastSourceUpdateRequest.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 MulticastSettingsUpdateRequest();
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::Vector<MulticastSourceUpdateRequest>& GetSources() const{ return m_sources; }
45 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
46 inline void SetSources(const Aws::Vector<MulticastSourceUpdateRequest>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
47 inline void SetSources(Aws::Vector<MulticastSourceUpdateRequest>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
50 inline MulticastSettingsUpdateRequest& AddSources(const MulticastSourceUpdateRequest& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
51 inline MulticastSettingsUpdateRequest& AddSources(MulticastSourceUpdateRequest&& 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
void SetSources(const Aws::Vector< MulticastSourceUpdateRequest > &value)
const Aws::Vector< MulticastSourceUpdateRequest > & GetSources() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API MulticastSettingsUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
MulticastSettingsUpdateRequest & AddSources(const MulticastSourceUpdateRequest &value)
AWS_MEDIALIVE_API MulticastSettingsUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
MulticastSettingsUpdateRequest & WithSources(const Aws::Vector< MulticastSourceUpdateRequest > &value)
void SetSources(Aws::Vector< MulticastSourceUpdateRequest > &&value)
MulticastSettingsUpdateRequest & AddSources(MulticastSourceUpdateRequest &&value)
MulticastSettingsUpdateRequest & WithSources(Aws::Vector< MulticastSourceUpdateRequest > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue