/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the credit option for CPU usage of a T2, T3, or T3a Amazon EC2
* instance. See Also:
AWS
* API Reference
The credit option for CPU usage of a T instance.
*/ inline const Aws::String& GetCpuCredits() const{ return m_cpuCredits; } /** *The credit option for CPU usage of a T instance.
*/ inline bool CpuCreditsHasBeenSet() const { return m_cpuCreditsHasBeenSet; } /** *The credit option for CPU usage of a T instance.
*/ inline void SetCpuCredits(const Aws::String& value) { m_cpuCreditsHasBeenSet = true; m_cpuCredits = value; } /** *The credit option for CPU usage of a T instance.
*/ inline void SetCpuCredits(Aws::String&& value) { m_cpuCreditsHasBeenSet = true; m_cpuCredits = std::move(value); } /** *The credit option for CPU usage of a T instance.
*/ inline void SetCpuCredits(const char* value) { m_cpuCreditsHasBeenSet = true; m_cpuCredits.assign(value); } /** *The credit option for CPU usage of a T instance.
*/ inline AwsEc2LaunchTemplateDataCreditSpecificationDetails& WithCpuCredits(const Aws::String& value) { SetCpuCredits(value); return *this;} /** *The credit option for CPU usage of a T instance.
*/ inline AwsEc2LaunchTemplateDataCreditSpecificationDetails& WithCpuCredits(Aws::String&& value) { SetCpuCredits(std::move(value)); return *this;} /** *The credit option for CPU usage of a T instance.
*/ inline AwsEc2LaunchTemplateDataCreditSpecificationDetails& WithCpuCredits(const char* value) { SetCpuCredits(value); return *this;} private: Aws::String m_cpuCredits; bool m_cpuCreditsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws