/** * 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 CloudFormation { namespace Model { /** */ class DescribePublisherRequest : public CloudFormationRequest { public: AWS_CLOUDFORMATION_API DescribePublisherRequest(); // 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 "DescribePublisher"; } AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override; protected: AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The ID of the extension publisher.

If you don't supply a * PublisherId, and you have registered as an extension publisher, * DescribePublisher returns information about your own publisher * account.

*/ inline const Aws::String& GetPublisherId() const{ return m_publisherId; } /** *

The ID of the extension publisher.

If you don't supply a * PublisherId, and you have registered as an extension publisher, * DescribePublisher returns information about your own publisher * account.

*/ inline bool PublisherIdHasBeenSet() const { return m_publisherIdHasBeenSet; } /** *

The ID of the extension publisher.

If you don't supply a * PublisherId, and you have registered as an extension publisher, * DescribePublisher returns information about your own publisher * account.

*/ inline void SetPublisherId(const Aws::String& value) { m_publisherIdHasBeenSet = true; m_publisherId = value; } /** *

The ID of the extension publisher.

If you don't supply a * PublisherId, and you have registered as an extension publisher, * DescribePublisher returns information about your own publisher * account.

*/ inline void SetPublisherId(Aws::String&& value) { m_publisherIdHasBeenSet = true; m_publisherId = std::move(value); } /** *

The ID of the extension publisher.

If you don't supply a * PublisherId, and you have registered as an extension publisher, * DescribePublisher returns information about your own publisher * account.

*/ inline void SetPublisherId(const char* value) { m_publisherIdHasBeenSet = true; m_publisherId.assign(value); } /** *

The ID of the extension publisher.

If you don't supply a * PublisherId, and you have registered as an extension publisher, * DescribePublisher returns information about your own publisher * account.

*/ inline DescribePublisherRequest& WithPublisherId(const Aws::String& value) { SetPublisherId(value); return *this;} /** *

The ID of the extension publisher.

If you don't supply a * PublisherId, and you have registered as an extension publisher, * DescribePublisher returns information about your own publisher * account.

*/ inline DescribePublisherRequest& WithPublisherId(Aws::String&& value) { SetPublisherId(std::move(value)); return *this;} /** *

The ID of the extension publisher.

If you don't supply a * PublisherId, and you have registered as an extension publisher, * DescribePublisher returns information about your own publisher * account.

*/ inline DescribePublisherRequest& WithPublisherId(const char* value) { SetPublisherId(value); return *this;} private: Aws::String m_publisherId; bool m_publisherIdHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws