AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateInputDeviceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10#include <aws/medialive/model/InputDeviceConfigurableSettings.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MediaLive {
16namespace Model {
17
24 public:
25 AWS_MEDIALIVE_API UpdateInputDeviceRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateInputDevice"; }
32
33 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
34
36
39 inline const InputDeviceConfigurableSettings& GetHdDeviceSettings() const { return m_hdDeviceSettings; }
40 inline bool HdDeviceSettingsHasBeenSet() const { return m_hdDeviceSettingsHasBeenSet; }
41 template <typename HdDeviceSettingsT = InputDeviceConfigurableSettings>
42 void SetHdDeviceSettings(HdDeviceSettingsT&& value) {
43 m_hdDeviceSettingsHasBeenSet = true;
44 m_hdDeviceSettings = std::forward<HdDeviceSettingsT>(value);
45 }
46 template <typename HdDeviceSettingsT = InputDeviceConfigurableSettings>
47 UpdateInputDeviceRequest& WithHdDeviceSettings(HdDeviceSettingsT&& value) {
48 SetHdDeviceSettings(std::forward<HdDeviceSettingsT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetInputDeviceId() const { return m_inputDeviceId; }
58 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
59 template <typename InputDeviceIdT = Aws::String>
60 void SetInputDeviceId(InputDeviceIdT&& value) {
61 m_inputDeviceIdHasBeenSet = true;
62 m_inputDeviceId = std::forward<InputDeviceIdT>(value);
63 }
64 template <typename InputDeviceIdT = Aws::String>
66 SetInputDeviceId(std::forward<InputDeviceIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const InputDeviceConfigurableSettings& GetUhdDeviceSettings() const { return m_uhdDeviceSettings; }
94 inline bool UhdDeviceSettingsHasBeenSet() const { return m_uhdDeviceSettingsHasBeenSet; }
95 template <typename UhdDeviceSettingsT = InputDeviceConfigurableSettings>
96 void SetUhdDeviceSettings(UhdDeviceSettingsT&& value) {
97 m_uhdDeviceSettingsHasBeenSet = true;
98 m_uhdDeviceSettings = std::forward<UhdDeviceSettingsT>(value);
99 }
100 template <typename UhdDeviceSettingsT = InputDeviceConfigurableSettings>
101 UpdateInputDeviceRequest& WithUhdDeviceSettings(UhdDeviceSettingsT&& value) {
102 SetUhdDeviceSettings(std::forward<UhdDeviceSettingsT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
112 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
113 template <typename AvailabilityZoneT = Aws::String>
114 void SetAvailabilityZone(AvailabilityZoneT&& value) {
115 m_availabilityZoneHasBeenSet = true;
116 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
117 }
118 template <typename AvailabilityZoneT = Aws::String>
119 UpdateInputDeviceRequest& WithAvailabilityZone(AvailabilityZoneT&& value) {
120 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
121 return *this;
122 }
124 private:
125 InputDeviceConfigurableSettings m_hdDeviceSettings;
126
127 Aws::String m_inputDeviceId;
128
129 Aws::String m_name;
130
131 InputDeviceConfigurableSettings m_uhdDeviceSettings;
132
133 Aws::String m_availabilityZone;
134 bool m_hdDeviceSettingsHasBeenSet = false;
135 bool m_inputDeviceIdHasBeenSet = false;
136 bool m_nameHasBeenSet = false;
137 bool m_uhdDeviceSettingsHasBeenSet = false;
138 bool m_availabilityZoneHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace MediaLive
143} // namespace Aws
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_MEDIALIVE_API UpdateInputDeviceRequest()=default
UpdateInputDeviceRequest & WithHdDeviceSettings(HdDeviceSettingsT &&value)
const InputDeviceConfigurableSettings & GetUhdDeviceSettings() const
UpdateInputDeviceRequest & WithInputDeviceId(InputDeviceIdT &&value)
UpdateInputDeviceRequest & WithUhdDeviceSettings(UhdDeviceSettingsT &&value)
const InputDeviceConfigurableSettings & GetHdDeviceSettings() const
UpdateInputDeviceRequest & WithName(NameT &&value)
UpdateInputDeviceRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String