/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace MediaTailor { namespace Model { /** */ class DescribeLiveSourceRequest : public MediaTailorRequest { public: AWS_MEDIATAILOR_API DescribeLiveSourceRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeLiveSource"; } AWS_MEDIATAILOR_API Aws::String SerializePayload() const override; /** *

The name of the live source.

*/ inline const Aws::String& GetLiveSourceName() const{ return m_liveSourceName; } /** *

The name of the live source.

*/ inline bool LiveSourceNameHasBeenSet() const { return m_liveSourceNameHasBeenSet; } /** *

The name of the live source.

*/ inline void SetLiveSourceName(const Aws::String& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = value; } /** *

The name of the live source.

*/ inline void SetLiveSourceName(Aws::String&& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = std::move(value); } /** *

The name of the live source.

*/ inline void SetLiveSourceName(const char* value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName.assign(value); } /** *

The name of the live source.

*/ inline DescribeLiveSourceRequest& WithLiveSourceName(const Aws::String& value) { SetLiveSourceName(value); return *this;} /** *

The name of the live source.

*/ inline DescribeLiveSourceRequest& WithLiveSourceName(Aws::String&& value) { SetLiveSourceName(std::move(value)); return *this;} /** *

The name of the live source.

*/ inline DescribeLiveSourceRequest& WithLiveSourceName(const char* value) { SetLiveSourceName(value); return *this;} /** *

The name of the source location associated with this Live Source.

*/ inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; } /** *

The name of the source location associated with this Live Source.

*/ inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; } /** *

The name of the source location associated with this Live Source.

*/ inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; } /** *

The name of the source location associated with this Live Source.

*/ inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); } /** *

The name of the source location associated with this Live Source.

*/ inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); } /** *

The name of the source location associated with this Live Source.

*/ inline DescribeLiveSourceRequest& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;} /** *

The name of the source location associated with this Live Source.

*/ inline DescribeLiveSourceRequest& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;} /** *

The name of the source location associated with this Live Source.

*/ inline DescribeLiveSourceRequest& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;} private: Aws::String m_liveSourceName; bool m_liveSourceNameHasBeenSet = false; Aws::String m_sourceLocationName; bool m_sourceLocationNameHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws