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/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace MediaLive 22 { 23 namespace Model 24 { 25 26 /** 27 * Settings for an input device.<p><h3>See Also:</h3> <a 28 * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputDeviceSettings">AWS 29 * API Reference</a></p> 30 */ 31 class AWS_MEDIALIVE_API InputDeviceSettings 32 { 33 public: 34 InputDeviceSettings(); 35 InputDeviceSettings(Aws::Utils::Json::JsonView jsonValue); 36 InputDeviceSettings& operator=(Aws::Utils::Json::JsonView jsonValue); 37 Aws::Utils::Json::JsonValue Jsonize() const; 38 39 40 /** 41 * The unique ID for the device. 42 */ GetId()43 inline const Aws::String& GetId() const{ return m_id; } 44 45 /** 46 * The unique ID for the device. 47 */ IdHasBeenSet()48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; } 49 50 /** 51 * The unique ID for the device. 52 */ SetId(const Aws::String & value)53 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } 54 55 /** 56 * The unique ID for the device. 57 */ SetId(Aws::String && value)58 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } 59 60 /** 61 * The unique ID for the device. 62 */ SetId(const char * value)63 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } 64 65 /** 66 * The unique ID for the device. 67 */ WithId(const Aws::String & value)68 inline InputDeviceSettings& WithId(const Aws::String& value) { SetId(value); return *this;} 69 70 /** 71 * The unique ID for the device. 72 */ WithId(Aws::String && value)73 inline InputDeviceSettings& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} 74 75 /** 76 * The unique ID for the device. 77 */ WithId(const char * value)78 inline InputDeviceSettings& WithId(const char* value) { SetId(value); return *this;} 79 80 private: 81 82 Aws::String m_id; 83 bool m_idHasBeenSet; 84 }; 85 86 } // namespace Model 87 } // namespace MediaLive 88 } // namespace Aws 89