/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Archive Group Settings

See Also:

AWS * API Reference

*/ class ArchiveGroupSettings { public: AWS_MEDIALIVE_API ArchiveGroupSettings(); AWS_MEDIALIVE_API ArchiveGroupSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API ArchiveGroupSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Parameters that control interactions with the CDN. */ inline const ArchiveCdnSettings& GetArchiveCdnSettings() const{ return m_archiveCdnSettings; } /** * Parameters that control interactions with the CDN. */ inline bool ArchiveCdnSettingsHasBeenSet() const { return m_archiveCdnSettingsHasBeenSet; } /** * Parameters that control interactions with the CDN. */ inline void SetArchiveCdnSettings(const ArchiveCdnSettings& value) { m_archiveCdnSettingsHasBeenSet = true; m_archiveCdnSettings = value; } /** * Parameters that control interactions with the CDN. */ inline void SetArchiveCdnSettings(ArchiveCdnSettings&& value) { m_archiveCdnSettingsHasBeenSet = true; m_archiveCdnSettings = std::move(value); } /** * Parameters that control interactions with the CDN. */ inline ArchiveGroupSettings& WithArchiveCdnSettings(const ArchiveCdnSettings& value) { SetArchiveCdnSettings(value); return *this;} /** * Parameters that control interactions with the CDN. */ inline ArchiveGroupSettings& WithArchiveCdnSettings(ArchiveCdnSettings&& value) { SetArchiveCdnSettings(std::move(value)); return *this;} /** * A directory and base filename where archive files should be written. */ inline const OutputLocationRef& GetDestination() const{ return m_destination; } /** * A directory and base filename where archive files should be written. */ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** * A directory and base filename where archive files should be written. */ inline void SetDestination(const OutputLocationRef& value) { m_destinationHasBeenSet = true; m_destination = value; } /** * A directory and base filename where archive files should be written. */ inline void SetDestination(OutputLocationRef&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** * A directory and base filename where archive files should be written. */ inline ArchiveGroupSettings& WithDestination(const OutputLocationRef& value) { SetDestination(value); return *this;} /** * A directory and base filename where archive files should be written. */ inline ArchiveGroupSettings& WithDestination(OutputLocationRef&& value) { SetDestination(std::move(value)); return *this;} /** * Number of seconds to write to archive file before closing and starting a new * one. */ inline int GetRolloverInterval() const{ return m_rolloverInterval; } /** * Number of seconds to write to archive file before closing and starting a new * one. */ inline bool RolloverIntervalHasBeenSet() const { return m_rolloverIntervalHasBeenSet; } /** * Number of seconds to write to archive file before closing and starting a new * one. */ inline void SetRolloverInterval(int value) { m_rolloverIntervalHasBeenSet = true; m_rolloverInterval = value; } /** * Number of seconds to write to archive file before closing and starting a new * one. */ inline ArchiveGroupSettings& WithRolloverInterval(int value) { SetRolloverInterval(value); return *this;} private: ArchiveCdnSettings m_archiveCdnSettings; bool m_archiveCdnSettingsHasBeenSet = false; OutputLocationRef m_destination; bool m_destinationHasBeenSet = false; int m_rolloverInterval; bool m_rolloverIntervalHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws