AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RebootInputDeviceRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/model/RebootInputDeviceForce.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 RebootInputDeviceRequest() = 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 "RebootInputDevice"; }
35
36 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
37
38
40
46 inline RebootInputDeviceForce GetForce() const { return m_force; }
47 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
48 inline void SetForce(RebootInputDeviceForce value) { m_forceHasBeenSet = true; m_force = value; }
49 inline RebootInputDeviceRequest& WithForce(RebootInputDeviceForce value) { SetForce(value); return *this;}
51
53
56 inline const Aws::String& GetInputDeviceId() const { return m_inputDeviceId; }
57 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
58 template<typename InputDeviceIdT = Aws::String>
59 void SetInputDeviceId(InputDeviceIdT&& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = std::forward<InputDeviceIdT>(value); }
60 template<typename InputDeviceIdT = Aws::String>
61 RebootInputDeviceRequest& WithInputDeviceId(InputDeviceIdT&& value) { SetInputDeviceId(std::forward<InputDeviceIdT>(value)); return *this;}
63 private:
64
66 bool m_forceHasBeenSet = false;
67
68 Aws::String m_inputDeviceId;
69 bool m_inputDeviceIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace MediaLive
74} // 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