/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information for one billing record.See Also:
AWS
* API Reference
The name of the domain that the billing record applies to. If the domain name * contains characters other than a-z, 0-9, and - (hyphen), such as an * internationalized domain name, then this value is in Punycode. For more * information, see DNS * Domain Name Format in the Amazon Route 53 Developer Guide.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of the domain that the billing record applies to. If the domain name * contains characters other than a-z, 0-9, and - (hyphen), such as an * internationalized domain name, then this value is in Punycode. For more * information, see DNS * Domain Name Format in the Amazon Route 53 Developer Guide.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The name of the domain that the billing record applies to. If the domain name * contains characters other than a-z, 0-9, and - (hyphen), such as an * internationalized domain name, then this value is in Punycode. For more * information, see DNS * Domain Name Format in the Amazon Route 53 Developer Guide.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The name of the domain that the billing record applies to. If the domain name * contains characters other than a-z, 0-9, and - (hyphen), such as an * internationalized domain name, then this value is in Punycode. For more * information, see DNS * Domain Name Format in the Amazon Route 53 Developer Guide.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The name of the domain that the billing record applies to. If the domain name * contains characters other than a-z, 0-9, and - (hyphen), such as an * internationalized domain name, then this value is in Punycode. For more * information, see DNS * Domain Name Format in the Amazon Route 53 Developer Guide.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The name of the domain that the billing record applies to. If the domain name * contains characters other than a-z, 0-9, and - (hyphen), such as an * internationalized domain name, then this value is in Punycode. For more * information, see DNS * Domain Name Format in the Amazon Route 53 Developer Guide.
*/ inline BillingRecord& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the domain that the billing record applies to. If the domain name * contains characters other than a-z, 0-9, and - (hyphen), such as an * internationalized domain name, then this value is in Punycode. For more * information, see DNS * Domain Name Format in the Amazon Route 53 Developer Guide.
*/ inline BillingRecord& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the domain that the billing record applies to. If the domain name * contains characters other than a-z, 0-9, and - (hyphen), such as an * internationalized domain name, then this value is in Punycode. For more * information, see DNS * Domain Name Format in the Amazon Route 53 Developer Guide.
*/ inline BillingRecord& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The operation that you were charged for.
*/ inline const OperationType& GetOperation() const{ return m_operation; } /** *The operation that you were charged for.
*/ inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; } /** *The operation that you were charged for.
*/ inline void SetOperation(const OperationType& value) { m_operationHasBeenSet = true; m_operation = value; } /** *The operation that you were charged for.
*/ inline void SetOperation(OperationType&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); } /** *The operation that you were charged for.
*/ inline BillingRecord& WithOperation(const OperationType& value) { SetOperation(value); return *this;} /** *The operation that you were charged for.
*/ inline BillingRecord& WithOperation(OperationType&& value) { SetOperation(std::move(value)); return *this;} /** *The ID of the invoice that is associated with the billing record.
*/ inline const Aws::String& GetInvoiceId() const{ return m_invoiceId; } /** *The ID of the invoice that is associated with the billing record.
*/ inline bool InvoiceIdHasBeenSet() const { return m_invoiceIdHasBeenSet; } /** *The ID of the invoice that is associated with the billing record.
*/ inline void SetInvoiceId(const Aws::String& value) { m_invoiceIdHasBeenSet = true; m_invoiceId = value; } /** *The ID of the invoice that is associated with the billing record.
*/ inline void SetInvoiceId(Aws::String&& value) { m_invoiceIdHasBeenSet = true; m_invoiceId = std::move(value); } /** *The ID of the invoice that is associated with the billing record.
*/ inline void SetInvoiceId(const char* value) { m_invoiceIdHasBeenSet = true; m_invoiceId.assign(value); } /** *The ID of the invoice that is associated with the billing record.
*/ inline BillingRecord& WithInvoiceId(const Aws::String& value) { SetInvoiceId(value); return *this;} /** *The ID of the invoice that is associated with the billing record.
*/ inline BillingRecord& WithInvoiceId(Aws::String&& value) { SetInvoiceId(std::move(value)); return *this;} /** *The ID of the invoice that is associated with the billing record.
*/ inline BillingRecord& WithInvoiceId(const char* value) { SetInvoiceId(value); return *this;} /** *The date that the operation was billed, in Unix format.
*/ inline const Aws::Utils::DateTime& GetBillDate() const{ return m_billDate; } /** *The date that the operation was billed, in Unix format.
*/ inline bool BillDateHasBeenSet() const { return m_billDateHasBeenSet; } /** *The date that the operation was billed, in Unix format.
*/ inline void SetBillDate(const Aws::Utils::DateTime& value) { m_billDateHasBeenSet = true; m_billDate = value; } /** *The date that the operation was billed, in Unix format.
*/ inline void SetBillDate(Aws::Utils::DateTime&& value) { m_billDateHasBeenSet = true; m_billDate = std::move(value); } /** *The date that the operation was billed, in Unix format.
*/ inline BillingRecord& WithBillDate(const Aws::Utils::DateTime& value) { SetBillDate(value); return *this;} /** *The date that the operation was billed, in Unix format.
*/ inline BillingRecord& WithBillDate(Aws::Utils::DateTime&& value) { SetBillDate(std::move(value)); return *this;} /** *The price that you were charged for the operation, in US dollars.
*Example value: 12.0
*/ inline double GetPrice() const{ return m_price; } /** *The price that you were charged for the operation, in US dollars.
*Example value: 12.0
*/ inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; } /** *The price that you were charged for the operation, in US dollars.
*Example value: 12.0
*/ inline void SetPrice(double value) { m_priceHasBeenSet = true; m_price = value; } /** *The price that you were charged for the operation, in US dollars.
*Example value: 12.0
*/ inline BillingRecord& WithPrice(double value) { SetPrice(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; OperationType m_operation; bool m_operationHasBeenSet = false; Aws::String m_invoiceId; bool m_invoiceIdHasBeenSet = false; Aws::Utils::DateTime m_billDate; bool m_billDateHasBeenSet = false; double m_price; bool m_priceHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws