/** * 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 SIP address for the contact containing the URI and SIP address * type.

See Also:

AWS * API Reference

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

The URI for the SIP address.

*/ inline const Aws::String& GetUri() const{ return m_uri; } /** *

The URI for the SIP address.

*/ inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } /** *

The URI for the SIP address.

*/ inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } /** *

The URI for the SIP address.

*/ inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } /** *

The URI for the SIP address.

*/ inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } /** *

The URI for the SIP address.

*/ inline SipAddress& WithUri(const Aws::String& value) { SetUri(value); return *this;} /** *

The URI for the SIP address.

*/ inline SipAddress& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} /** *

The URI for the SIP address.

*/ inline SipAddress& WithUri(const char* value) { SetUri(value); return *this;} /** *

The type of the SIP address.

*/ inline const SipType& GetType() const{ return m_type; } /** *

The type of the SIP address.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of the SIP address.

*/ inline void SetType(const SipType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of the SIP address.

*/ inline void SetType(SipType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of the SIP address.

*/ inline SipAddress& WithType(const SipType& value) { SetType(value); return *this;} /** *

The type of the SIP address.

*/ inline SipAddress& WithType(SipType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_uri; bool m_uriHasBeenSet = false; SipType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws