/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace BillingConductor { namespace Model { /** *

The billing period range in which the custom line item request will be * applied.

See Also:

AWS * API Reference

*/ class CustomLineItemBillingPeriodRange { public: AWS_BILLINGCONDUCTOR_API CustomLineItemBillingPeriodRange(); AWS_BILLINGCONDUCTOR_API CustomLineItemBillingPeriodRange(Aws::Utils::Json::JsonView jsonValue); AWS_BILLINGCONDUCTOR_API CustomLineItemBillingPeriodRange& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The inclusive start billing period that defines a billing period range where * a custom line is applied.

*/ inline const Aws::String& GetInclusiveStartBillingPeriod() const{ return m_inclusiveStartBillingPeriod; } /** *

The inclusive start billing period that defines a billing period range where * a custom line is applied.

*/ inline bool InclusiveStartBillingPeriodHasBeenSet() const { return m_inclusiveStartBillingPeriodHasBeenSet; } /** *

The inclusive start billing period that defines a billing period range where * a custom line is applied.

*/ inline void SetInclusiveStartBillingPeriod(const Aws::String& value) { m_inclusiveStartBillingPeriodHasBeenSet = true; m_inclusiveStartBillingPeriod = value; } /** *

The inclusive start billing period that defines a billing period range where * a custom line is applied.

*/ inline void SetInclusiveStartBillingPeriod(Aws::String&& value) { m_inclusiveStartBillingPeriodHasBeenSet = true; m_inclusiveStartBillingPeriod = std::move(value); } /** *

The inclusive start billing period that defines a billing period range where * a custom line is applied.

*/ inline void SetInclusiveStartBillingPeriod(const char* value) { m_inclusiveStartBillingPeriodHasBeenSet = true; m_inclusiveStartBillingPeriod.assign(value); } /** *

The inclusive start billing period that defines a billing period range where * a custom line is applied.

*/ inline CustomLineItemBillingPeriodRange& WithInclusiveStartBillingPeriod(const Aws::String& value) { SetInclusiveStartBillingPeriod(value); return *this;} /** *

The inclusive start billing period that defines a billing period range where * a custom line is applied.

*/ inline CustomLineItemBillingPeriodRange& WithInclusiveStartBillingPeriod(Aws::String&& value) { SetInclusiveStartBillingPeriod(std::move(value)); return *this;} /** *

The inclusive start billing period that defines a billing period range where * a custom line is applied.

*/ inline CustomLineItemBillingPeriodRange& WithInclusiveStartBillingPeriod(const char* value) { SetInclusiveStartBillingPeriod(value); return *this;} /** *

The inclusive end billing period that defines a billing period range where a * custom line is applied.

*/ inline const Aws::String& GetExclusiveEndBillingPeriod() const{ return m_exclusiveEndBillingPeriod; } /** *

The inclusive end billing period that defines a billing period range where a * custom line is applied.

*/ inline bool ExclusiveEndBillingPeriodHasBeenSet() const { return m_exclusiveEndBillingPeriodHasBeenSet; } /** *

The inclusive end billing period that defines a billing period range where a * custom line is applied.

*/ inline void SetExclusiveEndBillingPeriod(const Aws::String& value) { m_exclusiveEndBillingPeriodHasBeenSet = true; m_exclusiveEndBillingPeriod = value; } /** *

The inclusive end billing period that defines a billing period range where a * custom line is applied.

*/ inline void SetExclusiveEndBillingPeriod(Aws::String&& value) { m_exclusiveEndBillingPeriodHasBeenSet = true; m_exclusiveEndBillingPeriod = std::move(value); } /** *

The inclusive end billing period that defines a billing period range where a * custom line is applied.

*/ inline void SetExclusiveEndBillingPeriod(const char* value) { m_exclusiveEndBillingPeriodHasBeenSet = true; m_exclusiveEndBillingPeriod.assign(value); } /** *

The inclusive end billing period that defines a billing period range where a * custom line is applied.

*/ inline CustomLineItemBillingPeriodRange& WithExclusiveEndBillingPeriod(const Aws::String& value) { SetExclusiveEndBillingPeriod(value); return *this;} /** *

The inclusive end billing period that defines a billing period range where a * custom line is applied.

*/ inline CustomLineItemBillingPeriodRange& WithExclusiveEndBillingPeriod(Aws::String&& value) { SetExclusiveEndBillingPeriod(std::move(value)); return *this;} /** *

The inclusive end billing period that defines a billing period range where a * custom line is applied.

*/ inline CustomLineItemBillingPeriodRange& WithExclusiveEndBillingPeriod(const char* value) { SetExclusiveEndBillingPeriod(value); return *this;} private: Aws::String m_inclusiveStartBillingPeriod; bool m_inclusiveStartBillingPeriodHasBeenSet = false; Aws::String m_exclusiveEndBillingPeriod; bool m_exclusiveEndBillingPeriodHasBeenSet = false; }; } // namespace Model } // namespace BillingConductor } // namespace Aws