AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
InputAttachment.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AutomaticInputFailoverSettings.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/model/InputSettings.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MEDIALIVE_API InputAttachment() = default;
38 AWS_MEDIALIVE_API InputAttachment(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AutomaticInputFailoverSettings& GetAutomaticInputFailoverSettings() const { return m_automaticInputFailoverSettings; }
49 inline bool AutomaticInputFailoverSettingsHasBeenSet() const { return m_automaticInputFailoverSettingsHasBeenSet; }
50 template<typename AutomaticInputFailoverSettingsT = AutomaticInputFailoverSettings>
51 void SetAutomaticInputFailoverSettings(AutomaticInputFailoverSettingsT&& value) { m_automaticInputFailoverSettingsHasBeenSet = true; m_automaticInputFailoverSettings = std::forward<AutomaticInputFailoverSettingsT>(value); }
52 template<typename AutomaticInputFailoverSettingsT = AutomaticInputFailoverSettings>
53 InputAttachment& WithAutomaticInputFailoverSettings(AutomaticInputFailoverSettingsT&& value) { SetAutomaticInputFailoverSettings(std::forward<AutomaticInputFailoverSettingsT>(value)); return *this;}
55
57
61 inline const Aws::String& GetInputAttachmentName() const { return m_inputAttachmentName; }
62 inline bool InputAttachmentNameHasBeenSet() const { return m_inputAttachmentNameHasBeenSet; }
63 template<typename InputAttachmentNameT = Aws::String>
64 void SetInputAttachmentName(InputAttachmentNameT&& value) { m_inputAttachmentNameHasBeenSet = true; m_inputAttachmentName = std::forward<InputAttachmentNameT>(value); }
65 template<typename InputAttachmentNameT = Aws::String>
66 InputAttachment& WithInputAttachmentName(InputAttachmentNameT&& value) { SetInputAttachmentName(std::forward<InputAttachmentNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetInputId() const { return m_inputId; }
74 inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
75 template<typename InputIdT = Aws::String>
76 void SetInputId(InputIdT&& value) { m_inputIdHasBeenSet = true; m_inputId = std::forward<InputIdT>(value); }
77 template<typename InputIdT = Aws::String>
78 InputAttachment& WithInputId(InputIdT&& value) { SetInputId(std::forward<InputIdT>(value)); return *this;}
80
82
85 inline const InputSettings& GetInputSettings() const { return m_inputSettings; }
86 inline bool InputSettingsHasBeenSet() const { return m_inputSettingsHasBeenSet; }
87 template<typename InputSettingsT = InputSettings>
88 void SetInputSettings(InputSettingsT&& value) { m_inputSettingsHasBeenSet = true; m_inputSettings = std::forward<InputSettingsT>(value); }
89 template<typename InputSettingsT = InputSettings>
90 InputAttachment& WithInputSettings(InputSettingsT&& value) { SetInputSettings(std::forward<InputSettingsT>(value)); return *this;}
92
94
98 inline const Aws::Vector<Aws::String>& GetLogicalInterfaceNames() const { return m_logicalInterfaceNames; }
99 inline bool LogicalInterfaceNamesHasBeenSet() const { return m_logicalInterfaceNamesHasBeenSet; }
100 template<typename LogicalInterfaceNamesT = Aws::Vector<Aws::String>>
101 void SetLogicalInterfaceNames(LogicalInterfaceNamesT&& value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames = std::forward<LogicalInterfaceNamesT>(value); }
102 template<typename LogicalInterfaceNamesT = Aws::Vector<Aws::String>>
103 InputAttachment& WithLogicalInterfaceNames(LogicalInterfaceNamesT&& value) { SetLogicalInterfaceNames(std::forward<LogicalInterfaceNamesT>(value)); return *this;}
104 template<typename LogicalInterfaceNamesT = Aws::String>
105 InputAttachment& AddLogicalInterfaceNames(LogicalInterfaceNamesT&& value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames.emplace_back(std::forward<LogicalInterfaceNamesT>(value)); return *this; }
107 private:
108
109 AutomaticInputFailoverSettings m_automaticInputFailoverSettings;
110 bool m_automaticInputFailoverSettingsHasBeenSet = false;
111
112 Aws::String m_inputAttachmentName;
113 bool m_inputAttachmentNameHasBeenSet = false;
114
115 Aws::String m_inputId;
116 bool m_inputIdHasBeenSet = false;
117
118 InputSettings m_inputSettings;
119 bool m_inputSettingsHasBeenSet = false;
120
121 Aws::Vector<Aws::String> m_logicalInterfaceNames;
122 bool m_logicalInterfaceNamesHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace MediaLive
127} // namespace Aws
AWS_MEDIALIVE_API InputAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetLogicalInterfaceNames(LogicalInterfaceNamesT &&value)
InputAttachment & WithLogicalInterfaceNames(LogicalInterfaceNamesT &&value)
InputAttachment & WithInputAttachmentName(InputAttachmentNameT &&value)
AWS_MEDIALIVE_API InputAttachment()=default
void SetInputSettings(InputSettingsT &&value)
AWS_MEDIALIVE_API InputAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInputAttachmentName(InputAttachmentNameT &&value)
InputAttachment & WithAutomaticInputFailoverSettings(AutomaticInputFailoverSettingsT &&value)
const AutomaticInputFailoverSettings & GetAutomaticInputFailoverSettings() const
const Aws::String & GetInputId() const
InputAttachment & WithInputSettings(InputSettingsT &&value)
void SetAutomaticInputFailoverSettings(AutomaticInputFailoverSettingsT &&value)
const Aws::Vector< Aws::String > & GetLogicalInterfaceNames() const
const InputSettings & GetInputSettings() const
InputAttachment & WithInputId(InputIdT &&value)
InputAttachment & AddLogicalInterfaceNames(LogicalInterfaceNamesT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInputAttachmentName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue