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

Summary information about a logging configuration.

See Also:

* AWS * API Reference

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

Logging-configuration ARN.

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

Logging-configuration ARN.

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

Logging-configuration ARN.

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

Logging-configuration ARN.

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

Logging-configuration ARN.

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

Logging-configuration ARN.

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

Logging-configuration ARN.

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

Logging-configuration ARN.

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

Time when the logging configuration was created. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

Time when the logging configuration was created. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

Time when the logging configuration was created. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

Time when the logging configuration was created. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

Time when the logging configuration was created. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline LoggingConfigurationSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

Time when the logging configuration was created. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline LoggingConfigurationSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

A complex type that contains a destination configuration for where chat * content will be logged.

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

A complex type that contains a destination configuration for where chat * content will be logged.

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

A complex type that contains a destination configuration for where chat * content will be logged.

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

A complex type that contains a destination configuration for where chat * content will be logged.

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

A complex type that contains a destination configuration for where chat * content will be logged.

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

A complex type that contains a destination configuration for where chat * content will be logged.

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

Logging-configuration ID, generated by the system. This is a relative * identifier, the part of the ARN that uniquely identifies the room.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

Logging-configuration ID, generated by the system. This is a relative * identifier, the part of the ARN that uniquely identifies the room.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

Logging-configuration ID, generated by the system. This is a relative * identifier, the part of the ARN that uniquely identifies the room.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

Logging-configuration ID, generated by the system. This is a relative * identifier, the part of the ARN that uniquely identifies the room.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

Logging-configuration ID, generated by the system. This is a relative * identifier, the part of the ARN that uniquely identifies the room.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

Logging-configuration ID, generated by the system. This is a relative * identifier, the part of the ARN that uniquely identifies the room.

*/ inline LoggingConfigurationSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

Logging-configuration ID, generated by the system. This is a relative * identifier, the part of the ARN that uniquely identifies the room.

*/ inline LoggingConfigurationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

Logging-configuration ID, generated by the system. This is a relative * identifier, the part of the ARN that uniquely identifies the room.

*/ inline LoggingConfigurationSummary& WithId(const char* value) { SetId(value); return *this;} /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The state of the logging configuration. When this is ACTIVE, the * configuration is ready for logging chat content.

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

The state of the logging configuration. When this is ACTIVE, the * configuration is ready for logging chat content.

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

The state of the logging configuration. When this is ACTIVE, the * configuration is ready for logging chat content.

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

The state of the logging configuration. When this is ACTIVE, the * configuration is ready for logging chat content.

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

The state of the logging configuration. When this is ACTIVE, the * configuration is ready for logging chat content.

*/ inline LoggingConfigurationSummary& WithState(const LoggingConfigurationState& value) { SetState(value); return *this;} /** *

The state of the logging configuration. When this is ACTIVE, the * configuration is ready for logging chat content.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Tags to attach to the resource. Array of maps, each of the form * string:string (key:value). See Tagging * AWS Resources for details, including restrictions that apply to tags and * "Tag naming limits and requirements"; Amazon IVS Chat has no constraints on tags * beyond what is documented there.

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

Time of the logging configuration’s last update. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

Time of the logging configuration’s last update. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

Time of the logging configuration’s last update. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } /** *

Time of the logging configuration’s last update. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } /** *

Time of the logging configuration’s last update. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline LoggingConfigurationSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

Time of the logging configuration’s last update. This is an ISO 8601 * timestamp; note that this is returned as a string.

*/ inline LoggingConfigurationSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; DestinationConfiguration m_destinationConfiguration; bool m_destinationConfigurationHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; LoggingConfigurationState m_state; bool m_stateHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; } // namespace Model } // namespace ivschat } // namespace Aws