/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 GetChannelGroupResult { public: AWS_MEDIAPACKAGEV2_API GetChannelGroupResult(); AWS_MEDIAPACKAGEV2_API GetChannelGroupResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIAPACKAGEV2_API GetChannelGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 GetChannelGroupResult& 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 GetChannelGroupResult& 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 GetChannelGroupResult& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;} /** *

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 GetChannelGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

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

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

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

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

The output domain where the source stream should be sent. Integrate the * domain with a downstream CDN (such as Amazon CloudFront) or playback device.

*/ inline const Aws::String& GetEgressDomain() const{ return m_egressDomain; } /** *

The output domain where the source stream should be sent. Integrate the * domain with a downstream CDN (such as Amazon CloudFront) or playback device.

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

The output domain where the source stream should be sent. Integrate the * domain with a downstream CDN (such as Amazon CloudFront) or playback device.

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

The output domain where the source stream should be sent. Integrate the * domain with a downstream CDN (such as Amazon CloudFront) or playback device.

*/ inline void SetEgressDomain(const char* value) { m_egressDomain.assign(value); } /** *

The output domain where the source stream should be sent. Integrate the * domain with a downstream CDN (such as Amazon CloudFront) or playback device.

*/ inline GetChannelGroupResult& WithEgressDomain(const Aws::String& value) { SetEgressDomain(value); return *this;} /** *

The output domain where the source stream should be sent. Integrate the * domain with a downstream CDN (such as Amazon CloudFront) or playback device.

*/ inline GetChannelGroupResult& WithEgressDomain(Aws::String&& value) { SetEgressDomain(std::move(value)); return *this;} /** *

The output domain where the source stream should be sent. Integrate the * domain with a downstream CDN (such as Amazon CloudFront) or playback device.

*/ inline GetChannelGroupResult& WithEgressDomain(const char* value) { SetEgressDomain(value); return *this;} /** *

The date and time the channel group was created.

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

The date and time the channel group was created.

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

The date and time the channel group was created.

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

The date and time the channel group was created.

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

The date and time the channel group was created.

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

The date and time the channel group was modified.

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

The date and time the channel group was modified.

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

The date and time the channel group was modified.

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

The date and time the channel group was modified.

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

The date and time the channel group was modified.

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

The description for your channel group.

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

The description for your channel group.

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

The description for your channel group.

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

The description for your channel group.

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

The description for your channel group.

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

The description for your channel group.

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

The description for your channel group.

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline GetChannelGroupResult& 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 channel * group.

*/ inline GetChannelGroupResult& 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 channel * group.

*/ inline GetChannelGroupResult& 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 channel * group.

*/ inline GetChannelGroupResult& 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 channel * group.

*/ inline GetChannelGroupResult& 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 channel * group.

*/ inline GetChannelGroupResult& 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 channel * group.

*/ inline GetChannelGroupResult& 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 GetChannelGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetChannelGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetChannelGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_channelGroupName; Aws::String m_arn; Aws::String m_egressDomain; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_modifiedAt; Aws::String m_description; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace mediapackagev2 } // namespace Aws