AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ResponseTimeRootCauseEntity.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/xray/XRay_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace XRay {
20namespace Model {
21
29 public:
30 AWS_XRAY_API ResponseTimeRootCauseEntity() = default;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline double GetCoverage() const { return m_coverage; }
58 inline bool CoverageHasBeenSet() const { return m_coverageHasBeenSet; }
59 inline void SetCoverage(double value) {
60 m_coverageHasBeenSet = true;
61 m_coverage = value;
62 }
64 SetCoverage(value);
65 return *this;
66 }
68
70
73 inline bool GetRemote() const { return m_remote; }
74 inline bool RemoteHasBeenSet() const { return m_remoteHasBeenSet; }
75 inline void SetRemote(bool value) {
76 m_remoteHasBeenSet = true;
77 m_remote = value;
78 }
80 SetRemote(value);
81 return *this;
82 }
84 private:
85 Aws::String m_name;
86
87 double m_coverage{0.0};
88
89 bool m_remote{false};
90 bool m_nameHasBeenSet = false;
91 bool m_coverageHasBeenSet = false;
92 bool m_remoteHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace XRay
97} // 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