AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RebootInputDeviceForce& GetForce() const{ return m_force; }
47 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
48 inline void SetForce(const RebootInputDeviceForce& value) { m_forceHasBeenSet = true; m_force = value; }
49 inline void SetForce(RebootInputDeviceForce&& value) { m_forceHasBeenSet = true; m_force = std::move(value); }
50 inline RebootInputDeviceRequest& WithForce(const RebootInputDeviceForce& value) { SetForce(value); return *this;}
51 inline RebootInputDeviceRequest& WithForce(RebootInputDeviceForce&& value) { SetForce(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetInputDeviceId() const{ return m_inputDeviceId; }
59 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
60 inline void SetInputDeviceId(const Aws::String& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = value; }
61 inline void SetInputDeviceId(Aws::String&& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = std::move(value); }
62 inline void SetInputDeviceId(const char* value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId.assign(value); }
63 inline RebootInputDeviceRequest& WithInputDeviceId(const Aws::String& value) { SetInputDeviceId(value); return *this;}
64 inline RebootInputDeviceRequest& WithInputDeviceId(Aws::String&& value) { SetInputDeviceId(std::move(value)); return *this;}
65 inline RebootInputDeviceRequest& WithInputDeviceId(const char* value) { SetInputDeviceId(value); return *this;}
67 private:
68
70 bool m_forceHasBeenSet = false;
71
72 Aws::String m_inputDeviceId;
73 bool m_inputDeviceIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace MediaLive
78} // namespace Aws
RebootInputDeviceRequest & WithInputDeviceId(const char *value)
void SetForce(const RebootInputDeviceForce &value)
RebootInputDeviceRequest & WithInputDeviceId(const Aws::String &value)
RebootInputDeviceRequest & WithForce(const RebootInputDeviceForce &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
RebootInputDeviceRequest & WithForce(RebootInputDeviceForce &&value)
RebootInputDeviceRequest & WithInputDeviceId(Aws::String &&value)
const RebootInputDeviceForce & GetForce() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String