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

The IP endpoint and protocol for calling.

See Also:

AWS * API Reference

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

The IP address.

*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *

The IP address.

*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *

The IP address.

*/ inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *

The IP address.

*/ inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *

The IP address.

*/ inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } /** *

The IP address.

*/ inline IPDialIn& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *

The IP address.

*/ inline IPDialIn& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *

The IP address.

*/ inline IPDialIn& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} /** *

The protocol, including SIP, SIPS, and H323.

*/ inline const CommsProtocol& GetCommsProtocol() const{ return m_commsProtocol; } /** *

The protocol, including SIP, SIPS, and H323.

*/ inline bool CommsProtocolHasBeenSet() const { return m_commsProtocolHasBeenSet; } /** *

The protocol, including SIP, SIPS, and H323.

*/ inline void SetCommsProtocol(const CommsProtocol& value) { m_commsProtocolHasBeenSet = true; m_commsProtocol = value; } /** *

The protocol, including SIP, SIPS, and H323.

*/ inline void SetCommsProtocol(CommsProtocol&& value) { m_commsProtocolHasBeenSet = true; m_commsProtocol = std::move(value); } /** *

The protocol, including SIP, SIPS, and H323.

*/ inline IPDialIn& WithCommsProtocol(const CommsProtocol& value) { SetCommsProtocol(value); return *this;} /** *

The protocol, including SIP, SIPS, and H323.

*/ inline IPDialIn& WithCommsProtocol(CommsProtocol&& value) { SetCommsProtocol(std::move(value)); return *this;} private: Aws::String m_endpoint; bool m_endpointHasBeenSet = false; CommsProtocol m_commsProtocol; bool m_commsProtocolHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws