7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
12#include <aws/ivs-realtime/model/CompositionState.h>
13#include <aws/ivs-realtime/model/Destination.h>
14#include <aws/ivs-realtime/model/LayoutConfiguration.h>
25namespace ivsrealtime {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename StageArnT = Aws::String>
66 m_stageArnHasBeenSet =
true;
67 m_stageArn = std::forward<StageArnT>(value);
69 template <
typename StageArnT = Aws::String>
83 m_stateHasBeenSet =
true;
98 template <
typename LayoutT = LayoutConfiguration>
100 m_layoutHasBeenSet =
true;
101 m_layout = std::forward<LayoutT>(value);
103 template <
typename LayoutT = LayoutConfiguration>
118 template <
typename DestinationsT = Aws::Vector<Destination>>
120 m_destinationsHasBeenSet =
true;
121 m_destinations = std::forward<DestinationsT>(value);
123 template <
typename DestinationsT = Aws::Vector<Destination>>
128 template <
typename DestinationsT = Destination>
130 m_destinationsHasBeenSet =
true;
131 m_destinations.emplace_back(std::forward<DestinationsT>(value));
148 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 m_tagsHasBeenSet =
true;
151 m_tags = std::forward<TagsT>(value);
153 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 SetTags(std::forward<TagsT>(value));
158 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
160 m_tagsHasBeenSet =
true;
161 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
173 template <
typename StartTimeT = Aws::Utils::DateTime>
175 m_startTimeHasBeenSet =
true;
176 m_startTime = std::forward<StartTimeT>(value);
178 template <
typename StartTimeT = Aws::Utils::DateTime>
192 template <
typename EndTimeT = Aws::Utils::DateTime>
194 m_endTimeHasBeenSet =
true;
195 m_endTime = std::forward<EndTimeT>(value);
197 template <
typename EndTimeT = Aws::Utils::DateTime>
210 LayoutConfiguration m_layout;
219 bool m_arnHasBeenSet =
false;
220 bool m_stageArnHasBeenSet =
false;
221 bool m_stateHasBeenSet =
false;
222 bool m_layoutHasBeenSet =
false;
223 bool m_destinationsHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
225 bool m_startTimeHasBeenSet =
false;
226 bool m_endTimeHasBeenSet =
false;
CompositionState GetState() const
Composition & AddDestinations(DestinationsT &&value)
Composition & WithEndTime(EndTimeT &&value)
void SetEndTime(EndTimeT &&value)
bool StateHasBeenSet() const
Composition & WithTags(TagsT &&value)
Composition & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
bool LayoutHasBeenSet() const
bool EndTimeHasBeenSet() const
void SetTags(TagsT &&value)
bool StageArnHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
AWS_IVSREALTIME_API Composition & operator=(Aws::Utils::Json::JsonView jsonValue)
const LayoutConfiguration & GetLayout() const
bool TagsHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
Composition & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool StartTimeHasBeenSet() const
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLayout(LayoutT &&value)
const Aws::String & GetStageArn() const
const Aws::Vector< Destination > & GetDestinations() const
Composition & WithDestinations(DestinationsT &&value)
void SetStartTime(StartTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Composition & WithStageArn(StageArnT &&value)
void SetStageArn(StageArnT &&value)
Composition & WithState(CompositionState value)
void SetDestinations(DestinationsT &&value)
void SetState(CompositionState value)
Composition & WithLayout(LayoutT &&value)
AWS_IVSREALTIME_API Composition(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API Composition()=default
const Aws::Utils::DateTime & GetStartTime() const
bool DestinationsHasBeenSet() const
Composition & WithStartTime(StartTimeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue