AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EpochLockingSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API EpochLockingSettings() = default;
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline const Aws::String& GetCustomEpoch() const { return m_customEpoch; }
48 inline bool CustomEpochHasBeenSet() const { return m_customEpochHasBeenSet; }
49 template<typename CustomEpochT = Aws::String>
50 void SetCustomEpoch(CustomEpochT&& value) { m_customEpochHasBeenSet = true; m_customEpoch = std::forward<CustomEpochT>(value); }
51 template<typename CustomEpochT = Aws::String>
52 EpochLockingSettings& WithCustomEpoch(CustomEpochT&& value) { SetCustomEpoch(std::forward<CustomEpochT>(value)); return *this;}
54
56
63 inline const Aws::String& GetJamSyncTime() const { return m_jamSyncTime; }
64 inline bool JamSyncTimeHasBeenSet() const { return m_jamSyncTimeHasBeenSet; }
65 template<typename JamSyncTimeT = Aws::String>
66 void SetJamSyncTime(JamSyncTimeT&& value) { m_jamSyncTimeHasBeenSet = true; m_jamSyncTime = std::forward<JamSyncTimeT>(value); }
67 template<typename JamSyncTimeT = Aws::String>
68 EpochLockingSettings& WithJamSyncTime(JamSyncTimeT&& value) { SetJamSyncTime(std::forward<JamSyncTimeT>(value)); return *this;}
70 private:
71
72 Aws::String m_customEpoch;
73 bool m_customEpochHasBeenSet = false;
74
75 Aws::String m_jamSyncTime;
76 bool m_jamSyncTimeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace MediaLive
81} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API EpochLockingSettings()=default
EpochLockingSettings & WithCustomEpoch(CustomEpochT &&value)
AWS_MEDIALIVE_API EpochLockingSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API EpochLockingSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
EpochLockingSettings & WithJamSyncTime(JamSyncTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue