/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of the purchase offering (for example, success or
* failure).See Also:
AWS
* API Reference
Represents the offering transaction for the purchase result.
*/ inline const OfferingTransaction& GetOfferingTransaction() const{ return m_offeringTransaction; } /** *Represents the offering transaction for the purchase result.
*/ inline void SetOfferingTransaction(const OfferingTransaction& value) { m_offeringTransaction = value; } /** *Represents the offering transaction for the purchase result.
*/ inline void SetOfferingTransaction(OfferingTransaction&& value) { m_offeringTransaction = std::move(value); } /** *Represents the offering transaction for the purchase result.
*/ inline PurchaseOfferingResult& WithOfferingTransaction(const OfferingTransaction& value) { SetOfferingTransaction(value); return *this;} /** *Represents the offering transaction for the purchase result.
*/ inline PurchaseOfferingResult& WithOfferingTransaction(OfferingTransaction&& value) { SetOfferingTransaction(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline PurchaseOfferingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PurchaseOfferingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PurchaseOfferingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: OfferingTransaction m_offeringTransaction; Aws::String m_requestId; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws