AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
EpochLockingSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API EpochLockingSettings() = default;
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline const Aws::String& GetCustomEpoch() const { return m_customEpoch; }
42 inline bool CustomEpochHasBeenSet() const { return m_customEpochHasBeenSet; }
43 template <typename CustomEpochT = Aws::String>
44 void SetCustomEpoch(CustomEpochT&& value) {
45 m_customEpochHasBeenSet = true;
46 m_customEpoch = std::forward<CustomEpochT>(value);
47 }
48 template <typename CustomEpochT = Aws::String>
49 EpochLockingSettings& WithCustomEpoch(CustomEpochT&& value) {
50 SetCustomEpoch(std::forward<CustomEpochT>(value));
51 return *this;
52 }
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) {
67 m_jamSyncTimeHasBeenSet = true;
68 m_jamSyncTime = std::forward<JamSyncTimeT>(value);
69 }
70 template <typename JamSyncTimeT = Aws::String>
71 EpochLockingSettings& WithJamSyncTime(JamSyncTimeT&& value) {
72 SetJamSyncTime(std::forward<JamSyncTimeT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_customEpoch;
78
79 Aws::String m_jamSyncTime;
80 bool m_customEpochHasBeenSet = false;
81 bool m_jamSyncTimeHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace MediaLive
86} // 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