/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace BillingConductor { namespace Model { class UpdateCustomLineItemResult { public: AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult(); AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult(const Aws::AmazonWebServiceResult& result); AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the successfully updated custom line item.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the successfully updated custom line item.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The ARN of the successfully updated custom line item.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The ARN of the successfully updated custom line item.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ARN of the billing group that the custom line item is applied to.

*/ inline const Aws::String& GetBillingGroupArn() const{ return m_billingGroupArn; } /** *

The ARN of the billing group that the custom line item is applied to.

*/ inline void SetBillingGroupArn(const Aws::String& value) { m_billingGroupArn = value; } /** *

The ARN of the billing group that the custom line item is applied to.

*/ inline void SetBillingGroupArn(Aws::String&& value) { m_billingGroupArn = std::move(value); } /** *

The ARN of the billing group that the custom line item is applied to.

*/ inline void SetBillingGroupArn(const char* value) { m_billingGroupArn.assign(value); } /** *

The ARN of the billing group that the custom line item is applied to.

*/ inline UpdateCustomLineItemResult& WithBillingGroupArn(const Aws::String& value) { SetBillingGroupArn(value); return *this;} /** *

The ARN of the billing group that the custom line item is applied to.

*/ inline UpdateCustomLineItemResult& WithBillingGroupArn(Aws::String&& value) { SetBillingGroupArn(std::move(value)); return *this;} /** *

The ARN of the billing group that the custom line item is applied to.

*/ inline UpdateCustomLineItemResult& WithBillingGroupArn(const char* value) { SetBillingGroupArn(value); return *this;} /** *

The name of the successfully updated custom line item.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the successfully updated custom line item.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the successfully updated custom line item.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the successfully updated custom line item.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the successfully updated custom line item.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the successfully updated custom line item.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the successfully updated custom line item.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The description of the successfully updated custom line item.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A ListCustomLineItemChargeDetails containing the charge details * of the successfully updated custom line item.

*/ inline const ListCustomLineItemChargeDetails& GetChargeDetails() const{ return m_chargeDetails; } /** *

A ListCustomLineItemChargeDetails containing the charge details * of the successfully updated custom line item.

*/ inline void SetChargeDetails(const ListCustomLineItemChargeDetails& value) { m_chargeDetails = value; } /** *

A ListCustomLineItemChargeDetails containing the charge details * of the successfully updated custom line item.

*/ inline void SetChargeDetails(ListCustomLineItemChargeDetails&& value) { m_chargeDetails = std::move(value); } /** *

A ListCustomLineItemChargeDetails containing the charge details * of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithChargeDetails(const ListCustomLineItemChargeDetails& value) { SetChargeDetails(value); return *this;} /** *

A ListCustomLineItemChargeDetails containing the charge details * of the successfully updated custom line item.

*/ inline UpdateCustomLineItemResult& WithChargeDetails(ListCustomLineItemChargeDetails&& value) { SetChargeDetails(std::move(value)); return *this;} /** *

The most recent time when the custom line item was modified.

*/ inline long long GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The most recent time when the custom line item was modified.

*/ inline void SetLastModifiedTime(long long value) { m_lastModifiedTime = value; } /** *

The most recent time when the custom line item was modified.

*/ inline UpdateCustomLineItemResult& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;} /** *

The number of resources that are associated to the custom line item.

*/ inline long long GetAssociationSize() const{ return m_associationSize; } /** *

The number of resources that are associated to the custom line item.

*/ inline void SetAssociationSize(long long value) { m_associationSize = value; } /** *

The number of resources that are associated to the custom line item.

*/ inline UpdateCustomLineItemResult& WithAssociationSize(long long value) { SetAssociationSize(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 UpdateCustomLineItemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateCustomLineItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateCustomLineItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_billingGroupArn; Aws::String m_name; Aws::String m_description; ListCustomLineItemChargeDetails m_chargeDetails; long long m_lastModifiedTime; long long m_associationSize; Aws::String m_requestId; }; } // namespace Model } // namespace BillingConductor } // namespace Aws