/** * 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 Pricing { namespace Model { /** */ class GetPriceListFileUrlRequest : public PricingRequest { public: AWS_PRICING_API GetPriceListFileUrlRequest(); // 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 "GetPriceListFileUrl"; } AWS_PRICING_API Aws::String SerializePayload() const override; AWS_PRICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceLists response.

*/ inline const Aws::String& GetPriceListArn() const{ return m_priceListArn; } /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceLists response.

*/ inline bool PriceListArnHasBeenSet() const { return m_priceListArnHasBeenSet; } /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceLists response.

*/ inline void SetPriceListArn(const Aws::String& value) { m_priceListArnHasBeenSet = true; m_priceListArn = value; } /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceLists response.

*/ inline void SetPriceListArn(Aws::String&& value) { m_priceListArnHasBeenSet = true; m_priceListArn = std::move(value); } /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceLists response.

*/ inline void SetPriceListArn(const char* value) { m_priceListArnHasBeenSet = true; m_priceListArn.assign(value); } /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceLists response.

*/ inline GetPriceListFileUrlRequest& WithPriceListArn(const Aws::String& value) { SetPriceListArn(value); return *this;} /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceLists response.

*/ inline GetPriceListFileUrlRequest& WithPriceListArn(Aws::String&& value) { SetPriceListArn(std::move(value)); return *this;} /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceLists response.

*/ inline GetPriceListFileUrlRequest& WithPriceListArn(const char* value) { SetPriceListArn(value); return *this;} /** *

The format that you want to retrieve your Price List files in. The * FileFormat can be obtained from the * ListPriceLists response.

*/ inline const Aws::String& GetFileFormat() const{ return m_fileFormat; } /** *

The format that you want to retrieve your Price List files in. The * FileFormat can be obtained from the * ListPriceLists response.

*/ inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; } /** *

The format that you want to retrieve your Price List files in. The * FileFormat can be obtained from the * ListPriceLists response.

*/ inline void SetFileFormat(const Aws::String& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; } /** *

The format that you want to retrieve your Price List files in. The * FileFormat can be obtained from the * ListPriceLists response.

*/ inline void SetFileFormat(Aws::String&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); } /** *

The format that you want to retrieve your Price List files in. The * FileFormat can be obtained from the * ListPriceLists response.

*/ inline void SetFileFormat(const char* value) { m_fileFormatHasBeenSet = true; m_fileFormat.assign(value); } /** *

The format that you want to retrieve your Price List files in. The * FileFormat can be obtained from the * ListPriceLists response.

*/ inline GetPriceListFileUrlRequest& WithFileFormat(const Aws::String& value) { SetFileFormat(value); return *this;} /** *

The format that you want to retrieve your Price List files in. The * FileFormat can be obtained from the * ListPriceLists response.

*/ inline GetPriceListFileUrlRequest& WithFileFormat(Aws::String&& value) { SetFileFormat(std::move(value)); return *this;} /** *

The format that you want to retrieve your Price List files in. The * FileFormat can be obtained from the * ListPriceLists response.

*/ inline GetPriceListFileUrlRequest& WithFileFormat(const char* value) { SetFileFormat(value); return *this;} private: Aws::String m_priceListArn; bool m_priceListArnHasBeenSet = false; Aws::String m_fileFormat; bool m_fileFormatHasBeenSet = false; }; } // namespace Model } // namespace Pricing } // namespace Aws