Lesson 35 - Get Compute Auth Token Working

This commit is contained in:
Norman Lansing
2026-02-28 12:32:28 -05:00
parent 1d477ee42a
commit 4fde462bce
7743 changed files with 1397833 additions and 18 deletions

View File

@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <smithy/Smithy_EXPORTS.h>
namespace smithy {
namespace components {
namespace tracing {
/**
* Measures a value where the statistics are likely meaningful.
*/
class SMITHY_API Histogram {
public:
virtual ~Histogram() = default;
/**
* Records a value to the histogram.
*
* @param value the value that be recorded in a statistical distribution.
* @param attributes the attributes or dimensions associate with this measurement.
*/
virtual void record(double value, Aws::Map<Aws::String, Aws::String> attributes) = 0;
};
}
}
}