This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-securityhub/include/aws/securityhub/model/AwsDynamoDbTableProvisionedThroughput.h

282 lines
12 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>Information about the provisioned throughput for the table or for a global
* secondary index.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsDynamoDbTableProvisionedThroughput">AWS
* API Reference</a></p>
*/
class AWS_SECURITYHUB_API AwsDynamoDbTableProvisionedThroughput
{
public:
AwsDynamoDbTableProvisionedThroughput();
AwsDynamoDbTableProvisionedThroughput(Aws::Utils::Json::JsonView jsonValue);
AwsDynamoDbTableProvisionedThroughput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Indicates when the provisioned throughput was last decreased.</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& GetLastDecreaseDateTime() const{ return m_lastDecreaseDateTime; }
/**
* <p>Indicates when the provisioned throughput was last decreased.</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 LastDecreaseDateTimeHasBeenSet() const { return m_lastDecreaseDateTimeHasBeenSet; }
/**
* <p>Indicates when the provisioned throughput was last decreased.</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 SetLastDecreaseDateTime(const Aws::String& value) { m_lastDecreaseDateTimeHasBeenSet = true; m_lastDecreaseDateTime = value; }
/**
* <p>Indicates when the provisioned throughput was last decreased.</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 SetLastDecreaseDateTime(Aws::String&& value) { m_lastDecreaseDateTimeHasBeenSet = true; m_lastDecreaseDateTime = std::move(value); }
/**
* <p>Indicates when the provisioned throughput was last decreased.</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 SetLastDecreaseDateTime(const char* value) { m_lastDecreaseDateTimeHasBeenSet = true; m_lastDecreaseDateTime.assign(value); }
/**
* <p>Indicates when the provisioned throughput was last decreased.</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 AwsDynamoDbTableProvisionedThroughput& WithLastDecreaseDateTime(const Aws::String& value) { SetLastDecreaseDateTime(value); return *this;}
/**
* <p>Indicates when the provisioned throughput was last decreased.</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 AwsDynamoDbTableProvisionedThroughput& WithLastDecreaseDateTime(Aws::String&& value) { SetLastDecreaseDateTime(std::move(value)); return *this;}
/**
* <p>Indicates when the provisioned throughput was last decreased.</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 AwsDynamoDbTableProvisionedThroughput& WithLastDecreaseDateTime(const char* value) { SetLastDecreaseDateTime(value); return *this;}
/**
* <p>Indicates when the provisioned throughput was last increased.</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& GetLastIncreaseDateTime() const{ return m_lastIncreaseDateTime; }
/**
* <p>Indicates when the provisioned throughput was last increased.</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 LastIncreaseDateTimeHasBeenSet() const { return m_lastIncreaseDateTimeHasBeenSet; }
/**
* <p>Indicates when the provisioned throughput was last increased.</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 SetLastIncreaseDateTime(const Aws::String& value) { m_lastIncreaseDateTimeHasBeenSet = true; m_lastIncreaseDateTime = value; }
/**
* <p>Indicates when the provisioned throughput was last increased.</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 SetLastIncreaseDateTime(Aws::String&& value) { m_lastIncreaseDateTimeHasBeenSet = true; m_lastIncreaseDateTime = std::move(value); }
/**
* <p>Indicates when the provisioned throughput was last increased.</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 SetLastIncreaseDateTime(const char* value) { m_lastIncreaseDateTimeHasBeenSet = true; m_lastIncreaseDateTime.assign(value); }
/**
* <p>Indicates when the provisioned throughput was last increased.</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 AwsDynamoDbTableProvisionedThroughput& WithLastIncreaseDateTime(const Aws::String& value) { SetLastIncreaseDateTime(value); return *this;}
/**
* <p>Indicates when the provisioned throughput was last increased.</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 AwsDynamoDbTableProvisionedThroughput& WithLastIncreaseDateTime(Aws::String&& value) { SetLastIncreaseDateTime(std::move(value)); return *this;}
/**
* <p>Indicates when the provisioned throughput was last increased.</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 AwsDynamoDbTableProvisionedThroughput& WithLastIncreaseDateTime(const char* value) { SetLastIncreaseDateTime(value); return *this;}
/**
* <p>The number of times during the current UTC calendar day that the provisioned
* throughput was decreased.</p>
*/
inline int GetNumberOfDecreasesToday() const{ return m_numberOfDecreasesToday; }
/**
* <p>The number of times during the current UTC calendar day that the provisioned
* throughput was decreased.</p>
*/
inline bool NumberOfDecreasesTodayHasBeenSet() const { return m_numberOfDecreasesTodayHasBeenSet; }
/**
* <p>The number of times during the current UTC calendar day that the provisioned
* throughput was decreased.</p>
*/
inline void SetNumberOfDecreasesToday(int value) { m_numberOfDecreasesTodayHasBeenSet = true; m_numberOfDecreasesToday = value; }
/**
* <p>The number of times during the current UTC calendar day that the provisioned
* throughput was decreased.</p>
*/
inline AwsDynamoDbTableProvisionedThroughput& WithNumberOfDecreasesToday(int value) { SetNumberOfDecreasesToday(value); return *this;}
/**
* <p>The maximum number of strongly consistent reads consumed per second before
* DynamoDB returns a <code>ThrottlingException</code>.</p>
*/
inline int GetReadCapacityUnits() const{ return m_readCapacityUnits; }
/**
* <p>The maximum number of strongly consistent reads consumed per second before
* DynamoDB returns a <code>ThrottlingException</code>.</p>
*/
inline bool ReadCapacityUnitsHasBeenSet() const { return m_readCapacityUnitsHasBeenSet; }
/**
* <p>The maximum number of strongly consistent reads consumed per second before
* DynamoDB returns a <code>ThrottlingException</code>.</p>
*/
inline void SetReadCapacityUnits(int value) { m_readCapacityUnitsHasBeenSet = true; m_readCapacityUnits = value; }
/**
* <p>The maximum number of strongly consistent reads consumed per second before
* DynamoDB returns a <code>ThrottlingException</code>.</p>
*/
inline AwsDynamoDbTableProvisionedThroughput& WithReadCapacityUnits(int value) { SetReadCapacityUnits(value); return *this;}
/**
* <p>The maximum number of writes consumed per second before DynamoDB returns a
* <code>ThrottlingException</code>.</p>
*/
inline int GetWriteCapacityUnits() const{ return m_writeCapacityUnits; }
/**
* <p>The maximum number of writes consumed per second before DynamoDB returns a
* <code>ThrottlingException</code>.</p>
*/
inline bool WriteCapacityUnitsHasBeenSet() const { return m_writeCapacityUnitsHasBeenSet; }
/**
* <p>The maximum number of writes consumed per second before DynamoDB returns a
* <code>ThrottlingException</code>.</p>
*/
inline void SetWriteCapacityUnits(int value) { m_writeCapacityUnitsHasBeenSet = true; m_writeCapacityUnits = value; }
/**
* <p>The maximum number of writes consumed per second before DynamoDB returns a
* <code>ThrottlingException</code>.</p>
*/
inline AwsDynamoDbTableProvisionedThroughput& WithWriteCapacityUnits(int value) { SetWriteCapacityUnits(value); return *this;}
private:
Aws::String m_lastDecreaseDateTime;
bool m_lastDecreaseDateTimeHasBeenSet;
Aws::String m_lastIncreaseDateTime;
bool m_lastIncreaseDateTimeHasBeenSet;
int m_numberOfDecreasesToday;
bool m_numberOfDecreasesTodayHasBeenSet;
int m_readCapacityUnits;
bool m_readCapacityUnitsHasBeenSet;
int m_writeCapacityUnits;
bool m_writeCapacityUnitsHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws