/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace mediapackagev2 { namespace Model { class GetOriginEndpointResult { public: AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult(); AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) associated with the resource.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) associated with the resource.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) associated with the resource.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) associated with the resource.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) associated with the resource.

*/ inline GetOriginEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) associated with the resource.

*/ inline GetOriginEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) associated with the resource.

*/ inline GetOriginEndpointResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name that describes the channel group. The name is the primary identifier * for the channel group, and must be unique for your account in the AWS * Region.

*/ inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; } /** *

The name that describes the channel group. The name is the primary identifier * for the channel group, and must be unique for your account in the AWS * Region.

*/ inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupName = value; } /** *

The name that describes the channel group. The name is the primary identifier * for the channel group, and must be unique for your account in the AWS * Region.

*/ inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupName = std::move(value); } /** *

The name that describes the channel group. The name is the primary identifier * for the channel group, and must be unique for your account in the AWS * Region.

*/ inline void SetChannelGroupName(const char* value) { m_channelGroupName.assign(value); } /** *

The name that describes the channel group. The name is the primary identifier * for the channel group, and must be unique for your account in the AWS * Region.

*/ inline GetOriginEndpointResult& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;} /** *

The name that describes the channel group. The name is the primary identifier * for the channel group, and must be unique for your account in the AWS * Region.

*/ inline GetOriginEndpointResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;} /** *

The name that describes the channel group. The name is the primary identifier * for the channel group, and must be unique for your account in the AWS * Region.

*/ inline GetOriginEndpointResult& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;} /** *

The name that describes the channel. The name is the primary identifier for * the channel, and must be unique for your account in the AWS Region and channel * group.

*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *

The name that describes the channel. The name is the primary identifier for * the channel, and must be unique for your account in the AWS Region and channel * group.

*/ inline void SetChannelName(const Aws::String& value) { m_channelName = value; } /** *

The name that describes the channel. The name is the primary identifier for * the channel, and must be unique for your account in the AWS Region and channel * group.

*/ inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); } /** *

The name that describes the channel. The name is the primary identifier for * the channel, and must be unique for your account in the AWS Region and channel * group.

*/ inline void SetChannelName(const char* value) { m_channelName.assign(value); } /** *

The name that describes the channel. The name is the primary identifier for * the channel, and must be unique for your account in the AWS Region and channel * group.

*/ inline GetOriginEndpointResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *

The name that describes the channel. The name is the primary identifier for * the channel, and must be unique for your account in the AWS Region and channel * group.

*/ inline GetOriginEndpointResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *

The name that describes the channel. The name is the primary identifier for * the channel, and must be unique for your account in the AWS Region and channel * group.

*/ inline GetOriginEndpointResult& WithChannelName(const char* value) { SetChannelName(value); return *this;} /** *

The name that describes the origin endpoint. The name is the primary * identifier for the origin endpoint, and and must be unique for your account in * the AWS Region and channel.

*/ inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; } /** *

The name that describes the origin endpoint. The name is the primary * identifier for the origin endpoint, and and must be unique for your account in * the AWS Region and channel.

*/ inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointName = value; } /** *

The name that describes the origin endpoint. The name is the primary * identifier for the origin endpoint, and and must be unique for your account in * the AWS Region and channel.

*/ inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointName = std::move(value); } /** *

The name that describes the origin endpoint. The name is the primary * identifier for the origin endpoint, and and must be unique for your account in * the AWS Region and channel.

*/ inline void SetOriginEndpointName(const char* value) { m_originEndpointName.assign(value); } /** *

The name that describes the origin endpoint. The name is the primary * identifier for the origin endpoint, and and must be unique for your account in * the AWS Region and channel.

*/ inline GetOriginEndpointResult& WithOriginEndpointName(const Aws::String& value) { SetOriginEndpointName(value); return *this;} /** *

The name that describes the origin endpoint. The name is the primary * identifier for the origin endpoint, and and must be unique for your account in * the AWS Region and channel.

*/ inline GetOriginEndpointResult& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;} /** *

The name that describes the origin endpoint. The name is the primary * identifier for the origin endpoint, and and must be unique for your account in * the AWS Region and channel.

*/ inline GetOriginEndpointResult& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;} /** *

The type of container attached to this origin endpoint.

*/ inline const ContainerType& GetContainerType() const{ return m_containerType; } /** *

The type of container attached to this origin endpoint.

*/ inline void SetContainerType(const ContainerType& value) { m_containerType = value; } /** *

The type of container attached to this origin endpoint.

*/ inline void SetContainerType(ContainerType&& value) { m_containerType = std::move(value); } /** *

The type of container attached to this origin endpoint.

*/ inline GetOriginEndpointResult& WithContainerType(const ContainerType& value) { SetContainerType(value); return *this;} /** *

The type of container attached to this origin endpoint.

*/ inline GetOriginEndpointResult& WithContainerType(ContainerType&& value) { SetContainerType(std::move(value)); return *this;} inline const Segment& GetSegment() const{ return m_segment; } inline void SetSegment(const Segment& value) { m_segment = value; } inline void SetSegment(Segment&& value) { m_segment = std::move(value); } inline GetOriginEndpointResult& WithSegment(const Segment& value) { SetSegment(value); return *this;} inline GetOriginEndpointResult& WithSegment(Segment&& value) { SetSegment(std::move(value)); return *this;} /** *

The date and time the origin endpoint was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The date and time the origin endpoint was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The date and time the origin endpoint was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The date and time the origin endpoint was created.

*/ inline GetOriginEndpointResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The date and time the origin endpoint was created.

*/ inline GetOriginEndpointResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The date and time the origin endpoint was modified.

*/ inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } /** *

The date and time the origin endpoint was modified.

*/ inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; } /** *

The date and time the origin endpoint was modified.

*/ inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); } /** *

The date and time the origin endpoint was modified.

*/ inline GetOriginEndpointResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} /** *

The date and time the origin endpoint was modified.

*/ inline GetOriginEndpointResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} /** *

The description for your origin endpoint.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description for your origin endpoint.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description for your origin endpoint.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The description for your origin endpoint.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description for your origin endpoint.

*/ inline GetOriginEndpointResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description for your origin endpoint.

*/ inline GetOriginEndpointResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description for your origin endpoint.

*/ inline GetOriginEndpointResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The size of the window (in seconds) to create a window of the live stream * that's available for on-demand viewing. Viewers can start-over or catch-up on * content that falls within the window.

*/ inline int GetStartoverWindowSeconds() const{ return m_startoverWindowSeconds; } /** *

The size of the window (in seconds) to create a window of the live stream * that's available for on-demand viewing. Viewers can start-over or catch-up on * content that falls within the window.

*/ inline void SetStartoverWindowSeconds(int value) { m_startoverWindowSeconds = value; } /** *

The size of the window (in seconds) to create a window of the live stream * that's available for on-demand viewing. Viewers can start-over or catch-up on * content that falls within the window.

*/ inline GetOriginEndpointResult& WithStartoverWindowSeconds(int value) { SetStartoverWindowSeconds(value); return *this;} /** *

An HTTP live streaming (HLS) manifest configuration.

*/ inline const Aws::Vector& GetGetHlsManifests() const{ return m_hlsManifests; } /** *

An HTTP live streaming (HLS) manifest configuration.

*/ inline void SetHlsManifests(const Aws::Vector& value) { m_hlsManifests = value; } /** *

An HTTP live streaming (HLS) manifest configuration.

*/ inline void SetHlsManifests(Aws::Vector&& value) { m_hlsManifests = std::move(value); } /** *

An HTTP live streaming (HLS) manifest configuration.

*/ inline GetOriginEndpointResult& WithHlsManifests(const Aws::Vector& value) { SetHlsManifests(value); return *this;} /** *

An HTTP live streaming (HLS) manifest configuration.

*/ inline GetOriginEndpointResult& WithHlsManifests(Aws::Vector&& value) { SetHlsManifests(std::move(value)); return *this;} /** *

An HTTP live streaming (HLS) manifest configuration.

*/ inline GetOriginEndpointResult& AddHlsManifests(const GetHlsManifestConfiguration& value) { m_hlsManifests.push_back(value); return *this; } /** *

An HTTP live streaming (HLS) manifest configuration.

*/ inline GetOriginEndpointResult& AddHlsManifests(GetHlsManifestConfiguration&& value) { m_hlsManifests.push_back(std::move(value)); return *this; } /** *

A low-latency HLS manifest configuration.

*/ inline const Aws::Vector& GetGetLowLatencyHlsManifests() const{ return m_lowLatencyHlsManifests; } /** *

A low-latency HLS manifest configuration.

*/ inline void SetLowLatencyHlsManifests(const Aws::Vector& value) { m_lowLatencyHlsManifests = value; } /** *

A low-latency HLS manifest configuration.

*/ inline void SetLowLatencyHlsManifests(Aws::Vector&& value) { m_lowLatencyHlsManifests = std::move(value); } /** *

A low-latency HLS manifest configuration.

*/ inline GetOriginEndpointResult& WithLowLatencyHlsManifests(const Aws::Vector& value) { SetLowLatencyHlsManifests(value); return *this;} /** *

A low-latency HLS manifest configuration.

*/ inline GetOriginEndpointResult& WithLowLatencyHlsManifests(Aws::Vector&& value) { SetLowLatencyHlsManifests(std::move(value)); return *this;} /** *

A low-latency HLS manifest configuration.

*/ inline GetOriginEndpointResult& AddLowLatencyHlsManifests(const GetLowLatencyHlsManifestConfiguration& value) { m_lowLatencyHlsManifests.push_back(value); return *this; } /** *

A low-latency HLS manifest configuration.

*/ inline GetOriginEndpointResult& AddLowLatencyHlsManifests(GetLowLatencyHlsManifestConfiguration&& value) { m_lowLatencyHlsManifests.push_back(std::move(value)); return *this; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The comma-separated list of tag key:value pairs assigned to the origin * endpoint.

*/ inline GetOriginEndpointResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetOriginEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetOriginEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetOriginEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_channelGroupName; Aws::String m_channelName; Aws::String m_originEndpointName; ContainerType m_containerType; Segment m_segment; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_modifiedAt; Aws::String m_description; int m_startoverWindowSeconds; Aws::Vector m_hlsManifests; Aws::Vector m_lowLatencyHlsManifests; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace mediapackagev2 } // namespace Aws