AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAutomaticInputFailoverSettings(const AutomaticInputFailoverSettings& value) { m_automaticInputFailoverSettingsHasBeenSet = true; m_automaticInputFailoverSettings = value; }
51 inline void SetAutomaticInputFailoverSettings(AutomaticInputFailoverSettings&& value) { m_automaticInputFailoverSettingsHasBeenSet = true; m_automaticInputFailoverSettings = std::move(value); }
55
57
61 inline const Aws::String& GetInputAttachmentName() const{ return m_inputAttachmentName; }
62 inline bool InputAttachmentNameHasBeenSet() const { return m_inputAttachmentNameHasBeenSet; }
63 inline void SetInputAttachmentName(const Aws::String& value) { m_inputAttachmentNameHasBeenSet = true; m_inputAttachmentName = value; }
64 inline void SetInputAttachmentName(Aws::String&& value) { m_inputAttachmentNameHasBeenSet = true; m_inputAttachmentName = std::move(value); }
65 inline void SetInputAttachmentName(const char* value) { m_inputAttachmentNameHasBeenSet = true; m_inputAttachmentName.assign(value); }
66 inline InputAttachment& WithInputAttachmentName(const Aws::String& value) { SetInputAttachmentName(value); return *this;}
67 inline InputAttachment& WithInputAttachmentName(Aws::String&& value) { SetInputAttachmentName(std::move(value)); return *this;}
68 inline InputAttachment& WithInputAttachmentName(const char* value) { SetInputAttachmentName(value); return *this;}
70
72
75 inline const Aws::String& GetInputId() const{ return m_inputId; }
76 inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
77 inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
78 inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
79 inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
80 inline InputAttachment& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
81 inline InputAttachment& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
82 inline InputAttachment& WithInputId(const char* value) { SetInputId(value); return *this;}
84
86
89 inline const InputSettings& GetInputSettings() const{ return m_inputSettings; }
90 inline bool InputSettingsHasBeenSet() const { return m_inputSettingsHasBeenSet; }
91 inline void SetInputSettings(const InputSettings& value) { m_inputSettingsHasBeenSet = true; m_inputSettings = value; }
92 inline void SetInputSettings(InputSettings&& value) { m_inputSettingsHasBeenSet = true; m_inputSettings = std::move(value); }
93 inline InputAttachment& WithInputSettings(const InputSettings& value) { SetInputSettings(value); return *this;}
94 inline InputAttachment& WithInputSettings(InputSettings&& value) { SetInputSettings(std::move(value)); return *this;}
96
98
102 inline const Aws::Vector<Aws::String>& GetLogicalInterfaceNames() const{ return m_logicalInterfaceNames; }
103 inline bool LogicalInterfaceNamesHasBeenSet() const { return m_logicalInterfaceNamesHasBeenSet; }
104 inline void SetLogicalInterfaceNames(const Aws::Vector<Aws::String>& value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames = value; }
105 inline void SetLogicalInterfaceNames(Aws::Vector<Aws::String>&& value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames = std::move(value); }
108 inline InputAttachment& AddLogicalInterfaceNames(const Aws::String& value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames.push_back(value); return *this; }
109 inline InputAttachment& AddLogicalInterfaceNames(Aws::String&& value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames.push_back(std::move(value)); return *this; }
110 inline InputAttachment& AddLogicalInterfaceNames(const char* value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames.push_back(value); return *this; }
112 private:
113
114 AutomaticInputFailoverSettings m_automaticInputFailoverSettings;
115 bool m_automaticInputFailoverSettingsHasBeenSet = false;
116
117 Aws::String m_inputAttachmentName;
118 bool m_inputAttachmentNameHasBeenSet = false;
119
120 Aws::String m_inputId;
121 bool m_inputIdHasBeenSet = false;
122
123 InputSettings m_inputSettings;
124 bool m_inputSettingsHasBeenSet = false;
125
126 Aws::Vector<Aws::String> m_logicalInterfaceNames;
127 bool m_logicalInterfaceNamesHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace MediaLive
132} // namespace Aws
void SetInputId(Aws::String &&value)
AWS_MEDIALIVE_API InputAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetAutomaticInputFailoverSettings(const AutomaticInputFailoverSettings &value)
InputAttachment & AddLogicalInterfaceNames(const Aws::String &value)
void SetLogicalInterfaceNames(const Aws::Vector< Aws::String > &value)
AWS_MEDIALIVE_API InputAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInputSettings(InputSettings &&value)
InputAttachment & AddLogicalInterfaceNames(const char *value)
void SetInputAttachmentName(const Aws::String &value)
const AutomaticInputFailoverSettings & GetAutomaticInputFailoverSettings() const
InputAttachment & WithInputId(Aws::String &&value)
InputAttachment & WithLogicalInterfaceNames(Aws::Vector< Aws::String > &&value)
const Aws::String & GetInputId() const
void SetLogicalInterfaceNames(Aws::Vector< Aws::String > &&value)
InputAttachment & WithInputAttachmentName(const Aws::String &value)
void SetAutomaticInputFailoverSettings(AutomaticInputFailoverSettings &&value)
InputAttachment & WithAutomaticInputFailoverSettings(AutomaticInputFailoverSettings &&value)
const Aws::Vector< Aws::String > & GetLogicalInterfaceNames() const
const InputSettings & GetInputSettings() const
InputAttachment & WithInputId(const Aws::String &value)
void SetInputAttachmentName(Aws::String &&value)
InputAttachment & WithInputAttachmentName(const char *value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputAttachment & WithInputId(const char *value)
void SetInputAttachmentName(const char *value)
InputAttachment & WithInputSettings(InputSettings &&value)
InputAttachment & AddLogicalInterfaceNames(Aws::String &&value)
InputAttachment & WithInputAttachmentName(Aws::String &&value)
InputAttachment & WithAutomaticInputFailoverSettings(const AutomaticInputFailoverSettings &value)
InputAttachment & WithInputSettings(const InputSettings &value)
void SetInputId(const Aws::String &value)
void SetInputSettings(const InputSettings &value)
const Aws::String & GetInputAttachmentName() const
InputAttachment & WithLogicalInterfaceNames(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue