AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TransferInputDeviceRequest.h
1
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
12namespace Aws
13{
14namespace MediaLive
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_MEDIALIVE_API TransferInputDeviceRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "TransferInputDevice"; }
34
35 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetInputDeviceId() const { return m_inputDeviceId; }
43 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
44 template<typename InputDeviceIdT = Aws::String>
45 void SetInputDeviceId(InputDeviceIdT&& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = std::forward<InputDeviceIdT>(value); }
46 template<typename InputDeviceIdT = Aws::String>
47 TransferInputDeviceRequest& WithInputDeviceId(InputDeviceIdT&& value) { SetInputDeviceId(std::forward<InputDeviceIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetTargetCustomerId() const { return m_targetCustomerId; }
55 inline bool TargetCustomerIdHasBeenSet() const { return m_targetCustomerIdHasBeenSet; }
56 template<typename TargetCustomerIdT = Aws::String>
57 void SetTargetCustomerId(TargetCustomerIdT&& value) { m_targetCustomerIdHasBeenSet = true; m_targetCustomerId = std::forward<TargetCustomerIdT>(value); }
58 template<typename TargetCustomerIdT = Aws::String>
59 TransferInputDeviceRequest& WithTargetCustomerId(TargetCustomerIdT&& value) { SetTargetCustomerId(std::forward<TargetCustomerIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetTargetRegion() const { return m_targetRegion; }
67 inline bool TargetRegionHasBeenSet() const { return m_targetRegionHasBeenSet; }
68 template<typename TargetRegionT = Aws::String>
69 void SetTargetRegion(TargetRegionT&& value) { m_targetRegionHasBeenSet = true; m_targetRegion = std::forward<TargetRegionT>(value); }
70 template<typename TargetRegionT = Aws::String>
71 TransferInputDeviceRequest& WithTargetRegion(TargetRegionT&& value) { SetTargetRegion(std::forward<TargetRegionT>(value)); return *this;}
73
75
78 inline const Aws::String& GetTransferMessage() const { return m_transferMessage; }
79 inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
80 template<typename TransferMessageT = Aws::String>
81 void SetTransferMessage(TransferMessageT&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = std::forward<TransferMessageT>(value); }
82 template<typename TransferMessageT = Aws::String>
83 TransferInputDeviceRequest& WithTransferMessage(TransferMessageT&& value) { SetTransferMessage(std::forward<TransferMessageT>(value)); return *this;}
85 private:
86
87 Aws::String m_inputDeviceId;
88 bool m_inputDeviceIdHasBeenSet = false;
89
90 Aws::String m_targetCustomerId;
91 bool m_targetCustomerIdHasBeenSet = false;
92
93 Aws::String m_targetRegion;
94 bool m_targetRegionHasBeenSet = false;
95
96 Aws::String m_transferMessage;
97 bool m_transferMessageHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace MediaLive
102} // namespace Aws
TransferInputDeviceRequest & WithInputDeviceId(InputDeviceIdT &&value)
TransferInputDeviceRequest & WithTargetRegion(TargetRegionT &&value)
AWS_MEDIALIVE_API TransferInputDeviceRequest()=default
virtual const char * GetServiceRequestName() const override
TransferInputDeviceRequest & WithTargetCustomerId(TargetCustomerIdT &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
TransferInputDeviceRequest & WithTransferMessage(TransferMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String