AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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