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

Access configuration parameters. Configures the type of authentication used * to access content from your source location.

*/ inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; } /** *

Access configuration parameters. Configures the type of authentication used * to access content from your source location.

*/ inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfiguration = value; } /** *

Access configuration parameters. Configures the type of authentication used * to access content from your source location.

*/ inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfiguration = std::move(value); } /** *

Access configuration parameters. Configures the type of authentication used * to access content from your source location.

*/ inline UpdateSourceLocationResult& WithAccessConfiguration(const AccessConfiguration& value) { SetAccessConfiguration(value); return *this;} /** *

Access configuration parameters. Configures the type of authentication used * to access content from your source location.

*/ inline UpdateSourceLocationResult& WithAccessConfiguration(AccessConfiguration&& value) { SetAccessConfiguration(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) associated with the source location.

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

The Amazon Resource Name (ARN) associated with the source location.

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

The Amazon Resource Name (ARN) associated with the source location.

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

The Amazon Resource Name (ARN) associated with the source location.

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

The Amazon Resource Name (ARN) associated with the source location.

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

The Amazon Resource Name (ARN) associated with the source location.

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

The Amazon Resource Name (ARN) associated with the source location.

*/ inline UpdateSourceLocationResult& 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 void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The timestamp that indicates when the source location was created.

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

The timestamp that indicates when the source location was created.

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

The timestamp that indicates when the source location was created.

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

The optional configuration for the host server that serves segments.

*/ inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; } /** *

The optional configuration for the host server that serves segments.

*/ inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfiguration = value; } /** *

The optional configuration for the host server that serves segments.

*/ inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfiguration = std::move(value); } /** *

The optional configuration for the host server that serves segments.

*/ inline UpdateSourceLocationResult& WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { SetDefaultSegmentDeliveryConfiguration(value); return *this;} /** *

The optional configuration for the host server that serves segments.

*/ inline UpdateSourceLocationResult& 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 void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfiguration = value; } /** *

The HTTP configuration for the source location.

*/ inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfiguration = std::move(value); } /** *

The HTTP configuration for the source location.

*/ inline UpdateSourceLocationResult& WithHttpConfiguration(const HttpConfiguration& value) { SetHttpConfiguration(value); return *this;} /** *

The HTTP configuration for the source location.

*/ inline UpdateSourceLocationResult& 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 void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

The timestamp that indicates when the source location was last modified.

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

The timestamp that indicates when the source location was last modified.

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

The timestamp that indicates when the source location was last modified.

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

The segment delivery configurations for the source location. For information * about MediaTailor configurations, see Working * with configurations in AWS Elemental MediaTailor.

*/ inline const Aws::Vector& GetSegmentDeliveryConfigurations() const{ return m_segmentDeliveryConfigurations; } /** *

The segment delivery configurations for the source location. For information * about MediaTailor configurations, see Working * with configurations in AWS Elemental MediaTailor.

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

The segment delivery configurations for the source location. For information * about MediaTailor configurations, see Working * with configurations in AWS Elemental MediaTailor.

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

The segment delivery configurations for the source location. For information * about MediaTailor configurations, see Working * with configurations in AWS Elemental MediaTailor.

*/ inline UpdateSourceLocationResult& WithSegmentDeliveryConfigurations(const Aws::Vector& value) { SetSegmentDeliveryConfigurations(value); return *this;} /** *

The segment delivery configurations for the source location. For information * about MediaTailor configurations, see Working * with configurations in AWS Elemental MediaTailor.

*/ inline UpdateSourceLocationResult& WithSegmentDeliveryConfigurations(Aws::Vector&& value) { SetSegmentDeliveryConfigurations(std::move(value)); return *this;} /** *

The segment delivery configurations for the source location. For information * about MediaTailor configurations, see Working * with configurations in AWS Elemental MediaTailor.

*/ inline UpdateSourceLocationResult& AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration& value) { m_segmentDeliveryConfigurations.push_back(value); return *this; } /** *

The segment delivery configurations for the source location. For information * about MediaTailor configurations, see Working * with configurations in AWS Elemental MediaTailor.

*/ inline UpdateSourceLocationResult& AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration&& value) { 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 void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; } /** *

The name of the source location.

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

The name of the source location.

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

The name of the source location.

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

The name of the source location.

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

The name of the source location.

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

The tags to assign 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::Map& GetTags() const{ return m_tags; } /** *

The tags to assign 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::Map& value) { m_tags = value; } /** *

The tags to assign 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::Map&& value) { m_tags = std::move(value); } /** *

The tags to assign 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 UpdateSourceLocationResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags to assign 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 UpdateSourceLocationResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags to assign 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 UpdateSourceLocationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags to assign 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 UpdateSourceLocationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to assign 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 UpdateSourceLocationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to assign 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 UpdateSourceLocationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags to assign 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 UpdateSourceLocationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to assign 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 UpdateSourceLocationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to assign 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 UpdateSourceLocationResult& 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 UpdateSourceLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateSourceLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateSourceLocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AccessConfiguration m_accessConfiguration; Aws::String m_arn; Aws::Utils::DateTime m_creationTime; DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration; HttpConfiguration m_httpConfiguration; Aws::Utils::DateTime m_lastModifiedTime; Aws::Vector m_segmentDeliveryConfigurations; Aws::String m_sourceLocationName; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace MediaTailor } // namespace Aws