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));
79 return m_mediaTailorPlaybackConfigurations;
82 template <
typename MediaTailorPlaybackConfigurationsT = Aws::Vector<MediaTailorPlaybackConfiguration>>
84 m_mediaTailorPlaybackConfigurationsHasBeenSet =
true;
85 m_mediaTailorPlaybackConfigurations = std::forward<MediaTailorPlaybackConfigurationsT>(value);
87 template <
typename MediaTailorPlaybackConfigurationsT = Aws::Vector<MediaTailorPlaybackConfiguration>>
92 template <
typename MediaTailorPlaybackConfigurationsT = MediaTailorPlaybackConfiguration>
94 m_mediaTailorPlaybackConfigurationsHasBeenSet =
true;
95 m_mediaTailorPlaybackConfigurations.emplace_back(std::forward<MediaTailorPlaybackConfigurationsT>(value));
112 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 m_tagsHasBeenSet =
true;
115 m_tags = std::forward<TagsT>(value);
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 SetTags(std::forward<TagsT>(value));
122 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
124 m_tagsHasBeenSet =
true;
125 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
137 bool m_arnHasBeenSet =
false;
138 bool m_nameHasBeenSet =
false;
139 bool m_mediaTailorPlaybackConfigurationsHasBeenSet =
false;
140 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