/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the settings needed for conversation logs.See Also:
* AWS
* API Reference
The settings for your conversation logs. You can log the conversation text, * conversation audio, or both.
*/ inline const Aws::VectorThe settings for your conversation logs. You can log the conversation text, * conversation audio, or both.
*/ inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; } /** *The settings for your conversation logs. You can log the conversation text, * conversation audio, or both.
*/ inline void SetLogSettings(const Aws::VectorThe settings for your conversation logs. You can log the conversation text, * conversation audio, or both.
*/ inline void SetLogSettings(Aws::VectorThe settings for your conversation logs. You can log the conversation text, * conversation audio, or both.
*/ inline ConversationLogsRequest& WithLogSettings(const Aws::VectorThe settings for your conversation logs. You can log the conversation text, * conversation audio, or both.
*/ inline ConversationLogsRequest& WithLogSettings(Aws::VectorThe settings for your conversation logs. You can log the conversation text, * conversation audio, or both.
*/ inline ConversationLogsRequest& AddLogSettings(const LogSettingsRequest& value) { m_logSettingsHasBeenSet = true; m_logSettings.push_back(value); return *this; } /** *The settings for your conversation logs. You can log the conversation text, * conversation audio, or both.
*/ inline ConversationLogsRequest& AddLogSettings(LogSettingsRequest&& value) { m_logSettingsHasBeenSet = true; m_logSettings.push_back(std::move(value)); return *this; } /** *The Amazon Resource Name (ARN) of an IAM role with permission to write to * your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio * encryption is enabled, this role also provides access permission for the AWS KMS * key used for encrypting audio logs. For more information, see Creating * an IAM Role and Policy for Conversation Logs.
*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *The Amazon Resource Name (ARN) of an IAM role with permission to write to * your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio * encryption is enabled, this role also provides access permission for the AWS KMS * key used for encrypting audio logs. For more information, see Creating * an IAM Role and Policy for Conversation Logs.
*/ inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of an IAM role with permission to write to * your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio * encryption is enabled, this role also provides access permission for the AWS KMS * key used for encrypting audio logs. For more information, see Creating * an IAM Role and Policy for Conversation Logs.
*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } /** *The Amazon Resource Name (ARN) of an IAM role with permission to write to * your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio * encryption is enabled, this role also provides access permission for the AWS KMS * key used for encrypting audio logs. For more information, see Creating * an IAM Role and Policy for Conversation Logs.
*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of an IAM role with permission to write to * your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio * encryption is enabled, this role also provides access permission for the AWS KMS * key used for encrypting audio logs. For more information, see Creating * an IAM Role and Policy for Conversation Logs.
*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) of an IAM role with permission to write to * your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio * encryption is enabled, this role also provides access permission for the AWS KMS * key used for encrypting audio logs. For more information, see Creating * an IAM Role and Policy for Conversation Logs.
*/ inline ConversationLogsRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an IAM role with permission to write to * your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio * encryption is enabled, this role also provides access permission for the AWS KMS * key used for encrypting audio logs. For more information, see Creating * an IAM Role and Policy for Conversation Logs.
*/ inline ConversationLogsRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an IAM role with permission to write to * your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio * encryption is enabled, this role also provides access permission for the AWS KMS * key used for encrypting audio logs. For more information, see Creating * an IAM Role and Policy for Conversation Logs.
*/ inline ConversationLogsRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} private: Aws::Vector