7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/model/CompositionState.h>
10#include <aws/ivs-realtime/model/LayoutConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/ivs-realtime/model/Destination.h>
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename StageArnT = Aws::String>
65 void SetStageArn(StageArnT&& value) { m_stageArnHasBeenSet =
true; m_stageArn = std::forward<StageArnT>(value); }
66 template<
typename StageArnT = Aws::String>
86 template<
typename LayoutT = LayoutConfiguration>
87 void SetLayout(LayoutT&& value) { m_layoutHasBeenSet =
true; m_layout = std::forward<LayoutT>(value); }
88 template<
typename LayoutT = LayoutConfiguration>
100 template<
typename DestinationsT = Aws::Vector<Destination>>
101 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
102 template<
typename DestinationsT = Aws::Vector<Destination>>
104 template<
typename DestinationsT = Destination>
105 Composition&
AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations.emplace_back(std::forward<DestinationsT>(value));
return *
this; }
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
126 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
137 template<
typename StartTimeT = Aws::Utils::DateTime>
138 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
139 template<
typename StartTimeT = Aws::Utils::DateTime>
150 template<
typename EndTimeT = Aws::Utils::DateTime>
151 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
152 template<
typename EndTimeT = Aws::Utils::DateTime>
158 bool m_arnHasBeenSet =
false;
161 bool m_stageArnHasBeenSet =
false;
164 bool m_stateHasBeenSet =
false;
166 LayoutConfiguration m_layout;
167 bool m_layoutHasBeenSet =
false;
170 bool m_destinationsHasBeenSet =
false;
173 bool m_tagsHasBeenSet =
false;
176 bool m_startTimeHasBeenSet =
false;
179 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