1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/medialive/MediaLive_EXPORTS.h> 8 #include <aws/medialive/MediaLiveRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace MediaLive 15 { 16 namespace Model 17 { 18 19 /** 20 * Placeholder documentation for AcceptInputDeviceTransferRequest<p><h3>See 21 * Also:</h3> <a 22 * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AcceptInputDeviceTransferRequest">AWS 23 * API Reference</a></p> 24 */ 25 class AWS_MEDIALIVE_API AcceptInputDeviceTransferRequest : public MediaLiveRequest 26 { 27 public: 28 AcceptInputDeviceTransferRequest(); 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. GetServiceRequestName()34 inline virtual const char* GetServiceRequestName() const override { return "AcceptInputDeviceTransfer"; } 35 36 Aws::String SerializePayload() const override; 37 38 39 /** 40 * The unique ID of the input device to accept. For example, hd-123456789abcdef. 41 */ GetInputDeviceId()42 inline const Aws::String& GetInputDeviceId() const{ return m_inputDeviceId; } 43 44 /** 45 * The unique ID of the input device to accept. For example, hd-123456789abcdef. 46 */ InputDeviceIdHasBeenSet()47 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; } 48 49 /** 50 * The unique ID of the input device to accept. For example, hd-123456789abcdef. 51 */ SetInputDeviceId(const Aws::String & value)52 inline void SetInputDeviceId(const Aws::String& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = value; } 53 54 /** 55 * The unique ID of the input device to accept. For example, hd-123456789abcdef. 56 */ SetInputDeviceId(Aws::String && value)57 inline void SetInputDeviceId(Aws::String&& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = std::move(value); } 58 59 /** 60 * The unique ID of the input device to accept. For example, hd-123456789abcdef. 61 */ SetInputDeviceId(const char * value)62 inline void SetInputDeviceId(const char* value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId.assign(value); } 63 64 /** 65 * The unique ID of the input device to accept. For example, hd-123456789abcdef. 66 */ WithInputDeviceId(const Aws::String & value)67 inline AcceptInputDeviceTransferRequest& WithInputDeviceId(const Aws::String& value) { SetInputDeviceId(value); return *this;} 68 69 /** 70 * The unique ID of the input device to accept. For example, hd-123456789abcdef. 71 */ WithInputDeviceId(Aws::String && value)72 inline AcceptInputDeviceTransferRequest& WithInputDeviceId(Aws::String&& value) { SetInputDeviceId(std::move(value)); return *this;} 73 74 /** 75 * The unique ID of the input device to accept. For example, hd-123456789abcdef. 76 */ WithInputDeviceId(const char * value)77 inline AcceptInputDeviceTransferRequest& WithInputDeviceId(const char* value) { SetInputDeviceId(value); return *this;} 78 79 private: 80 81 Aws::String m_inputDeviceId; 82 bool m_inputDeviceIdHasBeenSet; 83 }; 84 85 } // namespace Model 86 } // namespace MediaLive 87 } // namespace Aws 88