/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the usage data of a usage plan.See Also:
AWS
* API Reference
The plan Id associated with this usage data.
*/ inline const Aws::String& GetUsagePlanId() const{ return m_usagePlanId; } /** *The plan Id associated with this usage data.
*/ inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanId = value; } /** *The plan Id associated with this usage data.
*/ inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanId = std::move(value); } /** *The plan Id associated with this usage data.
*/ inline void SetUsagePlanId(const char* value) { m_usagePlanId.assign(value); } /** *The plan Id associated with this usage data.
*/ inline UpdateUsageResult& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;} /** *The plan Id associated with this usage data.
*/ inline UpdateUsageResult& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;} /** *The plan Id associated with this usage data.
*/ inline UpdateUsageResult& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;} /** *The starting date of the usage data.
*/ inline const Aws::String& GetStartDate() const{ return m_startDate; } /** *The starting date of the usage data.
*/ inline void SetStartDate(const Aws::String& value) { m_startDate = value; } /** *The starting date of the usage data.
*/ inline void SetStartDate(Aws::String&& value) { m_startDate = std::move(value); } /** *The starting date of the usage data.
*/ inline void SetStartDate(const char* value) { m_startDate.assign(value); } /** *The starting date of the usage data.
*/ inline UpdateUsageResult& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;} /** *The starting date of the usage data.
*/ inline UpdateUsageResult& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;} /** *The starting date of the usage data.
*/ inline UpdateUsageResult& WithStartDate(const char* value) { SetStartDate(value); return *this;} /** *The ending date of the usage data.
*/ inline const Aws::String& GetEndDate() const{ return m_endDate; } /** *The ending date of the usage data.
*/ inline void SetEndDate(const Aws::String& value) { m_endDate = value; } /** *The ending date of the usage data.
*/ inline void SetEndDate(Aws::String&& value) { m_endDate = std::move(value); } /** *The ending date of the usage data.
*/ inline void SetEndDate(const char* value) { m_endDate.assign(value); } /** *The ending date of the usage data.
*/ inline UpdateUsageResult& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;} /** *The ending date of the usage data.
*/ inline UpdateUsageResult& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;} /** *The ending date of the usage data.
*/ inline UpdateUsageResult& WithEndDate(const char* value) { SetEndDate(value); return *this;} inline const Aws::String& GetPosition() const{ return m_position; } inline void SetPosition(const Aws::String& value) { m_position = value; } inline void SetPosition(Aws::String&& value) { m_position = std::move(value); } inline void SetPosition(const char* value) { m_position.assign(value); } inline UpdateUsageResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;} inline UpdateUsageResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;} inline UpdateUsageResult& WithPosition(const char* value) { SetPosition(value); return *this;} /** *The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.
The usage data, as daily logs of used and remaining quotas, over the
* specified time interval indexed over the API keys in a usage plan. For example,
* {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
,
* where {api_key}
stands for an API key value and the daily log entry
* is of the format [used quota, remaining quota]
.