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

An object that describes workflow billing details.

See Also:

* AWS * API Reference

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

Billed memory consumption of your workflow, in MB.

*/ inline long long GetBilledMemoryUsedInMB() const{ return m_billedMemoryUsedInMB; } /** *

Billed memory consumption of your workflow, in MB.

*/ inline bool BilledMemoryUsedInMBHasBeenSet() const { return m_billedMemoryUsedInMBHasBeenSet; } /** *

Billed memory consumption of your workflow, in MB.

*/ inline void SetBilledMemoryUsedInMB(long long value) { m_billedMemoryUsedInMBHasBeenSet = true; m_billedMemoryUsedInMB = value; } /** *

Billed memory consumption of your workflow, in MB.

*/ inline BillingDetails& WithBilledMemoryUsedInMB(long long value) { SetBilledMemoryUsedInMB(value); return *this;} /** *

Billed duration of your workflow, in milliseconds.

*/ inline long long GetBilledDurationInMilliseconds() const{ return m_billedDurationInMilliseconds; } /** *

Billed duration of your workflow, in milliseconds.

*/ inline bool BilledDurationInMillisecondsHasBeenSet() const { return m_billedDurationInMillisecondsHasBeenSet; } /** *

Billed duration of your workflow, in milliseconds.

*/ inline void SetBilledDurationInMilliseconds(long long value) { m_billedDurationInMillisecondsHasBeenSet = true; m_billedDurationInMilliseconds = value; } /** *

Billed duration of your workflow, in milliseconds.

*/ inline BillingDetails& WithBilledDurationInMilliseconds(long long value) { SetBilledDurationInMilliseconds(value); return *this;} private: long long m_billedMemoryUsedInMB; bool m_billedMemoryUsedInMBHasBeenSet = false; long long m_billedDurationInMilliseconds; bool m_billedDurationInMillisecondsHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws