/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents information about an offering promotion.See Also:
* AWS
* API Reference
The ID of the offering promotion.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the offering promotion.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the offering promotion.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the offering promotion.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the offering promotion.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the offering promotion.
*/ inline OfferingPromotion& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the offering promotion.
*/ inline OfferingPromotion& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the offering promotion.
*/ inline OfferingPromotion& WithId(const char* value) { SetId(value); return *this;} /** *A string that describes the offering promotion.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A string that describes the offering promotion.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A string that describes the offering promotion.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A string that describes the offering promotion.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A string that describes the offering promotion.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A string that describes the offering promotion.
*/ inline OfferingPromotion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A string that describes the offering promotion.
*/ inline OfferingPromotion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A string that describes the offering promotion.
*/ inline OfferingPromotion& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws