/** * 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 EventBridge { namespace Model { /** */ class DeleteArchiveRequest : public EventBridgeRequest { public: AWS_EVENTBRIDGE_API DeleteArchiveRequest(); // 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 "DeleteArchive"; } AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override; AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the archive to delete.

*/ inline const Aws::String& GetArchiveName() const{ return m_archiveName; } /** *

The name of the archive to delete.

*/ inline bool ArchiveNameHasBeenSet() const { return m_archiveNameHasBeenSet; } /** *

The name of the archive to delete.

*/ inline void SetArchiveName(const Aws::String& value) { m_archiveNameHasBeenSet = true; m_archiveName = value; } /** *

The name of the archive to delete.

*/ inline void SetArchiveName(Aws::String&& value) { m_archiveNameHasBeenSet = true; m_archiveName = std::move(value); } /** *

The name of the archive to delete.

*/ inline void SetArchiveName(const char* value) { m_archiveNameHasBeenSet = true; m_archiveName.assign(value); } /** *

The name of the archive to delete.

*/ inline DeleteArchiveRequest& WithArchiveName(const Aws::String& value) { SetArchiveName(value); return *this;} /** *

The name of the archive to delete.

*/ inline DeleteArchiveRequest& WithArchiveName(Aws::String&& value) { SetArchiveName(std::move(value)); return *this;} /** *

The name of the archive to delete.

*/ inline DeleteArchiveRequest& WithArchiveName(const char* value) { SetArchiveName(value); return *this;} private: Aws::String m_archiveName; bool m_archiveNameHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws