/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Chime { namespace Model { class GetPhoneNumberSettingsResult { public: AWS_CHIME_API GetPhoneNumberSettingsResult(); AWS_CHIME_API GetPhoneNumberSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_CHIME_API GetPhoneNumberSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The default outbound calling name for the account.

*/ inline const Aws::String& GetCallingName() const{ return m_callingName; } /** *

The default outbound calling name for the account.

*/ inline void SetCallingName(const Aws::String& value) { m_callingName = value; } /** *

The default outbound calling name for the account.

*/ inline void SetCallingName(Aws::String&& value) { m_callingName = std::move(value); } /** *

The default outbound calling name for the account.

*/ inline void SetCallingName(const char* value) { m_callingName.assign(value); } /** *

The default outbound calling name for the account.

*/ inline GetPhoneNumberSettingsResult& WithCallingName(const Aws::String& value) { SetCallingName(value); return *this;} /** *

The default outbound calling name for the account.

*/ inline GetPhoneNumberSettingsResult& WithCallingName(Aws::String&& value) { SetCallingName(std::move(value)); return *this;} /** *

The default outbound calling name for the account.

*/ inline GetPhoneNumberSettingsResult& WithCallingName(const char* value) { SetCallingName(value); return *this;} /** *

The updated outbound calling name timestamp, in ISO 8601 format.

*/ inline const Aws::Utils::DateTime& GetCallingNameUpdatedTimestamp() const{ return m_callingNameUpdatedTimestamp; } /** *

The updated outbound calling name timestamp, in ISO 8601 format.

*/ inline void SetCallingNameUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_callingNameUpdatedTimestamp = value; } /** *

The updated outbound calling name timestamp, in ISO 8601 format.

*/ inline void SetCallingNameUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_callingNameUpdatedTimestamp = std::move(value); } /** *

The updated outbound calling name timestamp, in ISO 8601 format.

*/ inline GetPhoneNumberSettingsResult& WithCallingNameUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetCallingNameUpdatedTimestamp(value); return *this;} /** *

The updated outbound calling name timestamp, in ISO 8601 format.

*/ inline GetPhoneNumberSettingsResult& WithCallingNameUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetCallingNameUpdatedTimestamp(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetPhoneNumberSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetPhoneNumberSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetPhoneNumberSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_callingName; Aws::Utils::DateTime m_callingNameUpdatedTimestamp; Aws::String m_requestId; }; } // namespace Model } // namespace Chime } // namespace Aws