AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
RebootInputDeviceRequest.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/RebootInputDeviceForce.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MediaLive {
16namespace Model {
17
24 public:
25 AWS_MEDIALIVE_API RebootInputDeviceRequest() = 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 "RebootInputDevice"; }
32
33 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
34
36
42 inline RebootInputDeviceForce GetForce() const { return m_force; }
43 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
44 inline void SetForce(RebootInputDeviceForce value) {
45 m_forceHasBeenSet = true;
46 m_force = value;
47 }
49 SetForce(value);
50 return *this;
51 }
53
55
58 inline const Aws::String& GetInputDeviceId() const { return m_inputDeviceId; }
59 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
60 template <typename InputDeviceIdT = Aws::String>
61 void SetInputDeviceId(InputDeviceIdT&& value) {
62 m_inputDeviceIdHasBeenSet = true;
63 m_inputDeviceId = std::forward<InputDeviceIdT>(value);
64 }
65 template <typename InputDeviceIdT = Aws::String>
67 SetInputDeviceId(std::forward<InputDeviceIdT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_inputDeviceId;
75 bool m_forceHasBeenSet = false;
76 bool m_inputDeviceIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MediaLive
81} // namespace Aws
RebootInputDeviceRequest & WithForce(RebootInputDeviceForce value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
AWS_MEDIALIVE_API RebootInputDeviceRequest()=default
RebootInputDeviceRequest & WithInputDeviceId(InputDeviceIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String