AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateInputDeviceRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/model/InputDeviceConfigurableSettings.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaLive
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MEDIALIVE_API UpdateInputDeviceRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateInputDevice"; }
35
36 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
37
38
40
43 inline const InputDeviceConfigurableSettings& GetHdDeviceSettings() const { return m_hdDeviceSettings; }
44 inline bool HdDeviceSettingsHasBeenSet() const { return m_hdDeviceSettingsHasBeenSet; }
45 template<typename HdDeviceSettingsT = InputDeviceConfigurableSettings>
46 void SetHdDeviceSettings(HdDeviceSettingsT&& value) { m_hdDeviceSettingsHasBeenSet = true; m_hdDeviceSettings = std::forward<HdDeviceSettingsT>(value); }
47 template<typename HdDeviceSettingsT = InputDeviceConfigurableSettings>
48 UpdateInputDeviceRequest& WithHdDeviceSettings(HdDeviceSettingsT&& value) { SetHdDeviceSettings(std::forward<HdDeviceSettingsT>(value)); return *this;}
50
52
55 inline const Aws::String& GetInputDeviceId() const { return m_inputDeviceId; }
56 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
57 template<typename InputDeviceIdT = Aws::String>
58 void SetInputDeviceId(InputDeviceIdT&& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = std::forward<InputDeviceIdT>(value); }
59 template<typename InputDeviceIdT = Aws::String>
60 UpdateInputDeviceRequest& WithInputDeviceId(InputDeviceIdT&& value) { SetInputDeviceId(std::forward<InputDeviceIdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetName() const { return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 template<typename NameT = Aws::String>
70 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
71 template<typename NameT = Aws::String>
72 UpdateInputDeviceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
74
76
79 inline const InputDeviceConfigurableSettings& GetUhdDeviceSettings() const { return m_uhdDeviceSettings; }
80 inline bool UhdDeviceSettingsHasBeenSet() const { return m_uhdDeviceSettingsHasBeenSet; }
81 template<typename UhdDeviceSettingsT = InputDeviceConfigurableSettings>
82 void SetUhdDeviceSettings(UhdDeviceSettingsT&& value) { m_uhdDeviceSettingsHasBeenSet = true; m_uhdDeviceSettings = std::forward<UhdDeviceSettingsT>(value); }
83 template<typename UhdDeviceSettingsT = InputDeviceConfigurableSettings>
84 UpdateInputDeviceRequest& WithUhdDeviceSettings(UhdDeviceSettingsT&& value) { SetUhdDeviceSettings(std::forward<UhdDeviceSettingsT>(value)); return *this;}
86
88
91 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
92 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
93 template<typename AvailabilityZoneT = Aws::String>
94 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
95 template<typename AvailabilityZoneT = Aws::String>
96 UpdateInputDeviceRequest& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
98 private:
99
100 InputDeviceConfigurableSettings m_hdDeviceSettings;
101 bool m_hdDeviceSettingsHasBeenSet = false;
102
103 Aws::String m_inputDeviceId;
104 bool m_inputDeviceIdHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 InputDeviceConfigurableSettings m_uhdDeviceSettings;
110 bool m_uhdDeviceSettingsHasBeenSet = false;
111
112 Aws::String m_availabilityZone;
113 bool m_availabilityZoneHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace MediaLive
118} // 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