/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Utilization metrics of the instance. See Also:
AWS
* API Reference
Maximum observed or expected CPU utilization of the instance.
*/ inline const Aws::String& GetMaxCpuUtilizationPercentage() const{ return m_maxCpuUtilizationPercentage; } /** *Maximum observed or expected CPU utilization of the instance.
*/ inline bool MaxCpuUtilizationPercentageHasBeenSet() const { return m_maxCpuUtilizationPercentageHasBeenSet; } /** *Maximum observed or expected CPU utilization of the instance.
*/ inline void SetMaxCpuUtilizationPercentage(const Aws::String& value) { m_maxCpuUtilizationPercentageHasBeenSet = true; m_maxCpuUtilizationPercentage = value; } /** *Maximum observed or expected CPU utilization of the instance.
*/ inline void SetMaxCpuUtilizationPercentage(Aws::String&& value) { m_maxCpuUtilizationPercentageHasBeenSet = true; m_maxCpuUtilizationPercentage = std::move(value); } /** *Maximum observed or expected CPU utilization of the instance.
*/ inline void SetMaxCpuUtilizationPercentage(const char* value) { m_maxCpuUtilizationPercentageHasBeenSet = true; m_maxCpuUtilizationPercentage.assign(value); } /** *Maximum observed or expected CPU utilization of the instance.
*/ inline EC2ResourceUtilization& WithMaxCpuUtilizationPercentage(const Aws::String& value) { SetMaxCpuUtilizationPercentage(value); return *this;} /** *Maximum observed or expected CPU utilization of the instance.
*/ inline EC2ResourceUtilization& WithMaxCpuUtilizationPercentage(Aws::String&& value) { SetMaxCpuUtilizationPercentage(std::move(value)); return *this;} /** *Maximum observed or expected CPU utilization of the instance.
*/ inline EC2ResourceUtilization& WithMaxCpuUtilizationPercentage(const char* value) { SetMaxCpuUtilizationPercentage(value); return *this;} /** *Maximum observed or expected memory utilization of the instance.
*/ inline const Aws::String& GetMaxMemoryUtilizationPercentage() const{ return m_maxMemoryUtilizationPercentage; } /** *Maximum observed or expected memory utilization of the instance.
*/ inline bool MaxMemoryUtilizationPercentageHasBeenSet() const { return m_maxMemoryUtilizationPercentageHasBeenSet; } /** *Maximum observed or expected memory utilization of the instance.
*/ inline void SetMaxMemoryUtilizationPercentage(const Aws::String& value) { m_maxMemoryUtilizationPercentageHasBeenSet = true; m_maxMemoryUtilizationPercentage = value; } /** *Maximum observed or expected memory utilization of the instance.
*/ inline void SetMaxMemoryUtilizationPercentage(Aws::String&& value) { m_maxMemoryUtilizationPercentageHasBeenSet = true; m_maxMemoryUtilizationPercentage = std::move(value); } /** *Maximum observed or expected memory utilization of the instance.
*/ inline void SetMaxMemoryUtilizationPercentage(const char* value) { m_maxMemoryUtilizationPercentageHasBeenSet = true; m_maxMemoryUtilizationPercentage.assign(value); } /** *Maximum observed or expected memory utilization of the instance.
*/ inline EC2ResourceUtilization& WithMaxMemoryUtilizationPercentage(const Aws::String& value) { SetMaxMemoryUtilizationPercentage(value); return *this;} /** *Maximum observed or expected memory utilization of the instance.
*/ inline EC2ResourceUtilization& WithMaxMemoryUtilizationPercentage(Aws::String&& value) { SetMaxMemoryUtilizationPercentage(std::move(value)); return *this;} /** *Maximum observed or expected memory utilization of the instance.
*/ inline EC2ResourceUtilization& WithMaxMemoryUtilizationPercentage(const char* value) { SetMaxMemoryUtilizationPercentage(value); return *this;} /** *Maximum observed or expected storage utilization of the instance (does not * measure EBS storage).
*/ inline const Aws::String& GetMaxStorageUtilizationPercentage() const{ return m_maxStorageUtilizationPercentage; } /** *Maximum observed or expected storage utilization of the instance (does not * measure EBS storage).
*/ inline bool MaxStorageUtilizationPercentageHasBeenSet() const { return m_maxStorageUtilizationPercentageHasBeenSet; } /** *Maximum observed or expected storage utilization of the instance (does not * measure EBS storage).
*/ inline void SetMaxStorageUtilizationPercentage(const Aws::String& value) { m_maxStorageUtilizationPercentageHasBeenSet = true; m_maxStorageUtilizationPercentage = value; } /** *Maximum observed or expected storage utilization of the instance (does not * measure EBS storage).
*/ inline void SetMaxStorageUtilizationPercentage(Aws::String&& value) { m_maxStorageUtilizationPercentageHasBeenSet = true; m_maxStorageUtilizationPercentage = std::move(value); } /** *Maximum observed or expected storage utilization of the instance (does not * measure EBS storage).
*/ inline void SetMaxStorageUtilizationPercentage(const char* value) { m_maxStorageUtilizationPercentageHasBeenSet = true; m_maxStorageUtilizationPercentage.assign(value); } /** *Maximum observed or expected storage utilization of the instance (does not * measure EBS storage).
*/ inline EC2ResourceUtilization& WithMaxStorageUtilizationPercentage(const Aws::String& value) { SetMaxStorageUtilizationPercentage(value); return *this;} /** *Maximum observed or expected storage utilization of the instance (does not * measure EBS storage).
*/ inline EC2ResourceUtilization& WithMaxStorageUtilizationPercentage(Aws::String&& value) { SetMaxStorageUtilizationPercentage(std::move(value)); return *this;} /** *Maximum observed or expected storage utilization of the instance (does not * measure EBS storage).
*/ inline EC2ResourceUtilization& WithMaxStorageUtilizationPercentage(const char* value) { SetMaxStorageUtilizationPercentage(value); return *this;} private: Aws::String m_maxCpuUtilizationPercentage; bool m_maxCpuUtilizationPercentageHasBeenSet; Aws::String m_maxMemoryUtilizationPercentage; bool m_maxMemoryUtilizationPercentageHasBeenSet; Aws::String m_maxStorageUtilizationPercentage; bool m_maxStorageUtilizationPercentageHasBeenSet; }; } // namespace Model } // namespace CostExplorer } // namespace Aws