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

The settings for conversation logs.

See Also:

AWS * API Reference

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

The type of logging that is enabled.

*/ inline const LogType& GetLogType() const{ return m_logType; } /** *

The type of logging that is enabled.

*/ inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; } /** *

The type of logging that is enabled.

*/ inline void SetLogType(const LogType& value) { m_logTypeHasBeenSet = true; m_logType = value; } /** *

The type of logging that is enabled.

*/ inline void SetLogType(LogType&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); } /** *

The type of logging that is enabled.

*/ inline LogSettingsResponse& WithLogType(const LogType& value) { SetLogType(value); return *this;} /** *

The type of logging that is enabled.

*/ inline LogSettingsResponse& WithLogType(LogType&& value) { SetLogType(std::move(value)); return *this;} /** *

The destination where logs are delivered.

*/ inline const Destination& GetDestination() const{ return m_destination; } /** *

The destination where logs are delivered.

*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *

The destination where logs are delivered.

*/ inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *

The destination where logs are delivered.

*/ inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *

The destination where logs are delivered.

*/ inline LogSettingsResponse& WithDestination(const Destination& value) { SetDestination(value); return *this;} /** *

The destination where logs are delivered.

*/ inline LogSettingsResponse& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 * bucket.

*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 * bucket.

*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 * bucket.

*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 * bucket.

*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 * bucket.

*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 * bucket.

*/ inline LogSettingsResponse& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 * bucket.

*/ inline LogSettingsResponse& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 * bucket.

*/ inline LogSettingsResponse& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket * where the logs are delivered.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket * where the logs are delivered.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket * where the logs are delivered.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket * where the logs are delivered.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket * where the logs are delivered.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket * where the logs are delivered.

*/ inline LogSettingsResponse& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket * where the logs are delivered.

*/ inline LogSettingsResponse& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket * where the logs are delivered.

*/ inline LogSettingsResponse& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The resource prefix is the first part of the S3 object key within the S3 * bucket that you specified to contain audio logs. For CloudWatch Logs it is the * prefix of the log stream name within the log group that you specified.

*/ inline const Aws::String& GetResourcePrefix() const{ return m_resourcePrefix; } /** *

The resource prefix is the first part of the S3 object key within the S3 * bucket that you specified to contain audio logs. For CloudWatch Logs it is the * prefix of the log stream name within the log group that you specified.

*/ inline bool ResourcePrefixHasBeenSet() const { return m_resourcePrefixHasBeenSet; } /** *

The resource prefix is the first part of the S3 object key within the S3 * bucket that you specified to contain audio logs. For CloudWatch Logs it is the * prefix of the log stream name within the log group that you specified.

*/ inline void SetResourcePrefix(const Aws::String& value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix = value; } /** *

The resource prefix is the first part of the S3 object key within the S3 * bucket that you specified to contain audio logs. For CloudWatch Logs it is the * prefix of the log stream name within the log group that you specified.

*/ inline void SetResourcePrefix(Aws::String&& value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix = std::move(value); } /** *

The resource prefix is the first part of the S3 object key within the S3 * bucket that you specified to contain audio logs. For CloudWatch Logs it is the * prefix of the log stream name within the log group that you specified.

*/ inline void SetResourcePrefix(const char* value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix.assign(value); } /** *

The resource prefix is the first part of the S3 object key within the S3 * bucket that you specified to contain audio logs. For CloudWatch Logs it is the * prefix of the log stream name within the log group that you specified.

*/ inline LogSettingsResponse& WithResourcePrefix(const Aws::String& value) { SetResourcePrefix(value); return *this;} /** *

The resource prefix is the first part of the S3 object key within the S3 * bucket that you specified to contain audio logs. For CloudWatch Logs it is the * prefix of the log stream name within the log group that you specified.

*/ inline LogSettingsResponse& WithResourcePrefix(Aws::String&& value) { SetResourcePrefix(std::move(value)); return *this;} /** *

The resource prefix is the first part of the S3 object key within the S3 * bucket that you specified to contain audio logs. For CloudWatch Logs it is the * prefix of the log stream name within the log group that you specified.

*/ inline LogSettingsResponse& WithResourcePrefix(const char* value) { SetResourcePrefix(value); return *this;} private: LogType m_logType; bool m_logTypeHasBeenSet = false; Destination m_destination; bool m_destinationHasBeenSet = false; Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::String m_resourcePrefix; bool m_resourcePrefixHasBeenSet = false; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws