/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ivschat { namespace Model { class UpdateLoggingConfigurationResult { public: AWS_IVSCHAT_API UpdateLoggingConfigurationResult(); AWS_IVSCHAT_API UpdateLoggingConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_IVSCHAT_API UpdateLoggingConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Logging-configuration ARN, from the request (if identifier was * an ARN).

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

Logging-configuration ARN, from the request (if identifier was * an ARN).

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

Logging-configuration ARN, from the request (if identifier was * an ARN).

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

Logging-configuration ARN, from the request (if identifier was * an ARN).

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

Logging-configuration ARN, from the request (if identifier was * an ARN).

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

Logging-configuration ARN, from the request (if identifier was * an ARN).

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

Logging-configuration ARN, from the request (if identifier was * an ARN).

*/ inline UpdateLoggingConfigurationResult& 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 void SetCreateTime(const Aws::Utils::DateTime& value) { 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_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 UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationResult& 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, from the request. There is only one type of destination * (cloudWatchLogs, firehose, or s3) in a * destinationConfiguration.

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

A complex type that contains a destination configuration for where chat * content will be logged, from the request. There is only one type of destination * (cloudWatchLogs, firehose, or s3) in a * destinationConfiguration.

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

A complex type that contains a destination configuration for where chat * content will be logged, from the request. There is only one type of destination * (cloudWatchLogs, firehose, or s3) in a * destinationConfiguration.

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

A complex type that contains a destination configuration for where chat * content will be logged, from the request. There is only one type of destination * (cloudWatchLogs, firehose, or s3) in a * destinationConfiguration.

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

A complex type that contains a destination configuration for where chat * content will be logged, from the request. There is only one type of destination * (cloudWatchLogs, firehose, or s3) in a * destinationConfiguration.

*/ inline UpdateLoggingConfigurationResult& 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 void SetId(const Aws::String& value) { 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_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_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 UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;} /** *

Logging-configuration name, from the request (if specified).

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

Logging-configuration name, from the request (if specified).

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

Logging-configuration name, from the request (if specified).

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

Logging-configuration name, from the request (if specified).

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

Logging-configuration name, from the request (if specified).

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

Logging-configuration name, from the request (if specified).

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

Logging-configuration name, from the request (if specified).

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

The state of the logging configuration. When the state is * ACTIVE, the configuration is ready to log chat content.

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

The state of the logging configuration. When the state is * ACTIVE, the configuration is ready to log chat content.

*/ inline void SetState(const UpdateLoggingConfigurationState& value) { m_state = value; } /** *

The state of the logging configuration. When the state is * ACTIVE, the configuration is ready to log chat content.

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

The state of the logging configuration. When the state is * ACTIVE, the configuration is ready to log chat content.

*/ inline UpdateLoggingConfigurationResult& WithState(const UpdateLoggingConfigurationState& value) { SetState(value); return *this;} /** *

The state of the logging configuration. When the state is * ACTIVE, the configuration is ready to log chat content.

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

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

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateLoggingConfigurationResult& AddTags(const char* key, const char* value) { 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 void SetUpdateTime(const Aws::Utils::DateTime& value) { 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_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 UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateLoggingConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateLoggingConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateLoggingConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_createTime; DestinationConfiguration m_destinationConfiguration; Aws::String m_id; Aws::String m_name; UpdateLoggingConfigurationState m_state; Aws::Map m_tags; Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; }; } // namespace Model } // namespace ivschat } // namespace Aws