/** * 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 outbound caller ID name, number, and outbound whisper flow.

See * Also:

AWS * API Reference

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

The caller ID name.

*/ inline const Aws::String& GetOutboundCallerIdName() const{ return m_outboundCallerIdName; } /** *

The caller ID name.

*/ inline bool OutboundCallerIdNameHasBeenSet() const { return m_outboundCallerIdNameHasBeenSet; } /** *

The caller ID name.

*/ inline void SetOutboundCallerIdName(const Aws::String& value) { m_outboundCallerIdNameHasBeenSet = true; m_outboundCallerIdName = value; } /** *

The caller ID name.

*/ inline void SetOutboundCallerIdName(Aws::String&& value) { m_outboundCallerIdNameHasBeenSet = true; m_outboundCallerIdName = std::move(value); } /** *

The caller ID name.

*/ inline void SetOutboundCallerIdName(const char* value) { m_outboundCallerIdNameHasBeenSet = true; m_outboundCallerIdName.assign(value); } /** *

The caller ID name.

*/ inline OutboundCallerConfig& WithOutboundCallerIdName(const Aws::String& value) { SetOutboundCallerIdName(value); return *this;} /** *

The caller ID name.

*/ inline OutboundCallerConfig& WithOutboundCallerIdName(Aws::String&& value) { SetOutboundCallerIdName(std::move(value)); return *this;} /** *

The caller ID name.

*/ inline OutboundCallerConfig& WithOutboundCallerIdName(const char* value) { SetOutboundCallerIdName(value); return *this;} /** *

The caller ID number.

*/ inline const Aws::String& GetOutboundCallerIdNumberId() const{ return m_outboundCallerIdNumberId; } /** *

The caller ID number.

*/ inline bool OutboundCallerIdNumberIdHasBeenSet() const { return m_outboundCallerIdNumberIdHasBeenSet; } /** *

The caller ID number.

*/ inline void SetOutboundCallerIdNumberId(const Aws::String& value) { m_outboundCallerIdNumberIdHasBeenSet = true; m_outboundCallerIdNumberId = value; } /** *

The caller ID number.

*/ inline void SetOutboundCallerIdNumberId(Aws::String&& value) { m_outboundCallerIdNumberIdHasBeenSet = true; m_outboundCallerIdNumberId = std::move(value); } /** *

The caller ID number.

*/ inline void SetOutboundCallerIdNumberId(const char* value) { m_outboundCallerIdNumberIdHasBeenSet = true; m_outboundCallerIdNumberId.assign(value); } /** *

The caller ID number.

*/ inline OutboundCallerConfig& WithOutboundCallerIdNumberId(const Aws::String& value) { SetOutboundCallerIdNumberId(value); return *this;} /** *

The caller ID number.

*/ inline OutboundCallerConfig& WithOutboundCallerIdNumberId(Aws::String&& value) { SetOutboundCallerIdNumberId(std::move(value)); return *this;} /** *

The caller ID number.

*/ inline OutboundCallerConfig& WithOutboundCallerIdNumberId(const char* value) { SetOutboundCallerIdNumberId(value); return *this;} /** *

The outbound whisper flow to be used during an outbound call.

*/ inline const Aws::String& GetOutboundFlowId() const{ return m_outboundFlowId; } /** *

The outbound whisper flow to be used during an outbound call.

*/ inline bool OutboundFlowIdHasBeenSet() const { return m_outboundFlowIdHasBeenSet; } /** *

The outbound whisper flow to be used during an outbound call.

*/ inline void SetOutboundFlowId(const Aws::String& value) { m_outboundFlowIdHasBeenSet = true; m_outboundFlowId = value; } /** *

The outbound whisper flow to be used during an outbound call.

*/ inline void SetOutboundFlowId(Aws::String&& value) { m_outboundFlowIdHasBeenSet = true; m_outboundFlowId = std::move(value); } /** *

The outbound whisper flow to be used during an outbound call.

*/ inline void SetOutboundFlowId(const char* value) { m_outboundFlowIdHasBeenSet = true; m_outboundFlowId.assign(value); } /** *

The outbound whisper flow to be used during an outbound call.

*/ inline OutboundCallerConfig& WithOutboundFlowId(const Aws::String& value) { SetOutboundFlowId(value); return *this;} /** *

The outbound whisper flow to be used during an outbound call.

*/ inline OutboundCallerConfig& WithOutboundFlowId(Aws::String&& value) { SetOutboundFlowId(std::move(value)); return *this;} /** *

The outbound whisper flow to be used during an outbound call.

*/ inline OutboundCallerConfig& WithOutboundFlowId(const char* value) { SetOutboundFlowId(value); return *this;} private: Aws::String m_outboundCallerIdName; bool m_outboundCallerIdNameHasBeenSet = false; Aws::String m_outboundCallerIdNumberId; bool m_outboundCallerIdNumberIdHasBeenSet = false; Aws::String m_outboundFlowId; bool m_outboundFlowIdHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws