/** * 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 { /** *

Contains information about conversation log settings.

See * Also:

AWS * API Reference

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

The settings for your conversation logs. You can log text, audio, or * both.

*/ inline const Aws::Vector& GetLogSettings() const{ return m_logSettings; } /** *

The settings for your conversation logs. You can log text, audio, or * both.

*/ inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; } /** *

The settings for your conversation logs. You can log text, audio, or * both.

*/ inline void SetLogSettings(const Aws::Vector& value) { m_logSettingsHasBeenSet = true; m_logSettings = value; } /** *

The settings for your conversation logs. You can log text, audio, or * both.

*/ inline void SetLogSettings(Aws::Vector&& value) { m_logSettingsHasBeenSet = true; m_logSettings = std::move(value); } /** *

The settings for your conversation logs. You can log text, audio, or * both.

*/ inline ConversationLogsResponse& WithLogSettings(const Aws::Vector& value) { SetLogSettings(value); return *this;} /** *

The settings for your conversation logs. You can log text, audio, or * both.

*/ inline ConversationLogsResponse& WithLogSettings(Aws::Vector&& value) { SetLogSettings(std::move(value)); return *this;} /** *

The settings for your conversation logs. You can log text, audio, or * both.

*/ inline ConversationLogsResponse& AddLogSettings(const LogSettingsResponse& value) { m_logSettingsHasBeenSet = true; m_logSettings.push_back(value); return *this; } /** *

The settings for your conversation logs. You can log text, audio, or * both.

*/ inline ConversationLogsResponse& AddLogSettings(LogSettingsResponse&& value) { m_logSettingsHasBeenSet = true; m_logSettings.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the IAM role used to write your logs to * CloudWatch Logs or an S3 bucket.

*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role used to write your logs to * CloudWatch Logs or an S3 bucket.

*/ inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM role used to write your logs to * CloudWatch Logs or an S3 bucket.

*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM role used to write your logs to * CloudWatch Logs or an S3 bucket.

*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM role used to write your logs to * CloudWatch Logs or an S3 bucket.

*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role used to write your logs to * CloudWatch Logs or an S3 bucket.

*/ inline ConversationLogsResponse& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role used to write your logs to * CloudWatch Logs or an S3 bucket.

*/ inline ConversationLogsResponse& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role used to write your logs to * CloudWatch Logs or an S3 bucket.

*/ inline ConversationLogsResponse& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} private: Aws::Vector m_logSettings; bool m_logSettingsHasBeenSet = false; Aws::String m_iamRoleArn; bool m_iamRoleArnHasBeenSet = false; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws