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

The configuration for connecting a messaging stream to Amazon * Kinesis.

See Also:

AWS * API Reference

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

The data type of the configuration.

*/ inline const MessagingDataType& GetDataType() const{ return m_dataType; } /** *

The data type of the configuration.

*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *

The data type of the configuration.

*/ inline void SetDataType(const MessagingDataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *

The data type of the configuration.

*/ inline void SetDataType(MessagingDataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *

The data type of the configuration.

*/ inline StreamingConfiguration& WithDataType(const MessagingDataType& value) { SetDataType(value); return *this;} /** *

The data type of the configuration.

*/ inline StreamingConfiguration& WithDataType(MessagingDataType&& value) { SetDataType(std::move(value)); return *this;} /** *

The ARN of the resource in the configuration.

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

The ARN of the resource in the configuration.

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

The ARN of the resource in the configuration.

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

The ARN of the resource in the configuration.

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

The ARN of the resource in the configuration.

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

The ARN of the resource in the configuration.

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

The ARN of the resource in the configuration.

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

The ARN of the resource in the configuration.

*/ inline StreamingConfiguration& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: MessagingDataType m_dataType; bool m_dataTypeHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws