AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleAdBreak.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaTailor
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIATAILOR_API ScheduleAdBreak();
36 AWS_MEDIATAILOR_API ScheduleAdBreak(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIATAILOR_API ScheduleAdBreak& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetApproximateDurationSeconds() const{ return m_approximateDurationSeconds; }
46 inline bool ApproximateDurationSecondsHasBeenSet() const { return m_approximateDurationSecondsHasBeenSet; }
47 inline void SetApproximateDurationSeconds(long long value) { m_approximateDurationSecondsHasBeenSet = true; m_approximateDurationSeconds = value; }
48 inline ScheduleAdBreak& WithApproximateDurationSeconds(long long value) { SetApproximateDurationSeconds(value); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetApproximateStartTime() const{ return m_approximateStartTime; }
56 inline bool ApproximateStartTimeHasBeenSet() const { return m_approximateStartTimeHasBeenSet; }
57 inline void SetApproximateStartTime(const Aws::Utils::DateTime& value) { m_approximateStartTimeHasBeenSet = true; m_approximateStartTime = value; }
58 inline void SetApproximateStartTime(Aws::Utils::DateTime&& value) { m_approximateStartTimeHasBeenSet = true; m_approximateStartTime = std::move(value); }
60 inline ScheduleAdBreak& WithApproximateStartTime(Aws::Utils::DateTime&& value) { SetApproximateStartTime(std::move(value)); return *this;}
62
64
68 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
69 inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
70 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
71 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
72 inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
73 inline ScheduleAdBreak& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
74 inline ScheduleAdBreak& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
75 inline ScheduleAdBreak& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
77
79
82 inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
83 inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
84 inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
85 inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
86 inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
87 inline ScheduleAdBreak& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
88 inline ScheduleAdBreak& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
89 inline ScheduleAdBreak& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
91 private:
92
93 long long m_approximateDurationSeconds;
94 bool m_approximateDurationSecondsHasBeenSet = false;
95
96 Aws::Utils::DateTime m_approximateStartTime;
97 bool m_approximateStartTimeHasBeenSet = false;
98
99 Aws::String m_sourceLocationName;
100 bool m_sourceLocationNameHasBeenSet = false;
101
102 Aws::String m_vodSourceName;
103 bool m_vodSourceNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace MediaTailor
108} // namespace Aws
const Aws::String & GetVodSourceName() const
const Aws::String & GetSourceLocationName() const
void SetVodSourceName(Aws::String &&value)
void SetSourceLocationName(const Aws::String &value)
void SetApproximateStartTime(Aws::Utils::DateTime &&value)
void SetVodSourceName(const Aws::String &value)
void SetApproximateStartTime(const Aws::Utils::DateTime &value)
void SetSourceLocationName(Aws::String &&value)
ScheduleAdBreak & WithVodSourceName(const char *value)
void SetApproximateDurationSeconds(long long value)
ScheduleAdBreak & WithApproximateStartTime(const Aws::Utils::DateTime &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleAdBreak & WithSourceLocationName(const char *value)
ScheduleAdBreak & WithApproximateDurationSeconds(long long value)
const Aws::Utils::DateTime & GetApproximateStartTime() const
ScheduleAdBreak & WithSourceLocationName(Aws::String &&value)
ScheduleAdBreak & WithApproximateStartTime(Aws::Utils::DateTime &&value)
ScheduleAdBreak & WithVodSourceName(const Aws::String &value)
ScheduleAdBreak & WithVodSourceName(Aws::String &&value)
ScheduleAdBreak & WithSourceLocationName(const Aws::String &value)
AWS_MEDIATAILOR_API ScheduleAdBreak(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIATAILOR_API ScheduleAdBreak & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceLocationName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue