/** * 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 Connect { namespace Model { /** *

The streaming configuration, such as the Amazon SNS streaming * endpoint.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon * Resource Name (ARN) of the streaming endpoint that is used to publish real-time * message streaming for chat conversations.

*/ inline const Aws::String& GetStreamingEndpointArn() const{ return m_streamingEndpointArn; } /** *

The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon * Resource Name (ARN) of the streaming endpoint that is used to publish real-time * message streaming for chat conversations.

*/ inline bool StreamingEndpointArnHasBeenSet() const { return m_streamingEndpointArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon * Resource Name (ARN) of the streaming endpoint that is used to publish real-time * message streaming for chat conversations.

*/ inline void SetStreamingEndpointArn(const Aws::String& value) { m_streamingEndpointArnHasBeenSet = true; m_streamingEndpointArn = value; } /** *

The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon * Resource Name (ARN) of the streaming endpoint that is used to publish real-time * message streaming for chat conversations.

*/ inline void SetStreamingEndpointArn(Aws::String&& value) { m_streamingEndpointArnHasBeenSet = true; m_streamingEndpointArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon * Resource Name (ARN) of the streaming endpoint that is used to publish real-time * message streaming for chat conversations.

*/ inline void SetStreamingEndpointArn(const char* value) { m_streamingEndpointArnHasBeenSet = true; m_streamingEndpointArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon * Resource Name (ARN) of the streaming endpoint that is used to publish real-time * message streaming for chat conversations.

*/ inline ChatStreamingConfiguration& WithStreamingEndpointArn(const Aws::String& value) { SetStreamingEndpointArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon * Resource Name (ARN) of the streaming endpoint that is used to publish real-time * message streaming for chat conversations.

*/ inline ChatStreamingConfiguration& WithStreamingEndpointArn(Aws::String&& value) { SetStreamingEndpointArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon * Resource Name (ARN) of the streaming endpoint that is used to publish real-time * message streaming for chat conversations.

*/ inline ChatStreamingConfiguration& WithStreamingEndpointArn(const char* value) { SetStreamingEndpointArn(value); return *this;} private: Aws::String m_streamingEndpointArn; bool m_streamingEndpointArnHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws