AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResponseTimeRootCauseEntity.h
1
6#pragma once
7#include <aws/xray/XRay_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 XRay
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_XRAY_API ResponseTimeRootCauseEntity() = default;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 ResponseTimeRootCauseEntity& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline double GetCoverage() const { return m_coverage; }
58 inline bool CoverageHasBeenSet() const { return m_coverageHasBeenSet; }
59 inline void SetCoverage(double value) { m_coverageHasBeenSet = true; m_coverage = value; }
60 inline ResponseTimeRootCauseEntity& WithCoverage(double value) { SetCoverage(value); return *this;}
62
64
67 inline bool GetRemote() const { return m_remote; }
68 inline bool RemoteHasBeenSet() const { return m_remoteHasBeenSet; }
69 inline void SetRemote(bool value) { m_remoteHasBeenSet = true; m_remote = value; }
70 inline ResponseTimeRootCauseEntity& WithRemote(bool value) { SetRemote(value); return *this;}
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
77 double m_coverage{0.0};
78 bool m_coverageHasBeenSet = false;
79
80 bool m_remote{false};
81 bool m_remoteHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace XRay
86} // namespace Aws
AWS_XRAY_API ResponseTimeRootCauseEntity()=default
AWS_XRAY_API ResponseTimeRootCauseEntity(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API ResponseTimeRootCauseEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
ResponseTimeRootCauseEntity & WithName(NameT &&value)
ResponseTimeRootCauseEntity & WithRemote(bool value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseTimeRootCauseEntity & WithCoverage(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue