/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The ingest domain URL where the source stream should be sent.See
* Also:
AWS
* API Reference
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