AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TransferInputDeviceRequest.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
11#include <utility>
12
13namespace Aws {
14namespace MediaLive {
15namespace Model {
16
23 public:
24 AWS_MEDIALIVE_API TransferInputDeviceRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "TransferInputDevice"; }
31
32 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetInputDeviceId() const { return m_inputDeviceId; }
39 inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
40 template <typename InputDeviceIdT = Aws::String>
41 void SetInputDeviceId(InputDeviceIdT&& value) {
42 m_inputDeviceIdHasBeenSet = true;
43 m_inputDeviceId = std::forward<InputDeviceIdT>(value);
44 }
45 template <typename InputDeviceIdT = Aws::String>
47 SetInputDeviceId(std::forward<InputDeviceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTargetCustomerId() const { return m_targetCustomerId; }
57 inline bool TargetCustomerIdHasBeenSet() const { return m_targetCustomerIdHasBeenSet; }
58 template <typename TargetCustomerIdT = Aws::String>
59 void SetTargetCustomerId(TargetCustomerIdT&& value) {
60 m_targetCustomerIdHasBeenSet = true;
61 m_targetCustomerId = std::forward<TargetCustomerIdT>(value);
62 }
63 template <typename TargetCustomerIdT = Aws::String>
65 SetTargetCustomerId(std::forward<TargetCustomerIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTargetRegion() const { return m_targetRegion; }
75 inline bool TargetRegionHasBeenSet() const { return m_targetRegionHasBeenSet; }
76 template <typename TargetRegionT = Aws::String>
77 void SetTargetRegion(TargetRegionT&& value) {
78 m_targetRegionHasBeenSet = true;
79 m_targetRegion = std::forward<TargetRegionT>(value);
80 }
81 template <typename TargetRegionT = Aws::String>
83 SetTargetRegion(std::forward<TargetRegionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetTransferMessage() const { return m_transferMessage; }
93 inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
94 template <typename TransferMessageT = Aws::String>
95 void SetTransferMessage(TransferMessageT&& value) {
96 m_transferMessageHasBeenSet = true;
97 m_transferMessage = std::forward<TransferMessageT>(value);
98 }
99 template <typename TransferMessageT = Aws::String>
101 SetTransferMessage(std::forward<TransferMessageT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_inputDeviceId;
107
108 Aws::String m_targetCustomerId;
109
110 Aws::String m_targetRegion;
111
112 Aws::String m_transferMessage;
113 bool m_inputDeviceIdHasBeenSet = false;
114 bool m_targetCustomerIdHasBeenSet = false;
115 bool m_targetRegionHasBeenSet = false;
116 bool m_transferMessageHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace MediaLive
121} // 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