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>
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
84 return m_mediaTailorPlaybackConfigurations;
87 template <
typename MediaTailorPlaybackConfigurationsT = Aws::Vector<MediaTailorPlaybackConfiguration>>
89 m_mediaTailorPlaybackConfigurationsHasBeenSet =
true;
90 m_mediaTailorPlaybackConfigurations = std::forward<MediaTailorPlaybackConfigurationsT>(value);
92 template <
typename MediaTailorPlaybackConfigurationsT = Aws::Vector<MediaTailorPlaybackConfiguration>>
97 template <
typename MediaTailorPlaybackConfigurationsT = MediaTailorPlaybackConfiguration>
99 m_mediaTailorPlaybackConfigurationsHasBeenSet =
true;
100 m_mediaTailorPlaybackConfigurations.emplace_back(std::forward<MediaTailorPlaybackConfigurationsT>(value));
112 template <
typename PostRollConfigurationT = PostRollConfiguration>
114 m_postRollConfigurationHasBeenSet =
true;
115 m_postRollConfiguration = std::forward<PostRollConfigurationT>(value);
117 template <
typename PostRollConfigurationT = PostRollConfiguration>
136 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 m_tagsHasBeenSet =
true;
139 m_tags = std::forward<TagsT>(value);
141 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 SetTags(std::forward<TagsT>(value));
146 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
148 m_tagsHasBeenSet =
true;
149 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
163 bool m_arnHasBeenSet =
false;
164 bool m_nameHasBeenSet =
false;
165 bool m_mediaTailorPlaybackConfigurationsHasBeenSet =
false;
166 bool m_postRollConfigurationHasBeenSet =
false;
167 bool m_tagsHasBeenSet =
false;
AdConfiguration & WithPostRollConfiguration(PostRollConfigurationT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
AWS_IVS_API AdConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPostRollConfiguration(PostRollConfigurationT &&value)
const Aws::Vector< MediaTailorPlaybackConfiguration > & GetMediaTailorPlaybackConfigurations() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
bool MediaTailorPlaybackConfigurationsHasBeenSet() const
void SetTags(TagsT &&value)
AWS_IVS_API AdConfiguration()=default
AdConfiguration & WithTags(TagsT &&value)
AdConfiguration & WithMediaTailorPlaybackConfigurations(MediaTailorPlaybackConfigurationsT &&value)
const PostRollConfiguration & GetPostRollConfiguration() const
AdConfiguration & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
AdConfiguration & WithArn(ArnT &&value)
AdConfiguration & WithName(NameT &&value)
const Aws::String & GetName() const
void SetArn(ArnT &&value)
bool PostRollConfigurationHasBeenSet() const
void SetMediaTailorPlaybackConfigurations(MediaTailorPlaybackConfigurationsT &&value)
AdConfiguration & AddMediaTailorPlaybackConfigurations(MediaTailorPlaybackConfigurationsT &&value)
AWS_IVS_API AdConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
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