/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the metadata of a device offering.See Also:
AWS
* API Reference
The ID that corresponds to a device offering.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID that corresponds to a device offering.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID that corresponds to a device offering.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID that corresponds to a device offering.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID that corresponds to a device offering.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID that corresponds to a device offering.
*/ inline Offering& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID that corresponds to a device offering.
*/ inline Offering& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID that corresponds to a device offering.
*/ inline Offering& WithId(const char* value) { SetId(value); return *this;} /** *A string that describes the offering.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A string that describes the offering.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A string that describes the offering.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A string that describes the offering.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A string that describes the offering.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A string that describes the offering.
*/ inline Offering& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A string that describes the offering.
*/ inline Offering& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A string that describes the offering.
*/ inline Offering& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The type of offering (for example, RECURRING
) for a device.
The type of offering (for example, RECURRING
) for a device.
The type of offering (for example, RECURRING
) for a device.
The type of offering (for example, RECURRING
) for a device.
The type of offering (for example, RECURRING
) for a device.
The type of offering (for example, RECURRING
) for a device.
The platform of the device (for example, ANDROID
or
* IOS
).
The platform of the device (for example, ANDROID
or
* IOS
).
The platform of the device (for example, ANDROID
or
* IOS
).
The platform of the device (for example, ANDROID
or
* IOS
).
The platform of the device (for example, ANDROID
or
* IOS
).
The platform of the device (for example, ANDROID
or
* IOS
).
Specifies whether there are recurring charges for the offering.
*/ inline const Aws::VectorSpecifies whether there are recurring charges for the offering.
*/ inline bool RecurringChargesHasBeenSet() const { return m_recurringChargesHasBeenSet; } /** *Specifies whether there are recurring charges for the offering.
*/ inline void SetRecurringCharges(const Aws::VectorSpecifies whether there are recurring charges for the offering.
*/ inline void SetRecurringCharges(Aws::VectorSpecifies whether there are recurring charges for the offering.
*/ inline Offering& WithRecurringCharges(const Aws::VectorSpecifies whether there are recurring charges for the offering.
*/ inline Offering& WithRecurringCharges(Aws::VectorSpecifies whether there are recurring charges for the offering.
*/ inline Offering& AddRecurringCharges(const RecurringCharge& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; } /** *Specifies whether there are recurring charges for the offering.
*/ inline Offering& AddRecurringCharges(RecurringCharge&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(std::move(value)); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; OfferingType m_type; bool m_typeHasBeenSet = false; DevicePlatform m_platform; bool m_platformHasBeenSet = false; Aws::Vector