AWS SDK for C++  1.9.105
AWS SDK for C++
ScheduleAdBreak.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaTailor
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline long long GetApproximateDurationSeconds() const{ return m_approximateDurationSeconds; }
45 
49  inline bool ApproximateDurationSecondsHasBeenSet() const { return m_approximateDurationSecondsHasBeenSet; }
50 
54  inline void SetApproximateDurationSeconds(long long value) { m_approximateDurationSecondsHasBeenSet = true; m_approximateDurationSeconds = value; }
55 
59  inline ScheduleAdBreak& WithApproximateDurationSeconds(long long value) { SetApproximateDurationSeconds(value); return *this;}
60 
61 
65  inline const Aws::Utils::DateTime& GetApproximateStartTime() const{ return m_approximateStartTime; }
66 
70  inline bool ApproximateStartTimeHasBeenSet() const { return m_approximateStartTimeHasBeenSet; }
71 
75  inline void SetApproximateStartTime(const Aws::Utils::DateTime& value) { m_approximateStartTimeHasBeenSet = true; m_approximateStartTime = value; }
76 
80  inline void SetApproximateStartTime(Aws::Utils::DateTime&& value) { m_approximateStartTimeHasBeenSet = true; m_approximateStartTime = std::move(value); }
81 
85  inline ScheduleAdBreak& WithApproximateStartTime(const Aws::Utils::DateTime& value) { SetApproximateStartTime(value); return *this;}
86 
90  inline ScheduleAdBreak& WithApproximateStartTime(Aws::Utils::DateTime&& value) { SetApproximateStartTime(std::move(value)); return *this;}
91 
92 
97  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
98 
103  inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
104 
109  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
110 
115  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
116 
121  inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
122 
127  inline ScheduleAdBreak& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
128 
133  inline ScheduleAdBreak& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
134 
139  inline ScheduleAdBreak& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
140 
141 
145  inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
146 
150  inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
151 
155  inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
156 
160  inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
161 
165  inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
166 
170  inline ScheduleAdBreak& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
171 
175  inline ScheduleAdBreak& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
176 
180  inline ScheduleAdBreak& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
181 
182  private:
183 
184  long long m_approximateDurationSeconds;
185  bool m_approximateDurationSecondsHasBeenSet;
186 
187  Aws::Utils::DateTime m_approximateStartTime;
188  bool m_approximateStartTimeHasBeenSet;
189 
190  Aws::String m_sourceLocationName;
191  bool m_sourceLocationNameHasBeenSet;
192 
193  Aws::String m_vodSourceName;
194  bool m_vodSourceNameHasBeenSet;
195  };
196 
197 } // namespace Model
198 } // namespace MediaTailor
199 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaTailor::Model::ScheduleAdBreak::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: ScheduleAdBreak.h:97
Aws::MediaTailor::Model::ScheduleAdBreak::ApproximateStartTimeHasBeenSet
bool ApproximateStartTimeHasBeenSet() const
Definition: ScheduleAdBreak.h:70
Aws::MediaTailor::Model::ScheduleAdBreak::WithVodSourceName
ScheduleAdBreak & WithVodSourceName(Aws::String &&value)
Definition: ScheduleAdBreak.h:175
Aws::MediaTailor::Model::ScheduleAdBreak::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::ScheduleAdBreak::ScheduleAdBreak
ScheduleAdBreak(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::ScheduleAdBreak::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: ScheduleAdBreak.h:103
Aws::MediaTailor::Model::ScheduleAdBreak::SetApproximateStartTime
void SetApproximateStartTime(Aws::Utils::DateTime &&value)
Definition: ScheduleAdBreak.h:80
DateTime.h
Aws::MediaTailor::Model::ScheduleAdBreak::ApproximateDurationSecondsHasBeenSet
bool ApproximateDurationSecondsHasBeenSet() const
Definition: ScheduleAdBreak.h:49
Aws::MediaTailor::Model::ScheduleAdBreak::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: ScheduleAdBreak.h:160
Aws::MediaTailor::Model::ScheduleAdBreak::WithApproximateStartTime
ScheduleAdBreak & WithApproximateStartTime(const Aws::Utils::DateTime &value)
Definition: ScheduleAdBreak.h:85
Aws::MediaTailor::Model::ScheduleAdBreak::WithVodSourceName
ScheduleAdBreak & WithVodSourceName(const char *value)
Definition: ScheduleAdBreak.h:180
Aws::MediaTailor::Model::ScheduleAdBreak::GetApproximateStartTime
const Aws::Utils::DateTime & GetApproximateStartTime() const
Definition: ScheduleAdBreak.h:65
Aws::MediaTailor::Model::ScheduleAdBreak::SetApproximateDurationSeconds
void SetApproximateDurationSeconds(long long value)
Definition: ScheduleAdBreak.h:54
Aws::MediaTailor::Model::ScheduleAdBreak::GetApproximateDurationSeconds
long long GetApproximateDurationSeconds() const
Definition: ScheduleAdBreak.h:44
Aws::MediaTailor::Model::ScheduleAdBreak::operator=
ScheduleAdBreak & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::ScheduleAdBreak::WithSourceLocationName
ScheduleAdBreak & WithSourceLocationName(Aws::String &&value)
Definition: ScheduleAdBreak.h:133
Aws::MediaTailor::Model::ScheduleAdBreak::WithVodSourceName
ScheduleAdBreak & WithVodSourceName(const Aws::String &value)
Definition: ScheduleAdBreak.h:170
Aws::MediaTailor::Model::ScheduleAdBreak
Definition: ScheduleAdBreak.h:33
Aws::MediaTailor::Model::ScheduleAdBreak::WithSourceLocationName
ScheduleAdBreak & WithSourceLocationName(const Aws::String &value)
Definition: ScheduleAdBreak.h:127
Aws::MediaTailor::Model::ScheduleAdBreak::SetApproximateStartTime
void SetApproximateStartTime(const Aws::Utils::DateTime &value)
Definition: ScheduleAdBreak.h:75
Aws::MediaTailor::Model::ScheduleAdBreak::VodSourceNameHasBeenSet
bool VodSourceNameHasBeenSet() const
Definition: ScheduleAdBreak.h:150
Aws::MediaTailor::Model::ScheduleAdBreak::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: ScheduleAdBreak.h:145
Aws::MediaTailor::Model::ScheduleAdBreak::ScheduleAdBreak
ScheduleAdBreak()
Aws::MediaTailor::Model::ScheduleAdBreak::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: ScheduleAdBreak.h:155
Aws::MediaTailor::Model::ScheduleAdBreak::WithSourceLocationName
ScheduleAdBreak & WithSourceLocationName(const char *value)
Definition: ScheduleAdBreak.h:139
Aws::MediaTailor::Model::ScheduleAdBreak::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: ScheduleAdBreak.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::ScheduleAdBreak::WithApproximateStartTime
ScheduleAdBreak & WithApproximateStartTime(Aws::Utils::DateTime &&value)
Definition: ScheduleAdBreak.h:90
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::ScheduleAdBreak::WithApproximateDurationSeconds
ScheduleAdBreak & WithApproximateDurationSeconds(long long value)
Definition: ScheduleAdBreak.h:59
Aws::MediaTailor::Model::ScheduleAdBreak::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: ScheduleAdBreak.h:165
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::ScheduleAdBreak::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: ScheduleAdBreak.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::ScheduleAdBreak::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: ScheduleAdBreak.h:109