AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHdDeviceSettings(const InputDeviceConfigurableSettings& value) { m_hdDeviceSettingsHasBeenSet = true; m_hdDeviceSettings = value; }
46 inline void SetHdDeviceSettings(InputDeviceConfigurableSettings&& value) { m_hdDeviceSettingsHasBeenSet = true; m_hdDeviceSettings = std::move(value); }
50
52
55 inline const Aws::String& GetInputDeviceId() const{ return m_inputDeviceId; }
56 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
57 inline void SetInputDeviceId(const Aws::String& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = value; }
58 inline void SetInputDeviceId(Aws::String&& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = std::move(value); }
59 inline void SetInputDeviceId(const char* value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId.assign(value); }
60 inline UpdateInputDeviceRequest& WithInputDeviceId(const Aws::String& value) { SetInputDeviceId(value); return *this;}
61 inline UpdateInputDeviceRequest& WithInputDeviceId(Aws::String&& value) { SetInputDeviceId(std::move(value)); return *this;}
62 inline UpdateInputDeviceRequest& WithInputDeviceId(const char* value) { SetInputDeviceId(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
73 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
74 inline UpdateInputDeviceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline UpdateInputDeviceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline UpdateInputDeviceRequest& WithName(const char* value) { SetName(value); return *this;}
78
80
83 inline const InputDeviceConfigurableSettings& GetUhdDeviceSettings() const{ return m_uhdDeviceSettings; }
84 inline bool UhdDeviceSettingsHasBeenSet() const { return m_uhdDeviceSettingsHasBeenSet; }
85 inline void SetUhdDeviceSettings(const InputDeviceConfigurableSettings& value) { m_uhdDeviceSettingsHasBeenSet = true; m_uhdDeviceSettings = value; }
86 inline void SetUhdDeviceSettings(InputDeviceConfigurableSettings&& value) { m_uhdDeviceSettingsHasBeenSet = true; m_uhdDeviceSettings = std::move(value); }
90
92
95 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
96 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
97 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
98 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
99 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
101 inline UpdateInputDeviceRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
102 inline UpdateInputDeviceRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
104 private:
105
106 InputDeviceConfigurableSettings m_hdDeviceSettings;
107 bool m_hdDeviceSettingsHasBeenSet = false;
108
109 Aws::String m_inputDeviceId;
110 bool m_inputDeviceIdHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 InputDeviceConfigurableSettings m_uhdDeviceSettings;
116 bool m_uhdDeviceSettingsHasBeenSet = false;
117
118 Aws::String m_availabilityZone;
119 bool m_availabilityZoneHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace MediaLive
124} // namespace Aws
UpdateInputDeviceRequest & WithAvailabilityZone(const char *value)
UpdateInputDeviceRequest & WithInputDeviceId(Aws::String &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetHdDeviceSettings(InputDeviceConfigurableSettings &&value)
UpdateInputDeviceRequest & WithUhdDeviceSettings(const InputDeviceConfigurableSettings &value)
UpdateInputDeviceRequest & WithHdDeviceSettings(const InputDeviceConfigurableSettings &value)
UpdateInputDeviceRequest & WithHdDeviceSettings(InputDeviceConfigurableSettings &&value)
void SetUhdDeviceSettings(const InputDeviceConfigurableSettings &value)
UpdateInputDeviceRequest & WithAvailabilityZone(const Aws::String &value)
const InputDeviceConfigurableSettings & GetUhdDeviceSettings() const
UpdateInputDeviceRequest & WithInputDeviceId(const char *value)
UpdateInputDeviceRequest & WithAvailabilityZone(Aws::String &&value)
UpdateInputDeviceRequest & WithName(Aws::String &&value)
const InputDeviceConfigurableSettings & GetHdDeviceSettings() const
void SetUhdDeviceSettings(InputDeviceConfigurableSettings &&value)
UpdateInputDeviceRequest & WithName(const Aws::String &value)
UpdateInputDeviceRequest & WithInputDeviceId(const Aws::String &value)
UpdateInputDeviceRequest & WithUhdDeviceSettings(InputDeviceConfigurableSettings &&value)
UpdateInputDeviceRequest & WithName(const char *value)
void SetHdDeviceSettings(const InputDeviceConfigurableSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String