AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFrameAddress(const Aws::String& value) { m_frameAddressHasBeenSet = true; m_frameAddress = value; }
49 inline void SetFrameAddress(Aws::String&& value) { m_frameAddressHasBeenSet = true; m_frameAddress = std::move(value); }
50 inline void SetFrameAddress(const char* value) { m_frameAddressHasBeenSet = true; m_frameAddress.assign(value); }
51 inline Match& WithFrameAddress(const Aws::String& value) { SetFrameAddress(value); return *this;}
52 inline Match& WithFrameAddress(Aws::String&& value) { SetFrameAddress(std::move(value)); return *this;}
53 inline Match& WithFrameAddress(const char* value) { SetFrameAddress(value); return *this;}
55
57
60 inline int GetTargetFramesIndex() const{ return m_targetFramesIndex; }
61 inline bool TargetFramesIndexHasBeenSet() const { return m_targetFramesIndexHasBeenSet; }
62 inline void SetTargetFramesIndex(int value) { m_targetFramesIndexHasBeenSet = true; m_targetFramesIndex = value; }
63 inline Match& WithTargetFramesIndex(int value) { SetTargetFramesIndex(value); return *this;}
65
67
70 inline double GetThresholdBreachValue() const{ return m_thresholdBreachValue; }
71 inline bool ThresholdBreachValueHasBeenSet() const { return m_thresholdBreachValueHasBeenSet; }
72 inline void SetThresholdBreachValue(double value) { m_thresholdBreachValueHasBeenSet = true; m_thresholdBreachValue = value; }
73 inline Match& WithThresholdBreachValue(double value) { SetThresholdBreachValue(value); return *this;}
75 private:
76
77 Aws::String m_frameAddress;
78 bool m_frameAddressHasBeenSet = false;
79
80 int m_targetFramesIndex;
81 bool m_targetFramesIndexHasBeenSet = false;
82
83 double m_thresholdBreachValue;
84 bool m_thresholdBreachValueHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CodeGuruProfiler
89} // namespace Aws
void SetFrameAddress(const Aws::String &value)
Definition Match.h:48
bool TargetFramesIndexHasBeenSet() const
Definition Match.h:61
void SetFrameAddress(const char *value)
Definition Match.h:50
Match & WithFrameAddress(const char *value)
Definition Match.h:53
Match & WithTargetFramesIndex(int value)
Definition Match.h:63
void SetFrameAddress(Aws::String &&value)
Definition Match.h:49
bool ThresholdBreachValueHasBeenSet() const
Definition Match.h:71
Match & WithFrameAddress(const Aws::String &value)
Definition Match.h:51
Match & WithThresholdBreachValue(double value)
Definition Match.h:73
AWS_CODEGURUPROFILER_API Match(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFrameAddress() const
Definition Match.h:46
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
double GetThresholdBreachValue() const
Definition Match.h:70
AWS_CODEGURUPROFILER_API Match()
bool FrameAddressHasBeenSet() const
Definition Match.h:47
AWS_CODEGURUPROFILER_API Match & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThresholdBreachValue(double value)
Definition Match.h:72
void SetTargetFramesIndex(int value)
Definition Match.h:62
Match & WithFrameAddress(Aws::String &&value)
Definition Match.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue