146 lines
4.5 KiB
C
146 lines
4.5 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace CodeGuruProfiler
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The part of a profile that contains a recommendation found during
|
|||
|
|
* analysis.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/Match">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_CODEGURUPROFILER_API Match
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
Match();
|
|||
|
|
Match(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Match& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location in the profiling graph that contains a recommendation found
|
|||
|
|
* during analysis.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetFrameAddress() const{ return m_frameAddress; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location in the profiling graph that contains a recommendation found
|
|||
|
|
* during analysis.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool FrameAddressHasBeenSet() const { return m_frameAddressHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location in the profiling graph that contains a recommendation found
|
|||
|
|
* during analysis.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFrameAddress(const Aws::String& value) { m_frameAddressHasBeenSet = true; m_frameAddress = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location in the profiling graph that contains a recommendation found
|
|||
|
|
* during analysis.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFrameAddress(Aws::String&& value) { m_frameAddressHasBeenSet = true; m_frameAddress = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location in the profiling graph that contains a recommendation found
|
|||
|
|
* during analysis.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFrameAddress(const char* value) { m_frameAddressHasBeenSet = true; m_frameAddress.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location in the profiling graph that contains a recommendation found
|
|||
|
|
* during analysis.</p>
|
|||
|
|
*/
|
|||
|
|
inline Match& WithFrameAddress(const Aws::String& value) { SetFrameAddress(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location in the profiling graph that contains a recommendation found
|
|||
|
|
* during analysis.</p>
|
|||
|
|
*/
|
|||
|
|
inline Match& WithFrameAddress(Aws::String&& value) { SetFrameAddress(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location in the profiling graph that contains a recommendation found
|
|||
|
|
* during analysis.</p>
|
|||
|
|
*/
|
|||
|
|
inline Match& WithFrameAddress(const char* value) { SetFrameAddress(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The target frame that triggered a match.</p>
|
|||
|
|
*/
|
|||
|
|
inline int GetTargetFramesIndex() const{ return m_targetFramesIndex; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The target frame that triggered a match.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool TargetFramesIndexHasBeenSet() const { return m_targetFramesIndexHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The target frame that triggered a match.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTargetFramesIndex(int value) { m_targetFramesIndexHasBeenSet = true; m_targetFramesIndex = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The target frame that triggered a match.</p>
|
|||
|
|
*/
|
|||
|
|
inline Match& WithTargetFramesIndex(int value) { SetTargetFramesIndex(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The value in the profile data that exceeded the recommendation threshold.</p>
|
|||
|
|
*/
|
|||
|
|
inline double GetThresholdBreachValue() const{ return m_thresholdBreachValue; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The value in the profile data that exceeded the recommendation threshold.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ThresholdBreachValueHasBeenSet() const { return m_thresholdBreachValueHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The value in the profile data that exceeded the recommendation threshold.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetThresholdBreachValue(double value) { m_thresholdBreachValueHasBeenSet = true; m_thresholdBreachValue = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The value in the profile data that exceeded the recommendation threshold.</p>
|
|||
|
|
*/
|
|||
|
|
inline Match& WithThresholdBreachValue(double value) { SetThresholdBreachValue(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_frameAddress;
|
|||
|
|
bool m_frameAddressHasBeenSet;
|
|||
|
|
|
|||
|
|
int m_targetFramesIndex;
|
|||
|
|
bool m_targetFramesIndexHasBeenSet;
|
|||
|
|
|
|||
|
|
double m_thresholdBreachValue;
|
|||
|
|
bool m_thresholdBreachValueHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace CodeGuruProfiler
|
|||
|
|
} // namespace Aws
|