/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A source location is a container for sources. For more information about
* source locations, see Working
* with source locations in the MediaTailor User Guide.See
* Also:
AWS
* API Reference
The access configuration for the source location.
*/ inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; } /** *The access configuration for the source location.
*/ inline bool AccessConfigurationHasBeenSet() const { return m_accessConfigurationHasBeenSet; } /** *The access configuration for the source location.
*/ inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = value; } /** *The access configuration for the source location.
*/ inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = std::move(value); } /** *The access configuration for the source location.
*/ inline SourceLocation& WithAccessConfiguration(const AccessConfiguration& value) { SetAccessConfiguration(value); return *this;} /** *The access configuration for the source location.
*/ inline SourceLocation& WithAccessConfiguration(AccessConfiguration&& value) { SetAccessConfiguration(std::move(value)); return *this;} /** *The ARN of the SourceLocation.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the SourceLocation.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the SourceLocation.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the SourceLocation.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the SourceLocation.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the SourceLocation.
*/ inline SourceLocation& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the SourceLocation.
*/ inline SourceLocation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the SourceLocation.
*/ inline SourceLocation& WithArn(const char* value) { SetArn(value); return *this;} /** *The timestamp that indicates when the source location was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The timestamp that indicates when the source location was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The timestamp that indicates when the source location was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The timestamp that indicates when the source location was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The timestamp that indicates when the source location was created.
*/ inline SourceLocation& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The timestamp that indicates when the source location was created.
*/ inline SourceLocation& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The default segment delivery configuration.
*/ inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; } /** *The default segment delivery configuration.
*/ inline bool DefaultSegmentDeliveryConfigurationHasBeenSet() const { return m_defaultSegmentDeliveryConfigurationHasBeenSet; } /** *The default segment delivery configuration.
*/ inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = value; } /** *The default segment delivery configuration.
*/ inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = std::move(value); } /** *The default segment delivery configuration.
*/ inline SourceLocation& WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { SetDefaultSegmentDeliveryConfiguration(value); return *this;} /** *The default segment delivery configuration.
*/ inline SourceLocation& WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { SetDefaultSegmentDeliveryConfiguration(std::move(value)); return *this;} /** *The HTTP configuration for the source location.
*/ inline const HttpConfiguration& GetHttpConfiguration() const{ return m_httpConfiguration; } /** *The HTTP configuration for the source location.
*/ inline bool HttpConfigurationHasBeenSet() const { return m_httpConfigurationHasBeenSet; } /** *The HTTP configuration for the source location.
*/ inline void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = value; } /** *The HTTP configuration for the source location.
*/ inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = std::move(value); } /** *The HTTP configuration for the source location.
*/ inline SourceLocation& WithHttpConfiguration(const HttpConfiguration& value) { SetHttpConfiguration(value); return *this;} /** *The HTTP configuration for the source location.
*/ inline SourceLocation& WithHttpConfiguration(HttpConfiguration&& value) { SetHttpConfiguration(std::move(value)); return *this;} /** *The timestamp that indicates when the source location was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The timestamp that indicates when the source location was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The timestamp that indicates when the source location was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The timestamp that indicates when the source location was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The timestamp that indicates when the source location was last modified.
*/ inline SourceLocation& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The timestamp that indicates when the source location was last modified.
*/ inline SourceLocation& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The segment delivery configurations for the source location.
*/ inline const Aws::VectorThe segment delivery configurations for the source location.
*/ inline bool SegmentDeliveryConfigurationsHasBeenSet() const { return m_segmentDeliveryConfigurationsHasBeenSet; } /** *The segment delivery configurations for the source location.
*/ inline void SetSegmentDeliveryConfigurations(const Aws::VectorThe segment delivery configurations for the source location.
*/ inline void SetSegmentDeliveryConfigurations(Aws::VectorThe segment delivery configurations for the source location.
*/ inline SourceLocation& WithSegmentDeliveryConfigurations(const Aws::VectorThe segment delivery configurations for the source location.
*/ inline SourceLocation& WithSegmentDeliveryConfigurations(Aws::VectorThe segment delivery configurations for the source location.
*/ inline SourceLocation& AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations.push_back(value); return *this; } /** *The segment delivery configurations for the source location.
*/ inline SourceLocation& AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations.push_back(std::move(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 SourceLocation& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;} /** *The name of the source location.
*/ inline SourceLocation& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;} /** *The name of the source location.
*/ inline SourceLocation& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;} /** *The tags assigned to the source location. 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 source location. 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 source location. 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 source location. 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 source location. 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 SourceLocation& WithTags(const Aws::MapThe tags assigned to the source location. 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 SourceLocation& WithTags(Aws::MapThe tags assigned to the source location. 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 SourceLocation& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags assigned to the source location. 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 SourceLocation& 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 source location. 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 SourceLocation& 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 source location. 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 SourceLocation& 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 source location. 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 SourceLocation& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags assigned to the source location. 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 SourceLocation& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags assigned to the source location. 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 SourceLocation& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: AccessConfiguration m_accessConfiguration; bool m_accessConfigurationHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration; bool m_defaultSegmentDeliveryConfigurationHasBeenSet = false; HttpConfiguration m_httpConfiguration; bool m_httpConfigurationHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::Vector