/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A statistic in a Performance Insights collection.See Also:
* AWS
* API Reference
The statistic type.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The statistic type.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The statistic type.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The statistic type.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The statistic type.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The statistic type.
*/ inline PerformanceInsightsStat& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The statistic type.
*/ inline PerformanceInsightsStat& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The statistic type.
*/ inline PerformanceInsightsStat& WithType(const char* value) { SetType(value); return *this;} /** *The value of the statistic.
*/ inline double GetValue() const{ return m_value; } /** *The value of the statistic.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the statistic.
*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the statistic.
*/ inline PerformanceInsightsStat& WithValue(double value) { SetValue(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws