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/core/utils/memory/stl/AWSVector.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <aws/medialive/model/TransferringInputDeviceSummary.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22   class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace MediaLive
26 {
27 namespace Model
28 {
29   /**
30    * Placeholder documentation for ListInputDeviceTransfersResponse<p><h3>See
31    * Also:</h3>   <a
32    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfersResponse">AWS
33    * API Reference</a></p>
34    */
35   class AWS_MEDIALIVE_API ListInputDeviceTransfersResult
36   {
37   public:
38     ListInputDeviceTransfersResult();
39     ListInputDeviceTransfersResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
40     ListInputDeviceTransfersResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
41 
42 
43     /**
44      * The list of devices that you are transferring or are being transferred to you.
45      */
GetInputDeviceTransfers()46     inline const Aws::Vector<TransferringInputDeviceSummary>& GetInputDeviceTransfers() const{ return m_inputDeviceTransfers; }
47 
48     /**
49      * The list of devices that you are transferring or are being transferred to you.
50      */
SetInputDeviceTransfers(const Aws::Vector<TransferringInputDeviceSummary> & value)51     inline void SetInputDeviceTransfers(const Aws::Vector<TransferringInputDeviceSummary>& value) { m_inputDeviceTransfers = value; }
52 
53     /**
54      * The list of devices that you are transferring or are being transferred to you.
55      */
SetInputDeviceTransfers(Aws::Vector<TransferringInputDeviceSummary> && value)56     inline void SetInputDeviceTransfers(Aws::Vector<TransferringInputDeviceSummary>&& value) { m_inputDeviceTransfers = std::move(value); }
57 
58     /**
59      * The list of devices that you are transferring or are being transferred to you.
60      */
WithInputDeviceTransfers(const Aws::Vector<TransferringInputDeviceSummary> & value)61     inline ListInputDeviceTransfersResult& WithInputDeviceTransfers(const Aws::Vector<TransferringInputDeviceSummary>& value) { SetInputDeviceTransfers(value); return *this;}
62 
63     /**
64      * The list of devices that you are transferring or are being transferred to you.
65      */
WithInputDeviceTransfers(Aws::Vector<TransferringInputDeviceSummary> && value)66     inline ListInputDeviceTransfersResult& WithInputDeviceTransfers(Aws::Vector<TransferringInputDeviceSummary>&& value) { SetInputDeviceTransfers(std::move(value)); return *this;}
67 
68     /**
69      * The list of devices that you are transferring or are being transferred to you.
70      */
AddInputDeviceTransfers(const TransferringInputDeviceSummary & value)71     inline ListInputDeviceTransfersResult& AddInputDeviceTransfers(const TransferringInputDeviceSummary& value) { m_inputDeviceTransfers.push_back(value); return *this; }
72 
73     /**
74      * The list of devices that you are transferring or are being transferred to you.
75      */
AddInputDeviceTransfers(TransferringInputDeviceSummary && value)76     inline ListInputDeviceTransfersResult& AddInputDeviceTransfers(TransferringInputDeviceSummary&& value) { m_inputDeviceTransfers.push_back(std::move(value)); return *this; }
77 
78 
79     /**
80      * A token to get additional list results.
81      */
GetNextToken()82     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
84     /**
85      * A token to get additional list results.
86      */
SetNextToken(const Aws::String & value)87     inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
89     /**
90      * A token to get additional list results.
91      */
SetNextToken(Aws::String && value)92     inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
93 
94     /**
95      * A token to get additional list results.
96      */
SetNextToken(const char * value)97     inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
98 
99     /**
100      * A token to get additional list results.
101      */
WithNextToken(const Aws::String & value)102     inline ListInputDeviceTransfersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 
104     /**
105      * A token to get additional list results.
106      */
WithNextToken(Aws::String && value)107     inline ListInputDeviceTransfersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
109     /**
110      * A token to get additional list results.
111      */
WithNextToken(const char * value)112     inline ListInputDeviceTransfersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
113 
114   private:
115 
116     Aws::Vector<TransferringInputDeviceSummary> m_inputDeviceTransfers;
117 
118     Aws::String m_nextToken;
119   };
120 
121 } // namespace Model
122 } // namespace MediaLive
123 } // namespace Aws
124