/** * 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 AWS_CHIME_API GetPhoneNumberSettingsResult { public: GetPhoneNumberSettingsResult(); GetPhoneNumberSettingsResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_callingName; Aws::Utils::DateTime m_callingNameUpdatedTimestamp; }; } // namespace Model } // namespace Chime } // namespace Aws