/** * 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 mediapackagev2 { namespace Model { /** *

The ingest domain URL where the source stream should be sent.

See * Also:

AWS * API Reference

*/ class IngestEndpoint { public: AWS_MEDIAPACKAGEV2_API IngestEndpoint(); AWS_MEDIAPACKAGEV2_API IngestEndpoint(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIAPACKAGEV2_API IngestEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The system-generated unique identifier for the IngestEndpoint.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The system-generated unique identifier for the IngestEndpoint.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The system-generated unique identifier for the IngestEndpoint.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The system-generated unique identifier for the IngestEndpoint.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The system-generated unique identifier for the IngestEndpoint.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The system-generated unique identifier for the IngestEndpoint.

*/ inline IngestEndpoint& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The system-generated unique identifier for the IngestEndpoint.

*/ inline IngestEndpoint& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The system-generated unique identifier for the IngestEndpoint.

*/ inline IngestEndpoint& WithId(const char* value) { SetId(value); return *this;} /** *

The ingest domain URL where the source stream should be sent.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The ingest domain URL where the source stream should be sent.

*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *

The ingest domain URL where the source stream should be sent.

*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *

The ingest domain URL where the source stream should be sent.

*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *

The ingest domain URL where the source stream should be sent.

*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *

The ingest domain URL where the source stream should be sent.

*/ inline IngestEndpoint& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The ingest domain URL where the source stream should be sent.

*/ inline IngestEndpoint& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The ingest domain URL where the source stream should be sent.

*/ inline IngestEndpoint& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace mediapackagev2 } // namespace Aws