/** * 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 Panorama { namespace Model { /** */ class DescribePackageRequest : public PanoramaRequest { public: AWS_PANORAMA_API DescribePackageRequest(); // 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 "DescribePackage"; } AWS_PANORAMA_API Aws::String SerializePayload() const override; /** *

The package's ID.

*/ inline const Aws::String& GetPackageId() const{ return m_packageId; } /** *

The package's ID.

*/ inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; } /** *

The package's ID.

*/ inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; } /** *

The package's ID.

*/ inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); } /** *

The package's ID.

*/ inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); } /** *

The package's ID.

*/ inline DescribePackageRequest& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;} /** *

The package's ID.

*/ inline DescribePackageRequest& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;} /** *

The package's ID.

*/ inline DescribePackageRequest& WithPackageId(const char* value) { SetPackageId(value); return *this;} private: Aws::String m_packageId; bool m_packageIdHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws