AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PipelineLockingSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/PipelineLockingMethod.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29 public:
30 AWS_MEDIALIVE_API PipelineLockingSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline PipelineLockingMethod GetPipelineLockingMethod() const { return m_pipelineLockingMethod; }
43 inline bool PipelineLockingMethodHasBeenSet() const { return m_pipelineLockingMethodHasBeenSet; }
45 m_pipelineLockingMethodHasBeenSet = true;
46 m_pipelineLockingMethod = value;
47 }
50 return *this;
51 }
53
55
62 inline const Aws::String& GetCustomEpoch() const { return m_customEpoch; }
63 inline bool CustomEpochHasBeenSet() const { return m_customEpochHasBeenSet; }
64 template <typename CustomEpochT = Aws::String>
65 void SetCustomEpoch(CustomEpochT&& value) {
66 m_customEpochHasBeenSet = true;
67 m_customEpoch = std::forward<CustomEpochT>(value);
68 }
69 template <typename CustomEpochT = Aws::String>
71 SetCustomEpoch(std::forward<CustomEpochT>(value));
72 return *this;
73 }
75 private:
77
78 Aws::String m_customEpoch;
79 bool m_pipelineLockingMethodHasBeenSet = false;
80 bool m_customEpochHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace MediaLive
85} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineLockingSettings & WithCustomEpoch(CustomEpochT &&value)
AWS_MEDIALIVE_API PipelineLockingSettings()=default
PipelineLockingSettings & WithPipelineLockingMethod(PipelineLockingMethod value)
void SetPipelineLockingMethod(PipelineLockingMethod value)
AWS_MEDIALIVE_API PipelineLockingSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API PipelineLockingSettings(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue