/** * 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 SecurityHub { namespace Model { /** *

Provides information about the billing for read/write capacity on the * table.

See Also:

AWS * API Reference

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

The method used to charge for read and write throughput and to manage * capacity.

*/ inline const Aws::String& GetBillingMode() const{ return m_billingMode; } /** *

The method used to charge for read and write throughput and to manage * capacity.

*/ inline bool BillingModeHasBeenSet() const { return m_billingModeHasBeenSet; } /** *

The method used to charge for read and write throughput and to manage * capacity.

*/ inline void SetBillingMode(const Aws::String& value) { m_billingModeHasBeenSet = true; m_billingMode = value; } /** *

The method used to charge for read and write throughput and to manage * capacity.

*/ inline void SetBillingMode(Aws::String&& value) { m_billingModeHasBeenSet = true; m_billingMode = std::move(value); } /** *

The method used to charge for read and write throughput and to manage * capacity.

*/ inline void SetBillingMode(const char* value) { m_billingModeHasBeenSet = true; m_billingMode.assign(value); } /** *

The method used to charge for read and write throughput and to manage * capacity.

*/ inline AwsDynamoDbTableBillingModeSummary& WithBillingMode(const Aws::String& value) { SetBillingMode(value); return *this;} /** *

The method used to charge for read and write throughput and to manage * capacity.

*/ inline AwsDynamoDbTableBillingModeSummary& WithBillingMode(Aws::String&& value) { SetBillingMode(std::move(value)); return *this;} /** *

The method used to charge for read and write throughput and to manage * capacity.

*/ inline AwsDynamoDbTableBillingModeSummary& WithBillingMode(const char* value) { SetBillingMode(value); return *this;} /** *

If the billing mode is PAY_PER_REQUEST, indicates when the * billing mode was set to that value.

Uses the date-time * format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline const Aws::String& GetLastUpdateToPayPerRequestDateTime() const{ return m_lastUpdateToPayPerRequestDateTime; } /** *

If the billing mode is PAY_PER_REQUEST, indicates when the * billing mode was set to that value.

Uses the date-time * format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline bool LastUpdateToPayPerRequestDateTimeHasBeenSet() const { return m_lastUpdateToPayPerRequestDateTimeHasBeenSet; } /** *

If the billing mode is PAY_PER_REQUEST, indicates when the * billing mode was set to that value.

Uses the date-time * format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetLastUpdateToPayPerRequestDateTime(const Aws::String& value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime = value; } /** *

If the billing mode is PAY_PER_REQUEST, indicates when the * billing mode was set to that value.

Uses the date-time * format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetLastUpdateToPayPerRequestDateTime(Aws::String&& value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime = std::move(value); } /** *

If the billing mode is PAY_PER_REQUEST, indicates when the * billing mode was set to that value.

Uses the date-time * format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetLastUpdateToPayPerRequestDateTime(const char* value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime.assign(value); } /** *

If the billing mode is PAY_PER_REQUEST, indicates when the * billing mode was set to that value.

Uses the date-time * format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableBillingModeSummary& WithLastUpdateToPayPerRequestDateTime(const Aws::String& value) { SetLastUpdateToPayPerRequestDateTime(value); return *this;} /** *

If the billing mode is PAY_PER_REQUEST, indicates when the * billing mode was set to that value.

Uses the date-time * format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableBillingModeSummary& WithLastUpdateToPayPerRequestDateTime(Aws::String&& value) { SetLastUpdateToPayPerRequestDateTime(std::move(value)); return *this;} /** *

If the billing mode is PAY_PER_REQUEST, indicates when the * billing mode was set to that value.

Uses the date-time * format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableBillingModeSummary& WithLastUpdateToPayPerRequestDateTime(const char* value) { SetLastUpdateToPayPerRequestDateTime(value); return *this;} private: Aws::String m_billingMode; bool m_billingModeHasBeenSet = false; Aws::String m_lastUpdateToPayPerRequestDateTime; bool m_lastUpdateToPayPerRequestDateTimeHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws