Skip to content

Commit 3b98025

Browse files
author
aws-sdk-cpp-automation
committed
Added a new error message to support the requirement for a Business License on AWS accounts in China to create an organization.
AWS Elemental MediaTailor SDK now allows configuration of Bumper.
1 parent 9257111 commit 3b98025

File tree

15 files changed

+475
-21
lines changed

15 files changed

+475
-21
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* permissions and limitations under the License.
1414
*/
1515

16-
#define AWS_SDK_VERSION_STRING "1.7.360"
16+
#define AWS_SDK_VERSION_STRING "1.7.361"
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
/*
2+
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
#pragma once
17+
#include <aws/mediatailor/MediaTailor_EXPORTS.h>
18+
#include <aws/core/utils/memory/stl/AWSString.h>
19+
#include <utility>
20+
21+
namespace Aws
22+
{
23+
namespace Utils
24+
{
25+
namespace Json
26+
{
27+
class JsonValue;
28+
class JsonView;
29+
} // namespace Json
30+
} // namespace Utils
31+
namespace MediaTailor
32+
{
33+
namespace Model
34+
{
35+
36+
/**
37+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
38+
* play at the start or before the end of an ad break. </p><p><h3>See Also:</h3>
39+
* <a
40+
* href="http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/Bumper">AWS
41+
* API Reference</a></p>
42+
*/
43+
class AWS_MEDIATAILOR_API Bumper
44+
{
45+
public:
46+
Bumper();
47+
Bumper(Aws::Utils::Json::JsonView jsonValue);
48+
Bumper& operator=(Aws::Utils::Json::JsonView jsonValue);
49+
Aws::Utils::Json::JsonValue Jsonize() const;
50+
51+
52+
/**
53+
* <p>The URL for the end bumper asset. </p>
54+
*/
55+
inline const Aws::String& GetEndUrl() const{ return m_endUrl; }
56+
57+
/**
58+
* <p>The URL for the end bumper asset. </p>
59+
*/
60+
inline bool EndUrlHasBeenSet() const { return m_endUrlHasBeenSet; }
61+
62+
/**
63+
* <p>The URL for the end bumper asset. </p>
64+
*/
65+
inline void SetEndUrl(const Aws::String& value) { m_endUrlHasBeenSet = true; m_endUrl = value; }
66+
67+
/**
68+
* <p>The URL for the end bumper asset. </p>
69+
*/
70+
inline void SetEndUrl(Aws::String&& value) { m_endUrlHasBeenSet = true; m_endUrl = std::move(value); }
71+
72+
/**
73+
* <p>The URL for the end bumper asset. </p>
74+
*/
75+
inline void SetEndUrl(const char* value) { m_endUrlHasBeenSet = true; m_endUrl.assign(value); }
76+
77+
/**
78+
* <p>The URL for the end bumper asset. </p>
79+
*/
80+
inline Bumper& WithEndUrl(const Aws::String& value) { SetEndUrl(value); return *this;}
81+
82+
/**
83+
* <p>The URL for the end bumper asset. </p>
84+
*/
85+
inline Bumper& WithEndUrl(Aws::String&& value) { SetEndUrl(std::move(value)); return *this;}
86+
87+
/**
88+
* <p>The URL for the end bumper asset. </p>
89+
*/
90+
inline Bumper& WithEndUrl(const char* value) { SetEndUrl(value); return *this;}
91+
92+
93+
/**
94+
* <p>The URL for the start bumper asset. </p>
95+
*/
96+
inline const Aws::String& GetStartUrl() const{ return m_startUrl; }
97+
98+
/**
99+
* <p>The URL for the start bumper asset. </p>
100+
*/
101+
inline bool StartUrlHasBeenSet() const { return m_startUrlHasBeenSet; }
102+
103+
/**
104+
* <p>The URL for the start bumper asset. </p>
105+
*/
106+
inline void SetStartUrl(const Aws::String& value) { m_startUrlHasBeenSet = true; m_startUrl = value; }
107+
108+
/**
109+
* <p>The URL for the start bumper asset. </p>
110+
*/
111+
inline void SetStartUrl(Aws::String&& value) { m_startUrlHasBeenSet = true; m_startUrl = std::move(value); }
112+
113+
/**
114+
* <p>The URL for the start bumper asset. </p>
115+
*/
116+
inline void SetStartUrl(const char* value) { m_startUrlHasBeenSet = true; m_startUrl.assign(value); }
117+
118+
/**
119+
* <p>The URL for the start bumper asset. </p>
120+
*/
121+
inline Bumper& WithStartUrl(const Aws::String& value) { SetStartUrl(value); return *this;}
122+
123+
/**
124+
* <p>The URL for the start bumper asset. </p>
125+
*/
126+
inline Bumper& WithStartUrl(Aws::String&& value) { SetStartUrl(std::move(value)); return *this;}
127+
128+
/**
129+
* <p>The URL for the start bumper asset. </p>
130+
*/
131+
inline Bumper& WithStartUrl(const char* value) { SetStartUrl(value); return *this;}
132+
133+
private:
134+
135+
Aws::String m_endUrl;
136+
bool m_endUrlHasBeenSet;
137+
138+
Aws::String m_startUrl;
139+
bool m_startUrlHasBeenSet;
140+
};
141+
142+
} // namespace Model
143+
} // namespace MediaTailor
144+
} // namespace Aws

aws-cpp-sdk-mediatailor/include/aws/mediatailor/model/GetPlaybackConfigurationResult.h

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <aws/mediatailor/MediaTailor_EXPORTS.h>
1818
#include <aws/core/utils/memory/stl/AWSString.h>
1919
#include <aws/mediatailor/model/AvailSuppression.h>
20+
#include <aws/mediatailor/model/Bumper.h>
2021
#include <aws/mediatailor/model/CdnConfiguration.h>
2122
#include <aws/mediatailor/model/DashConfiguration.h>
2223
#include <aws/mediatailor/model/HlsConfiguration.h>
@@ -143,6 +144,37 @@ namespace Model
143144
inline GetPlaybackConfigurationResult& WithAvailSuppression(AvailSuppression&& value) { SetAvailSuppression(std::move(value)); return *this;}
144145

145146

147+
/**
148+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
149+
* play at the start or before the end of an ad break. </p>
150+
*/
151+
inline const Bumper& GetBumper() const{ return m_bumper; }
152+
153+
/**
154+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
155+
* play at the start or before the end of an ad break. </p>
156+
*/
157+
inline void SetBumper(const Bumper& value) { m_bumper = value; }
158+
159+
/**
160+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
161+
* play at the start or before the end of an ad break. </p>
162+
*/
163+
inline void SetBumper(Bumper&& value) { m_bumper = std::move(value); }
164+
165+
/**
166+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
167+
* play at the start or before the end of an ad break. </p>
168+
*/
169+
inline GetPlaybackConfigurationResult& WithBumper(const Bumper& value) { SetBumper(value); return *this;}
170+
171+
/**
172+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
173+
* play at the start or before the end of an ad break. </p>
174+
*/
175+
inline GetPlaybackConfigurationResult& WithBumper(Bumper&& value) { SetBumper(std::move(value)); return *this;}
176+
177+
146178
/**
147179
* <p>The configuration for using a content delivery network (CDN), like Amazon
148180
* CloudFront, for content and ad segment management. </p>
@@ -666,6 +698,8 @@ namespace Model
666698

667699
AvailSuppression m_availSuppression;
668700

701+
Bumper m_bumper;
702+
669703
CdnConfiguration m_cdnConfiguration;
670704

671705
DashConfiguration m_dashConfiguration;

aws-cpp-sdk-mediatailor/include/aws/mediatailor/model/PlaybackConfiguration.h

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <aws/mediatailor/MediaTailor_EXPORTS.h>
1818
#include <aws/core/utils/memory/stl/AWSString.h>
1919
#include <aws/mediatailor/model/AvailSuppression.h>
20+
#include <aws/mediatailor/model/Bumper.h>
2021
#include <aws/mediatailor/model/CdnConfiguration.h>
2122
#include <aws/mediatailor/model/DashConfiguration.h>
2223
#include <aws/mediatailor/model/HlsConfiguration.h>
@@ -162,6 +163,43 @@ namespace Model
162163
inline PlaybackConfiguration& WithAvailSuppression(AvailSuppression&& value) { SetAvailSuppression(std::move(value)); return *this;}
163164

164165

166+
/**
167+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
168+
* play at the start or before the end of an ad break. </p>
169+
*/
170+
inline const Bumper& GetBumper() const{ return m_bumper; }
171+
172+
/**
173+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
174+
* play at the start or before the end of an ad break. </p>
175+
*/
176+
inline bool BumperHasBeenSet() const { return m_bumperHasBeenSet; }
177+
178+
/**
179+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
180+
* play at the start or before the end of an ad break. </p>
181+
*/
182+
inline void SetBumper(const Bumper& value) { m_bumperHasBeenSet = true; m_bumper = value; }
183+
184+
/**
185+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
186+
* play at the start or before the end of an ad break. </p>
187+
*/
188+
inline void SetBumper(Bumper&& value) { m_bumperHasBeenSet = true; m_bumper = std::move(value); }
189+
190+
/**
191+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
192+
* play at the start or before the end of an ad break. </p>
193+
*/
194+
inline PlaybackConfiguration& WithBumper(const Bumper& value) { SetBumper(value); return *this;}
195+
196+
/**
197+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
198+
* play at the start or before the end of an ad break. </p>
199+
*/
200+
inline PlaybackConfiguration& WithBumper(Bumper&& value) { SetBumper(std::move(value)); return *this;}
201+
202+
165203
/**
166204
* <p>The configuration for using a content delivery network (CDN), like Amazon
167205
* CloudFront, for content and ad segment management. </p>
@@ -734,6 +772,9 @@ namespace Model
734772
AvailSuppression m_availSuppression;
735773
bool m_availSuppressionHasBeenSet;
736774

775+
Bumper m_bumper;
776+
bool m_bumperHasBeenSet;
777+
737778
CdnConfiguration m_cdnConfiguration;
738779
bool m_cdnConfigurationHasBeenSet;
739780

aws-cpp-sdk-mediatailor/include/aws/mediatailor/model/PutPlaybackConfigurationRequest.h

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include <aws/mediatailor/MediaTailorRequest.h>
1919
#include <aws/core/utils/memory/stl/AWSString.h>
2020
#include <aws/mediatailor/model/AvailSuppression.h>
21+
#include <aws/mediatailor/model/Bumper.h>
2122
#include <aws/mediatailor/model/CdnConfiguration.h>
2223
#include <aws/mediatailor/model/DashConfigurationForPut.h>
2324
#include <aws/mediatailor/model/LivePreRollConfiguration.h>
@@ -157,6 +158,43 @@ namespace Model
157158
inline PutPlaybackConfigurationRequest& WithAvailSuppression(AvailSuppression&& value) { SetAvailSuppression(std::move(value)); return *this;}
158159

159160

161+
/**
162+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
163+
* play at the start or before the end of an ad break. </p>
164+
*/
165+
inline const Bumper& GetBumper() const{ return m_bumper; }
166+
167+
/**
168+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
169+
* play at the start or before the end of an ad break. </p>
170+
*/
171+
inline bool BumperHasBeenSet() const { return m_bumperHasBeenSet; }
172+
173+
/**
174+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
175+
* play at the start or before the end of an ad break. </p>
176+
*/
177+
inline void SetBumper(const Bumper& value) { m_bumperHasBeenSet = true; m_bumper = value; }
178+
179+
/**
180+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
181+
* play at the start or before the end of an ad break. </p>
182+
*/
183+
inline void SetBumper(Bumper&& value) { m_bumperHasBeenSet = true; m_bumper = std::move(value); }
184+
185+
/**
186+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
187+
* play at the start or before the end of an ad break. </p>
188+
*/
189+
inline PutPlaybackConfigurationRequest& WithBumper(const Bumper& value) { SetBumper(value); return *this;}
190+
191+
/**
192+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
193+
* play at the start or before the end of an ad break. </p>
194+
*/
195+
inline PutPlaybackConfigurationRequest& WithBumper(Bumper&& value) { SetBumper(std::move(value)); return *this;}
196+
197+
160198
/**
161199
* <p>The configuration for using a content delivery network (CDN), like Amazon
162200
* CloudFront, for content and ad segment management. </p>
@@ -590,6 +628,9 @@ namespace Model
590628
AvailSuppression m_availSuppression;
591629
bool m_availSuppressionHasBeenSet;
592630

631+
Bumper m_bumper;
632+
bool m_bumperHasBeenSet;
633+
593634
CdnConfiguration m_cdnConfiguration;
594635
bool m_cdnConfigurationHasBeenSet;
595636

aws-cpp-sdk-mediatailor/include/aws/mediatailor/model/PutPlaybackConfigurationResult.h

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <aws/mediatailor/MediaTailor_EXPORTS.h>
1818
#include <aws/core/utils/memory/stl/AWSString.h>
1919
#include <aws/mediatailor/model/AvailSuppression.h>
20+
#include <aws/mediatailor/model/Bumper.h>
2021
#include <aws/mediatailor/model/CdnConfiguration.h>
2122
#include <aws/mediatailor/model/DashConfiguration.h>
2223
#include <aws/mediatailor/model/HlsConfiguration.h>
@@ -143,6 +144,37 @@ namespace Model
143144
inline PutPlaybackConfigurationResult& WithAvailSuppression(AvailSuppression&& value) { SetAvailSuppression(std::move(value)); return *this;}
144145

145146

147+
/**
148+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
149+
* play at the start or before the end of an ad break. </p>
150+
*/
151+
inline const Bumper& GetBumper() const{ return m_bumper; }
152+
153+
/**
154+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
155+
* play at the start or before the end of an ad break. </p>
156+
*/
157+
inline void SetBumper(const Bumper& value) { m_bumper = value; }
158+
159+
/**
160+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
161+
* play at the start or before the end of an ad break. </p>
162+
*/
163+
inline void SetBumper(Bumper&& value) { m_bumper = std::move(value); }
164+
165+
/**
166+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
167+
* play at the start or before the end of an ad break. </p>
168+
*/
169+
inline PutPlaybackConfigurationResult& WithBumper(const Bumper& value) { SetBumper(value); return *this;}
170+
171+
/**
172+
* <p>The configuration for bumpers. Bumpers are short audio or video clips that
173+
* play at the start or before the end of an ad break. </p>
174+
*/
175+
inline PutPlaybackConfigurationResult& WithBumper(Bumper&& value) { SetBumper(std::move(value)); return *this;}
176+
177+
146178
/**
147179
* <p>The configuration for using a content delivery network (CDN), like Amazon
148180
* CloudFront, for content and ad segment management. </p>
@@ -666,6 +698,8 @@ namespace Model
666698

667699
AvailSuppression m_availSuppression;
668700

701+
Bumper m_bumper;
702+
669703
CdnConfiguration m_cdnConfiguration;
670704

671705
DashConfiguration m_dashConfiguration;

0 commit comments

Comments
 (0)