7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ivs/IVS_EXPORTS.h>
11#include <aws/ivs/model/MediaTailorPlaybackConfiguration.h>
12#include <aws/ivs/model/PostRollConfiguration.h>
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
83 return m_mediaTailorPlaybackConfigurations;
86 template <
typename MediaTailorPlaybackConfigurationsT = Aws::Vector<MediaTailorPlaybackConfiguration>>
88 m_mediaTailorPlaybackConfigurationsHasBeenSet =
true;
89 m_mediaTailorPlaybackConfigurations = std::forward<MediaTailorPlaybackConfigurationsT>(value);
91 template <
typename MediaTailorPlaybackConfigurationsT = Aws::Vector<MediaTailorPlaybackConfiguration>>
96 template <
typename MediaTailorPlaybackConfigurationsT = MediaTailorPlaybackConfiguration>
98 m_mediaTailorPlaybackConfigurationsHasBeenSet =
true;
99 m_mediaTailorPlaybackConfigurations.emplace_back(std::forward<MediaTailorPlaybackConfigurationsT>(value));
111 template <
typename PostRollConfigurationT = PostRollConfiguration>
113 m_postRollConfigurationHasBeenSet =
true;
114 m_postRollConfiguration = std::forward<PostRollConfigurationT>(value);
116 template <
typename PostRollConfigurationT = PostRollConfiguration>
135 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 m_tagsHasBeenSet =
true;
138 m_tags = std::forward<TagsT>(value);
140 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 SetTags(std::forward<TagsT>(value));
145 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
147 m_tagsHasBeenSet =
true;
148 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
162 bool m_arnHasBeenSet =
false;
163 bool m_nameHasBeenSet =
false;
164 bool m_mediaTailorPlaybackConfigurationsHasBeenSet =
false;
165 bool m_postRollConfigurationHasBeenSet =
false;
166 bool m_tagsHasBeenSet =
false;
AdConfigurationSummary & AddMediaTailorPlaybackConfigurations(MediaTailorPlaybackConfigurationsT &&value)
void SetName(NameT &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
AdConfigurationSummary & WithTags(TagsT &&value)
AdConfigurationSummary & WithName(NameT &&value)
void SetPostRollConfiguration(PostRollConfigurationT &&value)
bool PostRollConfigurationHasBeenSet() const
AWS_IVS_API AdConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MediaTailorPlaybackConfiguration > & GetMediaTailorPlaybackConfigurations() const
bool NameHasBeenSet() const
AdConfigurationSummary & WithPostRollConfiguration(PostRollConfigurationT &&value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
AdConfigurationSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
bool MediaTailorPlaybackConfigurationsHasBeenSet() const
bool ArnHasBeenSet() const
AdConfigurationSummary & WithMediaTailorPlaybackConfigurations(MediaTailorPlaybackConfigurationsT &&value)
void SetArn(ArnT &&value)
AWS_IVS_API AdConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetMediaTailorPlaybackConfigurations(MediaTailorPlaybackConfigurationsT &&value)
const PostRollConfiguration & GetPostRollConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AdConfigurationSummary & WithArn(ArnT &&value)
AWS_IVS_API AdConfigurationSummary()=default
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