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>
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));
116 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 m_tagsHasBeenSet =
true;
119 m_tags = std::forward<TagsT>(value);
121 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 SetTags(std::forward<TagsT>(value));
126 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
128 m_tagsHasBeenSet =
true;
129 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
141 bool m_arnHasBeenSet =
false;
142 bool m_nameHasBeenSet =
false;
143 bool m_mediaTailorPlaybackConfigurationsHasBeenSet =
false;
144 bool m_tagsHasBeenSet =
false;
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
AWS_IVS_API AdConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
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)
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)
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