/** * 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 namespace Aws { namespace IVS { namespace Model { /** */ class CreateRecordingConfigurationRequest : public IVSRequest { public: AWS_IVS_API CreateRecordingConfigurationRequest(); // 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 "CreateRecordingConfiguration"; } AWS_IVS_API Aws::String SerializePayload() const override; /** *

A complex type that contains a destination configuration for where recorded * video will be stored.

*/ inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } /** *

A complex type that contains a destination configuration for where recorded * video will be stored.

*/ inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } /** *

A complex type that contains a destination configuration for where recorded * video will be stored.

*/ inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } /** *

A complex type that contains a destination configuration for where recorded * video will be stored.

*/ inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } /** *

A complex type that contains a destination configuration for where recorded * video will be stored.

*/ inline CreateRecordingConfigurationRequest& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} /** *

A complex type that contains a destination configuration for where recorded * video will be stored.

*/ inline CreateRecordingConfigurationRequest& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} /** *

Recording-configuration name. The value does not need to be unique.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Recording-configuration name. The value does not need to be unique.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Recording-configuration name. The value does not need to be unique.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Recording-configuration name. The value does not need to be unique.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Recording-configuration name. The value does not need to be unique.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Recording-configuration name. The value does not need to be unique.

*/ inline CreateRecordingConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Recording-configuration name. The value does not need to be unique.

*/ inline CreateRecordingConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Recording-configuration name. The value does not need to be unique.

*/ inline CreateRecordingConfigurationRequest& WithName(const char* value) { SetName(value); return *this;} /** *

If a broadcast disconnects and then reconnects within the specified interval, * the multiple streams will be considered a single broadcast and merged together. * Default: 0.

*/ inline int GetRecordingReconnectWindowSeconds() const{ return m_recordingReconnectWindowSeconds; } /** *

If a broadcast disconnects and then reconnects within the specified interval, * the multiple streams will be considered a single broadcast and merged together. * Default: 0.

*/ inline bool RecordingReconnectWindowSecondsHasBeenSet() const { return m_recordingReconnectWindowSecondsHasBeenSet; } /** *

If a broadcast disconnects and then reconnects within the specified interval, * the multiple streams will be considered a single broadcast and merged together. * Default: 0.

*/ inline void SetRecordingReconnectWindowSeconds(int value) { m_recordingReconnectWindowSecondsHasBeenSet = true; m_recordingReconnectWindowSeconds = value; } /** *

If a broadcast disconnects and then reconnects within the specified interval, * the multiple streams will be considered a single broadcast and merged together. * Default: 0.

*/ inline CreateRecordingConfigurationRequest& WithRecordingReconnectWindowSeconds(int value) { SetRecordingReconnectWindowSeconds(value); return *this;} /** *

Object that describes which renditions should be recorded for a stream.

*/ inline const RenditionConfiguration& GetRenditionConfiguration() const{ return m_renditionConfiguration; } /** *

Object that describes which renditions should be recorded for a stream.

*/ inline bool RenditionConfigurationHasBeenSet() const { return m_renditionConfigurationHasBeenSet; } /** *

Object that describes which renditions should be recorded for a stream.

*/ inline void SetRenditionConfiguration(const RenditionConfiguration& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = value; } /** *

Object that describes which renditions should be recorded for a stream.

*/ inline void SetRenditionConfiguration(RenditionConfiguration&& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = std::move(value); } /** *

Object that describes which renditions should be recorded for a stream.

*/ inline CreateRecordingConfigurationRequest& WithRenditionConfiguration(const RenditionConfiguration& value) { SetRenditionConfiguration(value); return *this;} /** *

Object that describes which renditions should be recorded for a stream.

*/ inline CreateRecordingConfigurationRequest& WithRenditionConfiguration(RenditionConfiguration&& value) { SetRenditionConfiguration(std::move(value)); return *this;} /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Array of 1-50 maps, each of the form string:string (key:value). * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline CreateRecordingConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

A complex type that allows you to enable/disable the recording of thumbnails * for a live session and modify the interval at which thumbnails are generated for * the live session.

*/ inline const ThumbnailConfiguration& GetThumbnailConfiguration() const{ return m_thumbnailConfiguration; } /** *

A complex type that allows you to enable/disable the recording of thumbnails * for a live session and modify the interval at which thumbnails are generated for * the live session.

*/ inline bool ThumbnailConfigurationHasBeenSet() const { return m_thumbnailConfigurationHasBeenSet; } /** *

A complex type that allows you to enable/disable the recording of thumbnails * for a live session and modify the interval at which thumbnails are generated for * the live session.

*/ inline void SetThumbnailConfiguration(const ThumbnailConfiguration& value) { m_thumbnailConfigurationHasBeenSet = true; m_thumbnailConfiguration = value; } /** *

A complex type that allows you to enable/disable the recording of thumbnails * for a live session and modify the interval at which thumbnails are generated for * the live session.

*/ inline void SetThumbnailConfiguration(ThumbnailConfiguration&& value) { m_thumbnailConfigurationHasBeenSet = true; m_thumbnailConfiguration = std::move(value); } /** *

A complex type that allows you to enable/disable the recording of thumbnails * for a live session and modify the interval at which thumbnails are generated for * the live session.

*/ inline CreateRecordingConfigurationRequest& WithThumbnailConfiguration(const ThumbnailConfiguration& value) { SetThumbnailConfiguration(value); return *this;} /** *

A complex type that allows you to enable/disable the recording of thumbnails * for a live session and modify the interval at which thumbnails are generated for * the live session.

*/ inline CreateRecordingConfigurationRequest& WithThumbnailConfiguration(ThumbnailConfiguration&& value) { SetThumbnailConfiguration(std::move(value)); return *this;} private: DestinationConfiguration m_destinationConfiguration; bool m_destinationConfigurationHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_recordingReconnectWindowSeconds; bool m_recordingReconnectWindowSecondsHasBeenSet = false; RenditionConfiguration m_renditionConfiguration; bool m_renditionConfigurationHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; ThumbnailConfiguration m_thumbnailConfiguration; bool m_thumbnailConfigurationHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws