/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace mediapackagev2 { namespace Model { /** *

The configuration of the origin endpoint.

See Also:

AWS * API Reference

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

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 bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline OriginEndpointListConfiguration& 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 bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; } /** *

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_channelGroupNameHasBeenSet = true; 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_channelGroupNameHasBeenSet = true; 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_channelGroupNameHasBeenSet = true; 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 OriginEndpointListConfiguration& 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 OriginEndpointListConfiguration& 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 OriginEndpointListConfiguration& 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 bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; } /** *

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_channelNameHasBeenSet = true; 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_channelNameHasBeenSet = true; 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_channelNameHasBeenSet = true; 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 OriginEndpointListConfiguration& 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 OriginEndpointListConfiguration& 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 OriginEndpointListConfiguration& 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 bool OriginEndpointNameHasBeenSet() const { return m_originEndpointNameHasBeenSet; } /** *

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_originEndpointNameHasBeenSet = true; 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_originEndpointNameHasBeenSet = true; 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_originEndpointNameHasBeenSet = true; 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 OriginEndpointListConfiguration& 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 OriginEndpointListConfiguration& 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 OriginEndpointListConfiguration& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;} /** *

The type of container attached to this origin endpoint. A container type is a * file format that encapsulates one or more media streams, such as audio and * video, into a single file.

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

The type of container attached to this origin endpoint. A container type is a * file format that encapsulates one or more media streams, such as audio and * video, into a single file.

*/ inline bool ContainerTypeHasBeenSet() const { return m_containerTypeHasBeenSet; } /** *

The type of container attached to this origin endpoint. A container type is a * file format that encapsulates one or more media streams, such as audio and * video, into a single file.

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

The type of container attached to this origin endpoint. A container type is a * file format that encapsulates one or more media streams, such as audio and * video, into a single file.

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

The type of container attached to this origin endpoint. A container type is a * file format that encapsulates one or more media streams, such as audio and * video, into a single file.

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

The type of container attached to this origin endpoint. A container type is a * file format that encapsulates one or more media streams, such as audio and * video, into a single file.

*/ inline OriginEndpointListConfiguration& WithContainerType(ContainerType&& value) { SetContainerType(std::move(value)); return *this;} /** *

Any descriptive information that you want to add to the origin endpoint for * future identification purposes.

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

Any descriptive information that you want to add to the origin endpoint for * future identification purposes.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Any descriptive information that you want to add to the origin endpoint for * future identification purposes.

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

Any descriptive information that you want to add to the origin endpoint for * future identification purposes.

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

Any descriptive information that you want to add to the origin endpoint for * future identification purposes.

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

Any descriptive information that you want to add to the origin endpoint for * future identification purposes.

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

Any descriptive information that you want to add to the origin endpoint for * future identification purposes.

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

Any descriptive information that you want to add to the origin endpoint for * future identification purposes.

*/ inline OriginEndpointListConfiguration& WithDescription(const char* value) { SetDescription(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 bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The date and time the origin endpoint was created.

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

The date and time the origin endpoint was created.

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

The date and time the origin endpoint was created.

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

The date and time the origin endpoint was created.

*/ inline OriginEndpointListConfiguration& 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 bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } /** *

The date and time the origin endpoint was modified.

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

The date and time the origin endpoint was modified.

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

The date and time the origin endpoint was modified.

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

The date and time the origin endpoint was modified.

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

An HTTP live streaming (HLS) manifest configuration.

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

An HTTP live streaming (HLS) manifest configuration.

*/ inline bool HlsManifestsHasBeenSet() const { return m_hlsManifestsHasBeenSet; } /** *

An HTTP live streaming (HLS) manifest configuration.

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

An HTTP live streaming (HLS) manifest configuration.

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

An HTTP live streaming (HLS) manifest configuration.

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

An HTTP live streaming (HLS) manifest configuration.

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

An HTTP live streaming (HLS) manifest configuration.

*/ inline OriginEndpointListConfiguration& AddHlsManifests(const ListHlsManifestConfiguration& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(value); return *this; } /** *

An HTTP live streaming (HLS) manifest configuration.

*/ inline OriginEndpointListConfiguration& AddHlsManifests(ListHlsManifestConfiguration&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(std::move(value)); return *this; } /** *

A low-latency HLS manifest configuration.

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

A low-latency HLS manifest configuration.

*/ inline bool LowLatencyHlsManifestsHasBeenSet() const { return m_lowLatencyHlsManifestsHasBeenSet; } /** *

A low-latency HLS manifest configuration.

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

A low-latency HLS manifest configuration.

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

A low-latency HLS manifest configuration.

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

A low-latency HLS manifest configuration.

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

A low-latency HLS manifest configuration.

*/ inline OriginEndpointListConfiguration& AddLowLatencyHlsManifests(const ListLowLatencyHlsManifestConfiguration& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests.push_back(value); return *this; } /** *

A low-latency HLS manifest configuration.

*/ inline OriginEndpointListConfiguration& AddLowLatencyHlsManifests(ListLowLatencyHlsManifestConfiguration&& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_channelGroupName; bool m_channelGroupNameHasBeenSet = false; Aws::String m_channelName; bool m_channelNameHasBeenSet = false; Aws::String m_originEndpointName; bool m_originEndpointNameHasBeenSet = false; ContainerType m_containerType; bool m_containerTypeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_modifiedAt; bool m_modifiedAtHasBeenSet = false; Aws::Vector m_hlsManifests; bool m_hlsManifestsHasBeenSet = false; Aws::Vector m_lowLatencyHlsManifests; bool m_lowLatencyHlsManifestsHasBeenSet = false; }; } // namespace Model } // namespace mediapackagev2 } // namespace Aws