/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace MediaTailor { namespace Model { /** */ class UpdateVodSourceRequest : public MediaTailorRequest { public: AWS_MEDIATAILOR_API UpdateVodSourceRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateVodSource"; } AWS_MEDIATAILOR_API Aws::String SerializePayload() const override; /** *

A list of HTTP package configurations for the VOD source on this account.

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

A list of HTTP package configurations for the VOD source on this account.

*/ inline bool HttpPackageConfigurationsHasBeenSet() const { return m_httpPackageConfigurationsHasBeenSet; } /** *

A list of HTTP package configurations for the VOD source on this account.

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

A list of HTTP package configurations for the VOD source on this account.

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

A list of HTTP package configurations for the VOD source on this account.

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

A list of HTTP package configurations for the VOD source on this account.

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

A list of HTTP package configurations for the VOD source on this account.

*/ inline UpdateVodSourceRequest& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(value); return *this; } /** *

A list of HTTP package configurations for the VOD source on this account.

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

The name of the source location associated with this VOD Source.

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

The name of the source location associated with this VOD Source.

*/ inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; } /** *

The name of the source location associated with this VOD Source.

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

The name of the source location associated with this VOD Source.

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

The name of the source location associated with this VOD Source.

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

The name of the source location associated with this VOD Source.

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

The name of the source location associated with this VOD Source.

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

The name of the source location associated with this VOD Source.

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

The name of the VOD source.

*/ inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; } /** *

The name of the VOD source.

*/ inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; } /** *

The name of the VOD source.

*/ inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; } /** *

The name of the VOD source.

*/ inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); } /** *

The name of the VOD source.

*/ inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); } /** *

The name of the VOD source.

*/ inline UpdateVodSourceRequest& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;} /** *

The name of the VOD source.

*/ inline UpdateVodSourceRequest& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;} /** *

The name of the VOD source.

*/ inline UpdateVodSourceRequest& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;} private: Aws::Vector m_httpPackageConfigurations; bool m_httpPackageConfigurationsHasBeenSet = false; Aws::String m_sourceLocationName; bool m_sourceLocationNameHasBeenSet = false; Aws::String m_vodSourceName; bool m_vodSourceNameHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws