/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IVS { namespace Model { /** *

Summary information about a RecordingConfiguration.

See Also:

* AWS * API Reference

*/ class RecordingConfigurationSummary { public: AWS_IVS_API RecordingConfigurationSummary(); AWS_IVS_API RecordingConfigurationSummary(Aws::Utils::Json::JsonView jsonValue); AWS_IVS_API RecordingConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Recording-configuration ARN.

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

Recording-configuration ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

Recording-configuration ARN.

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

Recording-configuration ARN.

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

Recording-configuration ARN.

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

Recording-configuration ARN.

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

Recording-configuration ARN.

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

Recording-configuration ARN.

*/ inline RecordingConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

A complex type that contains information about where recorded video will be * stored.

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

A complex type that contains information about where recorded video will be * stored.

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

A complex type that contains information about where recorded video will be * stored.

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

A complex type that contains information about where recorded video will be * stored.

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

A complex type that contains information about where recorded video will be * stored.

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

A complex type that contains information about where recorded video will be * stored.

*/ inline RecordingConfigurationSummary& 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 RecordingConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

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

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

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

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

Indicates the current state of the recording configuration. When the state is * ACTIVE, the configuration is ready for recording a channel * stream.

*/ inline const RecordingConfigurationState& GetState() const{ return m_state; } /** *

Indicates the current state of the recording configuration. When the state is * ACTIVE, the configuration is ready for recording a channel * stream.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

Indicates the current state of the recording configuration. When the state is * ACTIVE, the configuration is ready for recording a channel * stream.

*/ inline void SetState(const RecordingConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; } /** *

Indicates the current state of the recording configuration. When the state is * ACTIVE, the configuration is ready for recording a channel * stream.

*/ inline void SetState(RecordingConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

Indicates the current state of the recording configuration. When the state is * ACTIVE, the configuration is ready for recording a channel * stream.

*/ inline RecordingConfigurationSummary& WithState(const RecordingConfigurationState& value) { SetState(value); return *this;} /** *

Indicates the current state of the recording configuration. When the state is * ACTIVE, the configuration is ready for recording a channel * stream.

*/ inline RecordingConfigurationSummary& WithState(RecordingConfigurationState&& value) { SetState(std::move(value)); return *this;} /** *

Tags attached to the resource. 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; } /** *

Tags attached to the resource. 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; } /** *

Tags attached to the resource. 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; } /** *

Tags attached to the resource. 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); } /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags attached to the resource. 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 RecordingConfigurationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; DestinationConfiguration m_destinationConfiguration; bool m_destinationConfigurationHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; RecordingConfigurationState m_state; bool m_stateHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws