AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DashUtcTiming.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/model/DashUtcTimingMode.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 mediapackagev2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIAPACKAGEV2_API DashUtcTiming();
37 AWS_MEDIAPACKAGEV2_API DashUtcTiming(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEV2_API DashUtcTiming& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const DashUtcTimingMode& GetTimingMode() const{ return m_timingMode; }
47 inline bool TimingModeHasBeenSet() const { return m_timingModeHasBeenSet; }
48 inline void SetTimingMode(const DashUtcTimingMode& value) { m_timingModeHasBeenSet = true; m_timingMode = value; }
49 inline void SetTimingMode(DashUtcTimingMode&& value) { m_timingModeHasBeenSet = true; m_timingMode = std::move(value); }
50 inline DashUtcTiming& WithTimingMode(const DashUtcTimingMode& value) { SetTimingMode(value); return *this;}
51 inline DashUtcTiming& WithTimingMode(DashUtcTimingMode&& value) { SetTimingMode(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetTimingSource() const{ return m_timingSource; }
60 inline bool TimingSourceHasBeenSet() const { return m_timingSourceHasBeenSet; }
61 inline void SetTimingSource(const Aws::String& value) { m_timingSourceHasBeenSet = true; m_timingSource = value; }
62 inline void SetTimingSource(Aws::String&& value) { m_timingSourceHasBeenSet = true; m_timingSource = std::move(value); }
63 inline void SetTimingSource(const char* value) { m_timingSourceHasBeenSet = true; m_timingSource.assign(value); }
64 inline DashUtcTiming& WithTimingSource(const Aws::String& value) { SetTimingSource(value); return *this;}
65 inline DashUtcTiming& WithTimingSource(Aws::String&& value) { SetTimingSource(std::move(value)); return *this;}
66 inline DashUtcTiming& WithTimingSource(const char* value) { SetTimingSource(value); return *this;}
68 private:
69
70 DashUtcTimingMode m_timingMode;
71 bool m_timingModeHasBeenSet = false;
72
73 Aws::String m_timingSource;
74 bool m_timingSourceHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace mediapackagev2
79} // namespace Aws
void SetTimingMode(const DashUtcTimingMode &value)
void SetTimingSource(Aws::String &&value)
void SetTimingMode(DashUtcTimingMode &&value)
AWS_MEDIAPACKAGEV2_API DashUtcTiming & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API DashUtcTiming(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API DashUtcTiming()
DashUtcTiming & WithTimingMode(const DashUtcTimingMode &value)
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
DashUtcTiming & WithTimingSource(const Aws::String &value)
DashUtcTiming & WithTimingMode(DashUtcTimingMode &&value)
DashUtcTiming & WithTimingSource(const char *value)
DashUtcTiming & WithTimingSource(Aws::String &&value)
const Aws::String & GetTimingSource() const
const DashUtcTimingMode & GetTimingMode() const
void SetTimingSource(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue