AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribePrimaryChannelSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10#include <aws/medialive/model/LinkedChannelType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
30 public:
31 AWS_MEDIALIVE_API DescribePrimaryChannelSettings() = default;
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetFollowingChannelArns() const { return m_followingChannelArns; }
41 inline bool FollowingChannelArnsHasBeenSet() const { return m_followingChannelArnsHasBeenSet; }
42 template <typename FollowingChannelArnsT = Aws::Vector<Aws::String>>
43 void SetFollowingChannelArns(FollowingChannelArnsT&& value) {
44 m_followingChannelArnsHasBeenSet = true;
45 m_followingChannelArns = std::forward<FollowingChannelArnsT>(value);
46 }
47 template <typename FollowingChannelArnsT = Aws::Vector<Aws::String>>
49 SetFollowingChannelArns(std::forward<FollowingChannelArnsT>(value));
50 return *this;
51 }
52 template <typename FollowingChannelArnsT = Aws::String>
54 m_followingChannelArnsHasBeenSet = true;
55 m_followingChannelArns.emplace_back(std::forward<FollowingChannelArnsT>(value));
56 return *this;
57 }
59
61
64 inline LinkedChannelType GetLinkedChannelType() const { return m_linkedChannelType; }
65 inline bool LinkedChannelTypeHasBeenSet() const { return m_linkedChannelTypeHasBeenSet; }
67 m_linkedChannelTypeHasBeenSet = true;
68 m_linkedChannelType = value;
69 }
72 return *this;
73 }
75 private:
76 Aws::Vector<Aws::String> m_followingChannelArns;
77
79 bool m_followingChannelArnsHasBeenSet = false;
80 bool m_linkedChannelTypeHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace MediaLive
85} // namespace Aws
const Aws::Vector< Aws::String > & GetFollowingChannelArns() const
DescribePrimaryChannelSettings & WithFollowingChannelArns(FollowingChannelArnsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API DescribePrimaryChannelSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API DescribePrimaryChannelSettings()=default
DescribePrimaryChannelSettings & WithLinkedChannelType(LinkedChannelType value)
DescribePrimaryChannelSettings & AddFollowingChannelArns(FollowingChannelArnsT &&value)
AWS_MEDIALIVE_API DescribePrimaryChannelSettings(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue