AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Match.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeGuruProfiler
22{
23namespace Model
24{
25
32 class Match
33 {
34 public:
35 AWS_CODEGURUPROFILER_API Match() = default;
36 AWS_CODEGURUPROFILER_API Match(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEGURUPROFILER_API Match& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetFrameAddress() const { return m_frameAddress; }
47 inline bool FrameAddressHasBeenSet() const { return m_frameAddressHasBeenSet; }
48 template<typename FrameAddressT = Aws::String>
49 void SetFrameAddress(FrameAddressT&& value) { m_frameAddressHasBeenSet = true; m_frameAddress = std::forward<FrameAddressT>(value); }
50 template<typename FrameAddressT = Aws::String>
51 Match& WithFrameAddress(FrameAddressT&& value) { SetFrameAddress(std::forward<FrameAddressT>(value)); return *this;}
53
55
58 inline int GetTargetFramesIndex() const { return m_targetFramesIndex; }
59 inline bool TargetFramesIndexHasBeenSet() const { return m_targetFramesIndexHasBeenSet; }
60 inline void SetTargetFramesIndex(int value) { m_targetFramesIndexHasBeenSet = true; m_targetFramesIndex = value; }
61 inline Match& WithTargetFramesIndex(int value) { SetTargetFramesIndex(value); return *this;}
63
65
68 inline double GetThresholdBreachValue() const { return m_thresholdBreachValue; }
69 inline bool ThresholdBreachValueHasBeenSet() const { return m_thresholdBreachValueHasBeenSet; }
70 inline void SetThresholdBreachValue(double value) { m_thresholdBreachValueHasBeenSet = true; m_thresholdBreachValue = value; }
71 inline Match& WithThresholdBreachValue(double value) { SetThresholdBreachValue(value); return *this;}
73 private:
74
75 Aws::String m_frameAddress;
76 bool m_frameAddressHasBeenSet = false;
77
78 int m_targetFramesIndex{0};
79 bool m_targetFramesIndexHasBeenSet = false;
80
81 double m_thresholdBreachValue{0.0};
82 bool m_thresholdBreachValueHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CodeGuruProfiler
87} // namespace Aws
bool TargetFramesIndexHasBeenSet() const
Definition Match.h:59
Match & WithFrameAddress(FrameAddressT &&value)
Definition Match.h:51
Match & WithTargetFramesIndex(int value)
Definition Match.h:61
bool ThresholdBreachValueHasBeenSet() const
Definition Match.h:69
Match & WithThresholdBreachValue(double value)
Definition Match.h:71
AWS_CODEGURUPROFILER_API Match(Aws::Utils::Json::JsonView jsonValue)
void SetFrameAddress(FrameAddressT &&value)
Definition Match.h:49
const Aws::String & GetFrameAddress() const
Definition Match.h:46
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
double GetThresholdBreachValue() const
Definition Match.h:68
bool FrameAddressHasBeenSet() const
Definition Match.h:47
AWS_CODEGURUPROFILER_API Match & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThresholdBreachValue(double value)
Definition Match.h:70
void SetTargetFramesIndex(int value)
Definition Match.h:60
AWS_CODEGURUPROFILER_API Match()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue