AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
TransferringInputDeviceSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/InputDeviceTransferType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
30 public:
31 AWS_MEDIALIVE_API TransferringInputDeviceSummary() = default;
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetMessage() const { return m_message; }
59 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
60 template <typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) {
62 m_messageHasBeenSet = true;
63 m_message = std::forward<MessageT>(value);
64 }
65 template <typename MessageT = Aws::String>
67 SetMessage(std::forward<MessageT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetTargetCustomerId() const { return m_targetCustomerId; }
77 inline bool TargetCustomerIdHasBeenSet() const { return m_targetCustomerIdHasBeenSet; }
78 template <typename TargetCustomerIdT = Aws::String>
79 void SetTargetCustomerId(TargetCustomerIdT&& value) {
80 m_targetCustomerIdHasBeenSet = true;
81 m_targetCustomerId = std::forward<TargetCustomerIdT>(value);
82 }
83 template <typename TargetCustomerIdT = Aws::String>
85 SetTargetCustomerId(std::forward<TargetCustomerIdT>(value));
86 return *this;
87 }
89
91
94 inline InputDeviceTransferType GetTransferType() const { return m_transferType; }
95 inline bool TransferTypeHasBeenSet() const { return m_transferTypeHasBeenSet; }
97 m_transferTypeHasBeenSet = true;
98 m_transferType = value;
99 }
101 SetTransferType(value);
102 return *this;
103 }
105 private:
106 Aws::String m_id;
107
108 Aws::String m_message;
109
110 Aws::String m_targetCustomerId;
111
113 bool m_idHasBeenSet = false;
114 bool m_messageHasBeenSet = false;
115 bool m_targetCustomerIdHasBeenSet = false;
116 bool m_transferTypeHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace MediaLive
121} // namespace Aws
TransferringInputDeviceSummary & WithTransferType(InputDeviceTransferType value)
AWS_MEDIALIVE_API TransferringInputDeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API TransferringInputDeviceSummary()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
TransferringInputDeviceSummary & WithMessage(MessageT &&value)
AWS_MEDIALIVE_API TransferringInputDeviceSummary(Aws::Utils::Json::JsonView jsonValue)
TransferringInputDeviceSummary & WithTargetCustomerId(TargetCustomerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue