182 lines
7.7 KiB
C++
182 lines
7.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/securityhub/SecurityHub_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SecurityHub
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Provides information about the billing for read/write capacity on the
|
|
* table.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsDynamoDbTableBillingModeSummary">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SECURITYHUB_API AwsDynamoDbTableBillingModeSummary
|
|
{
|
|
public:
|
|
AwsDynamoDbTableBillingModeSummary();
|
|
AwsDynamoDbTableBillingModeSummary(Aws::Utils::Json::JsonView jsonValue);
|
|
AwsDynamoDbTableBillingModeSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The method used to charge for read and write throughput and to manage
|
|
* capacity.</p>
|
|
*/
|
|
inline const Aws::String& GetBillingMode() const{ return m_billingMode; }
|
|
|
|
/**
|
|
* <p>The method used to charge for read and write throughput and to manage
|
|
* capacity.</p>
|
|
*/
|
|
inline bool BillingModeHasBeenSet() const { return m_billingModeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The method used to charge for read and write throughput and to manage
|
|
* capacity.</p>
|
|
*/
|
|
inline void SetBillingMode(const Aws::String& value) { m_billingModeHasBeenSet = true; m_billingMode = value; }
|
|
|
|
/**
|
|
* <p>The method used to charge for read and write throughput and to manage
|
|
* capacity.</p>
|
|
*/
|
|
inline void SetBillingMode(Aws::String&& value) { m_billingModeHasBeenSet = true; m_billingMode = std::move(value); }
|
|
|
|
/**
|
|
* <p>The method used to charge for read and write throughput and to manage
|
|
* capacity.</p>
|
|
*/
|
|
inline void SetBillingMode(const char* value) { m_billingModeHasBeenSet = true; m_billingMode.assign(value); }
|
|
|
|
/**
|
|
* <p>The method used to charge for read and write throughput and to manage
|
|
* capacity.</p>
|
|
*/
|
|
inline AwsDynamoDbTableBillingModeSummary& WithBillingMode(const Aws::String& value) { SetBillingMode(value); return *this;}
|
|
|
|
/**
|
|
* <p>The method used to charge for read and write throughput and to manage
|
|
* capacity.</p>
|
|
*/
|
|
inline AwsDynamoDbTableBillingModeSummary& WithBillingMode(Aws::String&& value) { SetBillingMode(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The method used to charge for read and write throughput and to manage
|
|
* capacity.</p>
|
|
*/
|
|
inline AwsDynamoDbTableBillingModeSummary& WithBillingMode(const char* value) { SetBillingMode(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>If the billing mode is <code>PAY_PER_REQUEST</code>, indicates when the
|
|
* billing mode was set to that value.</p> <p>Uses the <code>date-time</code>
|
|
* format specified in <a
|
|
* href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6,
|
|
* Internet Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
*/
|
|
inline const Aws::String& GetLastUpdateToPayPerRequestDateTime() const{ return m_lastUpdateToPayPerRequestDateTime; }
|
|
|
|
/**
|
|
* <p>If the billing mode is <code>PAY_PER_REQUEST</code>, indicates when the
|
|
* billing mode was set to that value.</p> <p>Uses the <code>date-time</code>
|
|
* format specified in <a
|
|
* href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6,
|
|
* Internet Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
*/
|
|
inline bool LastUpdateToPayPerRequestDateTimeHasBeenSet() const { return m_lastUpdateToPayPerRequestDateTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>If the billing mode is <code>PAY_PER_REQUEST</code>, indicates when the
|
|
* billing mode was set to that value.</p> <p>Uses the <code>date-time</code>
|
|
* format specified in <a
|
|
* href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6,
|
|
* Internet Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
*/
|
|
inline void SetLastUpdateToPayPerRequestDateTime(const Aws::String& value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime = value; }
|
|
|
|
/**
|
|
* <p>If the billing mode is <code>PAY_PER_REQUEST</code>, indicates when the
|
|
* billing mode was set to that value.</p> <p>Uses the <code>date-time</code>
|
|
* format specified in <a
|
|
* href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6,
|
|
* Internet Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
*/
|
|
inline void SetLastUpdateToPayPerRequestDateTime(Aws::String&& value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>If the billing mode is <code>PAY_PER_REQUEST</code>, indicates when the
|
|
* billing mode was set to that value.</p> <p>Uses the <code>date-time</code>
|
|
* format specified in <a
|
|
* href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6,
|
|
* Internet Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
*/
|
|
inline void SetLastUpdateToPayPerRequestDateTime(const char* value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime.assign(value); }
|
|
|
|
/**
|
|
* <p>If the billing mode is <code>PAY_PER_REQUEST</code>, indicates when the
|
|
* billing mode was set to that value.</p> <p>Uses the <code>date-time</code>
|
|
* format specified in <a
|
|
* href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6,
|
|
* Internet Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
*/
|
|
inline AwsDynamoDbTableBillingModeSummary& WithLastUpdateToPayPerRequestDateTime(const Aws::String& value) { SetLastUpdateToPayPerRequestDateTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>If the billing mode is <code>PAY_PER_REQUEST</code>, indicates when the
|
|
* billing mode was set to that value.</p> <p>Uses the <code>date-time</code>
|
|
* format specified in <a
|
|
* href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6,
|
|
* Internet Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
*/
|
|
inline AwsDynamoDbTableBillingModeSummary& WithLastUpdateToPayPerRequestDateTime(Aws::String&& value) { SetLastUpdateToPayPerRequestDateTime(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>If the billing mode is <code>PAY_PER_REQUEST</code>, indicates when the
|
|
* billing mode was set to that value.</p> <p>Uses the <code>date-time</code>
|
|
* format specified in <a
|
|
* href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6,
|
|
* Internet Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
*/
|
|
inline AwsDynamoDbTableBillingModeSummary& WithLastUpdateToPayPerRequestDateTime(const char* value) { SetLastUpdateToPayPerRequestDateTime(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_billingMode;
|
|
bool m_billingModeHasBeenSet;
|
|
|
|
Aws::String m_lastUpdateToPayPerRequestDateTime;
|
|
bool m_lastUpdateToPayPerRequestDateTimeHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SecurityHub
|
|
} // namespace Aws
|