AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
InputSwitchScheduleActionSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/InputClippingSettings.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MEDIALIVE_API InputSwitchScheduleActionSettings() = default;
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetInputAttachmentNameReference() const { return m_inputAttachmentNameReference; }
49 inline bool InputAttachmentNameReferenceHasBeenSet() const { return m_inputAttachmentNameReferenceHasBeenSet; }
50 template<typename InputAttachmentNameReferenceT = Aws::String>
51 void SetInputAttachmentNameReference(InputAttachmentNameReferenceT&& value) { m_inputAttachmentNameReferenceHasBeenSet = true; m_inputAttachmentNameReference = std::forward<InputAttachmentNameReferenceT>(value); }
52 template<typename InputAttachmentNameReferenceT = Aws::String>
53 InputSwitchScheduleActionSettings& WithInputAttachmentNameReference(InputAttachmentNameReferenceT&& value) { SetInputAttachmentNameReference(std::forward<InputAttachmentNameReferenceT>(value)); return *this;}
55
57
61 inline const InputClippingSettings& GetInputClippingSettings() const { return m_inputClippingSettings; }
62 inline bool InputClippingSettingsHasBeenSet() const { return m_inputClippingSettingsHasBeenSet; }
63 template<typename InputClippingSettingsT = InputClippingSettings>
64 void SetInputClippingSettings(InputClippingSettingsT&& value) { m_inputClippingSettingsHasBeenSet = true; m_inputClippingSettings = std::forward<InputClippingSettingsT>(value); }
65 template<typename InputClippingSettingsT = InputClippingSettings>
66 InputSwitchScheduleActionSettings& WithInputClippingSettings(InputClippingSettingsT&& value) { SetInputClippingSettings(std::forward<InputClippingSettingsT>(value)); return *this;}
68
70
76 inline const Aws::Vector<Aws::String>& GetUrlPath() const { return m_urlPath; }
77 inline bool UrlPathHasBeenSet() const { return m_urlPathHasBeenSet; }
78 template<typename UrlPathT = Aws::Vector<Aws::String>>
79 void SetUrlPath(UrlPathT&& value) { m_urlPathHasBeenSet = true; m_urlPath = std::forward<UrlPathT>(value); }
80 template<typename UrlPathT = Aws::Vector<Aws::String>>
81 InputSwitchScheduleActionSettings& WithUrlPath(UrlPathT&& value) { SetUrlPath(std::forward<UrlPathT>(value)); return *this;}
82 template<typename UrlPathT = Aws::String>
83 InputSwitchScheduleActionSettings& AddUrlPath(UrlPathT&& value) { m_urlPathHasBeenSet = true; m_urlPath.emplace_back(std::forward<UrlPathT>(value)); return *this; }
85 private:
86
87 Aws::String m_inputAttachmentNameReference;
88 bool m_inputAttachmentNameReferenceHasBeenSet = false;
89
90 InputClippingSettings m_inputClippingSettings;
91 bool m_inputClippingSettingsHasBeenSet = false;
92
94 bool m_urlPathHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace MediaLive
99} // namespace Aws
InputSwitchScheduleActionSettings & WithInputClippingSettings(InputClippingSettingsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputSwitchScheduleActionSettings & WithUrlPath(UrlPathT &&value)
InputSwitchScheduleActionSettings & WithInputAttachmentNameReference(InputAttachmentNameReferenceT &&value)
void SetInputAttachmentNameReference(InputAttachmentNameReferenceT &&value)
AWS_MEDIALIVE_API InputSwitchScheduleActionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
InputSwitchScheduleActionSettings & AddUrlPath(UrlPathT &&value)
AWS_MEDIALIVE_API InputSwitchScheduleActionSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InputSwitchScheduleActionSettings()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue