/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the Capacity Reservation usage.See Also:
* AWS
* API Reference
The ID of the Amazon Web Services account that is making use of the Capacity * Reservation.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The ID of the Amazon Web Services account that is making use of the Capacity * Reservation.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The ID of the Amazon Web Services account that is making use of the Capacity * Reservation.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The ID of the Amazon Web Services account that is making use of the Capacity * Reservation.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The ID of the Amazon Web Services account that is making use of the Capacity * Reservation.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The ID of the Amazon Web Services account that is making use of the Capacity * Reservation.
*/ inline InstanceUsage& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The ID of the Amazon Web Services account that is making use of the Capacity * Reservation.
*/ inline InstanceUsage& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that is making use of the Capacity * Reservation.
*/ inline InstanceUsage& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The number of instances the Amazon Web Services account currently has in the * Capacity Reservation.
*/ inline int GetUsedInstanceCount() const{ return m_usedInstanceCount; } /** *The number of instances the Amazon Web Services account currently has in the * Capacity Reservation.
*/ inline bool UsedInstanceCountHasBeenSet() const { return m_usedInstanceCountHasBeenSet; } /** *The number of instances the Amazon Web Services account currently has in the * Capacity Reservation.
*/ inline void SetUsedInstanceCount(int value) { m_usedInstanceCountHasBeenSet = true; m_usedInstanceCount = value; } /** *The number of instances the Amazon Web Services account currently has in the * Capacity Reservation.
*/ inline InstanceUsage& WithUsedInstanceCount(int value) { SetUsedInstanceCount(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; int m_usedInstanceCount; bool m_usedInstanceCountHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws