/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration for connecting a messaging stream to Amazon
* Kinesis.See Also:
AWS
* API Reference
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