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/InputDeviceSummary.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 ListInputDevicesResponse<p><h3>See Also:</h3> <a 31 * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevicesResponse">AWS 32 * API Reference</a></p> 33 */ 34 class AWS_MEDIALIVE_API ListInputDevicesResult 35 { 36 public: 37 ListInputDevicesResult(); 38 ListInputDevicesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 39 ListInputDevicesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 40 41 42 /** 43 * The list of input devices. 44 */ GetInputDevices()45 inline const Aws::Vector<InputDeviceSummary>& GetInputDevices() const{ return m_inputDevices; } 46 47 /** 48 * The list of input devices. 49 */ SetInputDevices(const Aws::Vector<InputDeviceSummary> & value)50 inline void SetInputDevices(const Aws::Vector<InputDeviceSummary>& value) { m_inputDevices = value; } 51 52 /** 53 * The list of input devices. 54 */ SetInputDevices(Aws::Vector<InputDeviceSummary> && value)55 inline void SetInputDevices(Aws::Vector<InputDeviceSummary>&& value) { m_inputDevices = std::move(value); } 56 57 /** 58 * The list of input devices. 59 */ WithInputDevices(const Aws::Vector<InputDeviceSummary> & value)60 inline ListInputDevicesResult& WithInputDevices(const Aws::Vector<InputDeviceSummary>& value) { SetInputDevices(value); return *this;} 61 62 /** 63 * The list of input devices. 64 */ WithInputDevices(Aws::Vector<InputDeviceSummary> && value)65 inline ListInputDevicesResult& WithInputDevices(Aws::Vector<InputDeviceSummary>&& value) { SetInputDevices(std::move(value)); return *this;} 66 67 /** 68 * The list of input devices. 69 */ AddInputDevices(const InputDeviceSummary & value)70 inline ListInputDevicesResult& AddInputDevices(const InputDeviceSummary& value) { m_inputDevices.push_back(value); return *this; } 71 72 /** 73 * The list of input devices. 74 */ AddInputDevices(InputDeviceSummary && value)75 inline ListInputDevicesResult& AddInputDevices(InputDeviceSummary&& value) { m_inputDevices.push_back(std::move(value)); return *this; } 76 77 78 /** 79 * A token to get additional list results. 80 */ GetNextToken()81 inline const Aws::String& GetNextToken() const{ return m_nextToken; } 82 83 /** 84 * A token to get additional list results. 85 */ SetNextToken(const Aws::String & value)86 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } 87 88 /** 89 * A token to get additional list results. 90 */ SetNextToken(Aws::String && value)91 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } 92 93 /** 94 * A token to get additional list results. 95 */ SetNextToken(const char * value)96 inline void SetNextToken(const char* value) { m_nextToken.assign(value); } 97 98 /** 99 * A token to get additional list results. 100 */ WithNextToken(const Aws::String & value)101 inline ListInputDevicesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} 102 103 /** 104 * A token to get additional list results. 105 */ WithNextToken(Aws::String && value)106 inline ListInputDevicesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} 107 108 /** 109 * A token to get additional list results. 110 */ WithNextToken(const char * value)111 inline ListInputDevicesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} 112 113 private: 114 115 Aws::Vector<InputDeviceSummary> m_inputDevices; 116 117 Aws::String m_nextToken; 118 }; 119 120 } // namespace Model 121 } // namespace MediaLive 122 } // namespace Aws 123