/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pricing { namespace Model { /** *

This feature is in preview release and is subject to change. Your use * of Amazon Web Services Price List API is subject to the Beta Service * Participation terms of the Amazon Web Services Service * Terms (Section 1.10).

This is the type of price list * references that match your request.

See Also:

AWS * API Reference

*/ class PriceList { public: AWS_PRICING_API PriceList(); AWS_PRICING_API PriceList(Aws::Utils::Json::JsonView jsonValue); AWS_PRICING_API PriceList& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PRICING_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier that maps to where your Price List files are located. * PriceListArn can be obtained from the * ListPriceList 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 * ListPriceList 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 * ListPriceList 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 * ListPriceList 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 * ListPriceList 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 * ListPriceList response.

*/ inline PriceList& 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 * ListPriceList response.

*/ inline PriceList& 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 * ListPriceList response.

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

This is used to filter the Price List by Amazon Web Services Region. For * example, to get the price list only for the US East (N. Virginia) * Region, use us-east-1. If nothing is specified, you retrieve price * lists for all applicable Regions. The available RegionCode list can * be retrieved from * GetAttributeValues API.

*/ inline const Aws::String& GetRegionCode() const{ return m_regionCode; } /** *

This is used to filter the Price List by Amazon Web Services Region. For * example, to get the price list only for the US East (N. Virginia) * Region, use us-east-1. If nothing is specified, you retrieve price * lists for all applicable Regions. The available RegionCode list can * be retrieved from * GetAttributeValues API.

*/ inline bool RegionCodeHasBeenSet() const { return m_regionCodeHasBeenSet; } /** *

This is used to filter the Price List by Amazon Web Services Region. For * example, to get the price list only for the US East (N. Virginia) * Region, use us-east-1. If nothing is specified, you retrieve price * lists for all applicable Regions. The available RegionCode list can * be retrieved from * GetAttributeValues API.

*/ inline void SetRegionCode(const Aws::String& value) { m_regionCodeHasBeenSet = true; m_regionCode = value; } /** *

This is used to filter the Price List by Amazon Web Services Region. For * example, to get the price list only for the US East (N. Virginia) * Region, use us-east-1. If nothing is specified, you retrieve price * lists for all applicable Regions. The available RegionCode list can * be retrieved from * GetAttributeValues API.

*/ inline void SetRegionCode(Aws::String&& value) { m_regionCodeHasBeenSet = true; m_regionCode = std::move(value); } /** *

This is used to filter the Price List by Amazon Web Services Region. For * example, to get the price list only for the US East (N. Virginia) * Region, use us-east-1. If nothing is specified, you retrieve price * lists for all applicable Regions. The available RegionCode list can * be retrieved from * GetAttributeValues API.

*/ inline void SetRegionCode(const char* value) { m_regionCodeHasBeenSet = true; m_regionCode.assign(value); } /** *

This is used to filter the Price List by Amazon Web Services Region. For * example, to get the price list only for the US East (N. Virginia) * Region, use us-east-1. If nothing is specified, you retrieve price * lists for all applicable Regions. The available RegionCode list can * be retrieved from * GetAttributeValues API.

*/ inline PriceList& WithRegionCode(const Aws::String& value) { SetRegionCode(value); return *this;} /** *

This is used to filter the Price List by Amazon Web Services Region. For * example, to get the price list only for the US East (N. Virginia) * Region, use us-east-1. If nothing is specified, you retrieve price * lists for all applicable Regions. The available RegionCode list can * be retrieved from * GetAttributeValues API.

*/ inline PriceList& WithRegionCode(Aws::String&& value) { SetRegionCode(std::move(value)); return *this;} /** *

This is used to filter the Price List by Amazon Web Services Region. For * example, to get the price list only for the US East (N. Virginia) * Region, use us-east-1. If nothing is specified, you retrieve price * lists for all applicable Regions. The available RegionCode list can * be retrieved from * GetAttributeValues API.

*/ inline PriceList& WithRegionCode(const char* value) { SetRegionCode(value); return *this;} /** *

The three alphabetical character ISO-4217 currency code the Price List files * are denominated in.

*/ inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; } /** *

The three alphabetical character ISO-4217 currency code the Price List files * are denominated in.

*/ inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; } /** *

The three alphabetical character ISO-4217 currency code the Price List files * are denominated in.

*/ inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; } /** *

The three alphabetical character ISO-4217 currency code the Price List files * are denominated in.

*/ inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); } /** *

The three alphabetical character ISO-4217 currency code the Price List files * are denominated in.

*/ inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); } /** *

The three alphabetical character ISO-4217 currency code the Price List files * are denominated in.

*/ inline PriceList& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;} /** *

The three alphabetical character ISO-4217 currency code the Price List files * are denominated in.

*/ inline PriceList& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;} /** *

The three alphabetical character ISO-4217 currency code the Price List files * are denominated in.

*/ inline PriceList& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;} /** *

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

*/ inline const Aws::Vector& GetFileFormats() const{ return m_fileFormats; } /** *

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

*/ inline bool FileFormatsHasBeenSet() const { return m_fileFormatsHasBeenSet; } /** *

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

*/ inline void SetFileFormats(const Aws::Vector& value) { m_fileFormatsHasBeenSet = true; m_fileFormats = value; } /** *

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

*/ inline void SetFileFormats(Aws::Vector&& value) { m_fileFormatsHasBeenSet = true; m_fileFormats = std::move(value); } /** *

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

*/ inline PriceList& WithFileFormats(const Aws::Vector& value) { SetFileFormats(value); return *this;} /** *

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

*/ inline PriceList& WithFileFormats(Aws::Vector&& value) { SetFileFormats(std::move(value)); return *this;} /** *

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

*/ inline PriceList& AddFileFormats(const Aws::String& value) { m_fileFormatsHasBeenSet = true; m_fileFormats.push_back(value); return *this; } /** *

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

*/ inline PriceList& AddFileFormats(Aws::String&& value) { m_fileFormatsHasBeenSet = true; m_fileFormats.push_back(std::move(value)); return *this; } /** *

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

*/ inline PriceList& AddFileFormats(const char* value) { m_fileFormatsHasBeenSet = true; m_fileFormats.push_back(value); return *this; } private: Aws::String m_priceListArn; bool m_priceListArnHasBeenSet = false; Aws::String m_regionCode; bool m_regionCodeHasBeenSet = false; Aws::String m_currencyCode; bool m_currencyCodeHasBeenSet = false; Aws::Vector m_fileFormats; bool m_fileFormatsHasBeenSet = false; }; } // namespace Model } // namespace Pricing } // namespace Aws