/** * 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 SESV2 { namespace Model { /** */ class DeleteContactListRequest : public SESV2Request { public: AWS_SESV2_API DeleteContactListRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteContactList"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

The name of the contact list.

*/ inline const Aws::String& GetContactListName() const{ return m_contactListName; } /** *

The name of the contact list.

*/ inline bool ContactListNameHasBeenSet() const { return m_contactListNameHasBeenSet; } /** *

The name of the contact list.

*/ inline void SetContactListName(const Aws::String& value) { m_contactListNameHasBeenSet = true; m_contactListName = value; } /** *

The name of the contact list.

*/ inline void SetContactListName(Aws::String&& value) { m_contactListNameHasBeenSet = true; m_contactListName = std::move(value); } /** *

The name of the contact list.

*/ inline void SetContactListName(const char* value) { m_contactListNameHasBeenSet = true; m_contactListName.assign(value); } /** *

The name of the contact list.

*/ inline DeleteContactListRequest& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;} /** *

The name of the contact list.

*/ inline DeleteContactListRequest& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;} /** *

The name of the contact list.

*/ inline DeleteContactListRequest& WithContactListName(const char* value) { SetContactListName(value); return *this;} private: Aws::String m_contactListName; bool m_contactListNameHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws