/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Reference to an OutputDestination ID defined in the channel

See Also:

* AWS * API Reference

*/ class AWS_MEDIALIVE_API OutputLocationRef { public: OutputLocationRef(); OutputLocationRef(Aws::Utils::Json::JsonView jsonValue); OutputLocationRef& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; inline const Aws::String& GetDestinationRefId() const{ return m_destinationRefId; } inline bool DestinationRefIdHasBeenSet() const { return m_destinationRefIdHasBeenSet; } inline void SetDestinationRefId(const Aws::String& value) { m_destinationRefIdHasBeenSet = true; m_destinationRefId = value; } inline void SetDestinationRefId(Aws::String&& value) { m_destinationRefIdHasBeenSet = true; m_destinationRefId = std::move(value); } inline void SetDestinationRefId(const char* value) { m_destinationRefIdHasBeenSet = true; m_destinationRefId.assign(value); } inline OutputLocationRef& WithDestinationRefId(const Aws::String& value) { SetDestinationRefId(value); return *this;} inline OutputLocationRef& WithDestinationRefId(Aws::String&& value) { SetDestinationRefId(std::move(value)); return *this;} inline OutputLocationRef& WithDestinationRefId(const char* value) { SetDestinationRefId(value); return *this;} private: Aws::String m_destinationRefId; bool m_destinationRefIdHasBeenSet; }; } // namespace Model } // namespace MediaLive } // namespace Aws