/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Live source configuration parameters.See Also:
AWS
* API Reference
The ARN for the live source.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN for the live source.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN for the live source.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN for the live source.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN for the live source.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN for the live source.
*/ inline LiveSource& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN for the live source.
*/ inline LiveSource& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN for the live source.
*/ inline LiveSource& 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 bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The timestamp that indicates when the live source was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The timestamp that indicates when the live source was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The timestamp that indicates when the live source was created.
*/ inline LiveSource& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The timestamp that indicates when the live source was created.
*/ inline LiveSource& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The HTTP package configurations for the live source.
*/ inline const Aws::VectorThe HTTP package configurations for the live source.
*/ inline bool HttpPackageConfigurationsHasBeenSet() const { return m_httpPackageConfigurationsHasBeenSet; } /** *The HTTP package configurations for the live source.
*/ inline void SetHttpPackageConfigurations(const Aws::VectorThe HTTP package configurations for the live source.
*/ inline void SetHttpPackageConfigurations(Aws::VectorThe HTTP package configurations for the live source.
*/ inline LiveSource& WithHttpPackageConfigurations(const Aws::VectorThe HTTP package configurations for the live source.
*/ inline LiveSource& WithHttpPackageConfigurations(Aws::VectorThe HTTP package configurations for the live source.
*/ inline LiveSource& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(value); return *this; } /** *The HTTP package configurations for the live source.
*/ inline LiveSource& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(std::move(value)); return *this; } /** *The timestamp that indicates when the live source was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The timestamp that indicates when the live source was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The timestamp that indicates when the live source was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The timestamp that indicates when the live source was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The timestamp that indicates when the live source was last modified.
*/ inline LiveSource& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The timestamp that indicates when the live source was last modified.
*/ inline LiveSource& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The name that's used to refer to a live source.
*/ inline const Aws::String& GetLiveSourceName() const{ return m_liveSourceName; } /** *The name that's used to refer to a live source.
*/ inline bool LiveSourceNameHasBeenSet() const { return m_liveSourceNameHasBeenSet; } /** *The name that's used to refer to a live source.
*/ inline void SetLiveSourceName(const Aws::String& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = value; } /** *The name that's used to refer to a live source.
*/ inline void SetLiveSourceName(Aws::String&& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = std::move(value); } /** *The name that's used to refer to a live source.
*/ inline void SetLiveSourceName(const char* value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName.assign(value); } /** *The name that's used to refer to a live source.
*/ inline LiveSource& WithLiveSourceName(const Aws::String& value) { SetLiveSourceName(value); return *this;} /** *The name that's used to refer to a live source.
*/ inline LiveSource& WithLiveSourceName(Aws::String&& value) { SetLiveSourceName(std::move(value)); return *this;} /** *The name that's used to refer to a live source.
*/ inline LiveSource& WithLiveSourceName(const char* value) { SetLiveSourceName(value); return *this;} /** *The name of the source location.
*/ inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; } /** *The name of the source location.
*/ inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; } /** *The name of the source location.
*/ inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; } /** *The name of the source location.
*/ inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); } /** *The name of the source location.
*/ inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); } /** *The name of the source location.
*/ inline LiveSource& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;} /** *The name of the source location.
*/ inline LiveSource& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;} /** *The name of the source location.
*/ inline LiveSource& 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::MapThe 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 bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *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::MapThe 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::MapThe 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 LiveSource& WithTags(const Aws::MapThe 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 LiveSource& WithTags(Aws::MapThe 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 LiveSource& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; 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 LiveSource& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; 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 LiveSource& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; 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 LiveSource& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; 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 LiveSource& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; 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 LiveSource& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; 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 LiveSource& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Vector