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

An address book with attributes.

See Also:

AWS * API Reference

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

The ARN of the address book.

*/ inline const Aws::String& GetAddressBookArn() const{ return m_addressBookArn; } /** *

The ARN of the address book.

*/ inline bool AddressBookArnHasBeenSet() const { return m_addressBookArnHasBeenSet; } /** *

The ARN of the address book.

*/ inline void SetAddressBookArn(const Aws::String& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = value; } /** *

The ARN of the address book.

*/ inline void SetAddressBookArn(Aws::String&& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = std::move(value); } /** *

The ARN of the address book.

*/ inline void SetAddressBookArn(const char* value) { m_addressBookArnHasBeenSet = true; m_addressBookArn.assign(value); } /** *

The ARN of the address book.

*/ inline AddressBook& WithAddressBookArn(const Aws::String& value) { SetAddressBookArn(value); return *this;} /** *

The ARN of the address book.

*/ inline AddressBook& WithAddressBookArn(Aws::String&& value) { SetAddressBookArn(std::move(value)); return *this;} /** *

The ARN of the address book.

*/ inline AddressBook& WithAddressBookArn(const char* value) { SetAddressBookArn(value); return *this;} /** *

The name of the address book.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the address book.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the address book.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the address book.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the address book.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the address book.

*/ inline AddressBook& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the address book.

*/ inline AddressBook& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the address book.

*/ inline AddressBook& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the address book.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the address book.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the address book.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the address book.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the address book.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the address book.

*/ inline AddressBook& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the address book.

*/ inline AddressBook& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the address book.

*/ inline AddressBook& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_addressBookArn; bool m_addressBookArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws