/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MediaTailor { namespace Model { class DescribeLiveSourceResult { public: AWS_MEDIATAILOR_API DescribeLiveSourceResult(); AWS_MEDIATAILOR_API DescribeLiveSourceResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIATAILOR_API DescribeLiveSourceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the live source.

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

The ARN of the live source.

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

The ARN of the live source.

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

The ARN of the live source.

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

The ARN of the live source.

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

The ARN of the live source.

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

The ARN of the live source.

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

The timestamp that indicates when the live source was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The timestamp that indicates when the live source was created.

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

The timestamp that indicates when the live source was created.

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

The timestamp that indicates when the live source was created.

*/ inline DescribeLiveSourceResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The timestamp that indicates when the live source was created.

*/ inline DescribeLiveSourceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The HTTP package configurations.

*/ inline const Aws::Vector& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; } /** *

The HTTP package configurations.

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

The HTTP package configurations.

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

The HTTP package configurations.

*/ inline DescribeLiveSourceResult& WithHttpPackageConfigurations(const Aws::Vector& value) { SetHttpPackageConfigurations(value); return *this;} /** *

The HTTP package configurations.

*/ inline DescribeLiveSourceResult& WithHttpPackageConfigurations(Aws::Vector&& value) { SetHttpPackageConfigurations(std::move(value)); return *this;} /** *

The HTTP package configurations.

*/ inline DescribeLiveSourceResult& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurations.push_back(value); return *this; } /** *

The HTTP package configurations.

*/ inline DescribeLiveSourceResult& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurations.push_back(std::move(value)); return *this; } /** *

The timestamp that indicates when the live source was modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The timestamp that indicates when the live source was modified.

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

The timestamp that indicates when the live source was modified.

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

The timestamp that indicates when the live source was modified.

*/ inline DescribeLiveSourceResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The timestamp that indicates when the live source was modified.

*/ inline DescribeLiveSourceResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The name of the live source.

*/ inline const Aws::String& GetLiveSourceName() const{ return m_liveSourceName; } /** *

The name of the live source.

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

The name of the live source.

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

The name of the live source.

*/ inline void SetLiveSourceName(const char* value) { m_liveSourceName.assign(value); } /** *

The name of the live source.

*/ inline DescribeLiveSourceResult& WithLiveSourceName(const Aws::String& value) { SetLiveSourceName(value); return *this;} /** *

The name of the live source.

*/ inline DescribeLiveSourceResult& WithLiveSourceName(Aws::String&& value) { SetLiveSourceName(std::move(value)); return *this;} /** *

The name of the live source.

*/ inline DescribeLiveSourceResult& WithLiveSourceName(const char* value) { SetLiveSourceName(value); return *this;} /** *

The name of the source location associated with the live source.

*/ inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; } /** *

The name of the source location associated with the live source.

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

The name of the source location associated with the live source.

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

The name of the source location associated with the live source.

*/ inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); } /** *

The name of the source location associated with the live source.

*/ inline DescribeLiveSourceResult& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;} /** *

The name of the source location associated with the live source.

*/ inline DescribeLiveSourceResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;} /** *

The name of the source location associated with the live source.

*/ inline DescribeLiveSourceResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;} /** *

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

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

The tags assigned to the live source. Tags are key-value pairs that you can * associate with Amazon resources to help with organization, access control, and * cost tracking. For more information, see Tagging * AWS Elemental MediaTailor Resources.

*/ inline DescribeLiveSourceResult& 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 DescribeLiveSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLiveSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLiveSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_creationTime; Aws::Vector m_httpPackageConfigurations; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_liveSourceName; Aws::String m_sourceLocationName; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace MediaTailor } // namespace Aws