/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that describes a location where chat logs will be stored. Each
* member represents the configuration of one log destination. For logging, you
* define only one type of destination (for CloudWatch Logs, Kinesis Firehose, or
* S3).See Also:
AWS
* API Reference
An Amazon CloudWatch Logs destination configuration where chat activity will * be logged.
*/ inline const CloudWatchLogsDestinationConfiguration& GetCloudWatchLogs() const{ return m_cloudWatchLogs; } /** *An Amazon CloudWatch Logs destination configuration where chat activity will * be logged.
*/ inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; } /** *An Amazon CloudWatch Logs destination configuration where chat activity will * be logged.
*/ inline void SetCloudWatchLogs(const CloudWatchLogsDestinationConfiguration& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; } /** *An Amazon CloudWatch Logs destination configuration where chat activity will * be logged.
*/ inline void SetCloudWatchLogs(CloudWatchLogsDestinationConfiguration&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); } /** *An Amazon CloudWatch Logs destination configuration where chat activity will * be logged.
*/ inline DestinationConfiguration& WithCloudWatchLogs(const CloudWatchLogsDestinationConfiguration& value) { SetCloudWatchLogs(value); return *this;} /** *An Amazon CloudWatch Logs destination configuration where chat activity will * be logged.
*/ inline DestinationConfiguration& WithCloudWatchLogs(CloudWatchLogsDestinationConfiguration&& value) { SetCloudWatchLogs(std::move(value)); return *this;} /** *An Amazon Kinesis Data Firehose destination configuration where chat activity * will be logged.
*/ inline const FirehoseDestinationConfiguration& GetFirehose() const{ return m_firehose; } /** *An Amazon Kinesis Data Firehose destination configuration where chat activity * will be logged.
*/ inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; } /** *An Amazon Kinesis Data Firehose destination configuration where chat activity * will be logged.
*/ inline void SetFirehose(const FirehoseDestinationConfiguration& value) { m_firehoseHasBeenSet = true; m_firehose = value; } /** *An Amazon Kinesis Data Firehose destination configuration where chat activity * will be logged.
*/ inline void SetFirehose(FirehoseDestinationConfiguration&& value) { m_firehoseHasBeenSet = true; m_firehose = std::move(value); } /** *An Amazon Kinesis Data Firehose destination configuration where chat activity * will be logged.
*/ inline DestinationConfiguration& WithFirehose(const FirehoseDestinationConfiguration& value) { SetFirehose(value); return *this;} /** *An Amazon Kinesis Data Firehose destination configuration where chat activity * will be logged.
*/ inline DestinationConfiguration& WithFirehose(FirehoseDestinationConfiguration&& value) { SetFirehose(std::move(value)); return *this;} /** *An Amazon S3 destination configuration where chat activity will be * logged.
*/ inline const S3DestinationConfiguration& GetS3() const{ return m_s3; } /** *An Amazon S3 destination configuration where chat activity will be * logged.
*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *An Amazon S3 destination configuration where chat activity will be * logged.
*/ inline void SetS3(const S3DestinationConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *An Amazon S3 destination configuration where chat activity will be * logged.
*/ inline void SetS3(S3DestinationConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *An Amazon S3 destination configuration where chat activity will be * logged.
*/ inline DestinationConfiguration& WithS3(const S3DestinationConfiguration& value) { SetS3(value); return *this;} /** *An Amazon S3 destination configuration where chat activity will be * logged.
*/ inline DestinationConfiguration& WithS3(S3DestinationConfiguration&& value) { SetS3(std::move(value)); return *this;} private: CloudWatchLogsDestinationConfiguration m_cloudWatchLogs; bool m_cloudWatchLogsHasBeenSet = false; FirehoseDestinationConfiguration m_firehose; bool m_firehoseHasBeenSet = false; S3DestinationConfiguration m_s3; bool m_s3HasBeenSet = false; }; } // namespace Model } // namespace ivschat } // namespace Aws