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

The Amazon Chime SDK Voice Connector settings. Includes any Amazon S3 buckets * designated for storing call detail records.

See Also:

AWS * API Reference

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

The S3 bucket that stores the Voice Connector's call detail records.

*/ inline const Aws::String& GetCdrBucket() const{ return m_cdrBucket; } /** *

The S3 bucket that stores the Voice Connector's call detail records.

*/ inline bool CdrBucketHasBeenSet() const { return m_cdrBucketHasBeenSet; } /** *

The S3 bucket that stores the Voice Connector's call detail records.

*/ inline void SetCdrBucket(const Aws::String& value) { m_cdrBucketHasBeenSet = true; m_cdrBucket = value; } /** *

The S3 bucket that stores the Voice Connector's call detail records.

*/ inline void SetCdrBucket(Aws::String&& value) { m_cdrBucketHasBeenSet = true; m_cdrBucket = std::move(value); } /** *

The S3 bucket that stores the Voice Connector's call detail records.

*/ inline void SetCdrBucket(const char* value) { m_cdrBucketHasBeenSet = true; m_cdrBucket.assign(value); } /** *

The S3 bucket that stores the Voice Connector's call detail records.

*/ inline VoiceConnectorSettings& WithCdrBucket(const Aws::String& value) { SetCdrBucket(value); return *this;} /** *

The S3 bucket that stores the Voice Connector's call detail records.

*/ inline VoiceConnectorSettings& WithCdrBucket(Aws::String&& value) { SetCdrBucket(std::move(value)); return *this;} /** *

The S3 bucket that stores the Voice Connector's call detail records.

*/ inline VoiceConnectorSettings& WithCdrBucket(const char* value) { SetCdrBucket(value); return *this;} private: Aws::String m_cdrBucket; bool m_cdrBucketHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws