AWS SDK for C++

AWS SDK for C++ Version 1.11.852

Loading...
Searching...
No Matches
InstrumentationConfigurationStatusReport.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/DynamicInstrumentationSignalType.h>
9#include <aws/application-signals/model/InstrumentationConfigurationStatus.h>
10#include <aws/application-signals/model/InstrumentationErrorCause.h>
11#include <aws/application-signals/model/InstrumentationType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ApplicationSignals {
25namespace Model {
26
34 public:
35 AWS_APPLICATIONSIGNALS_API InstrumentationConfigurationStatusReport() = default;
38 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline InstrumentationType GetInstrumentationType() const { return m_instrumentationType; }
45 inline bool InstrumentationTypeHasBeenSet() const { return m_instrumentationTypeHasBeenSet; }
47 m_instrumentationTypeHasBeenSet = true;
48 m_instrumentationType = value;
49 }
52 return *this;
53 }
55
57
60 inline DynamicInstrumentationSignalType GetSignalType() const { return m_signalType; }
61 inline bool SignalTypeHasBeenSet() const { return m_signalTypeHasBeenSet; }
63 m_signalTypeHasBeenSet = true;
64 m_signalType = value;
65 }
67 SetSignalType(value);
68 return *this;
69 }
71
73
77 inline const Aws::String& GetLocationHash() const { return m_locationHash; }
78 inline bool LocationHashHasBeenSet() const { return m_locationHashHasBeenSet; }
79 template <typename LocationHashT = Aws::String>
80 void SetLocationHash(LocationHashT&& value) {
81 m_locationHashHasBeenSet = true;
82 m_locationHash = std::forward<LocationHashT>(value);
83 }
84 template <typename LocationHashT = Aws::String>
86 SetLocationHash(std::forward<LocationHashT>(value));
87 return *this;
88 }
90
92
96 inline InstrumentationConfigurationStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 m_statusHasBeenSet = true;
100 m_status = value;
101 }
103 SetStatus(value);
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetTime() const { return m_time; }
113 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
114 template <typename TimeT = Aws::Utils::DateTime>
115 void SetTime(TimeT&& value) {
116 m_timeHasBeenSet = true;
117 m_time = std::forward<TimeT>(value);
118 }
119 template <typename TimeT = Aws::Utils::DateTime>
121 SetTime(std::forward<TimeT>(value));
122 return *this;
123 }
125
127
131 inline InstrumentationErrorCause GetErrorCause() const { return m_errorCause; }
132 inline bool ErrorCauseHasBeenSet() const { return m_errorCauseHasBeenSet; }
134 m_errorCauseHasBeenSet = true;
135 m_errorCause = value;
136 }
138 SetErrorCause(value);
139 return *this;
140 }
142 private:
144
146
147 Aws::String m_locationHash;
148
150
151 Aws::Utils::DateTime m_time{};
152
154 bool m_instrumentationTypeHasBeenSet = false;
155 bool m_signalTypeHasBeenSet = false;
156 bool m_locationHashHasBeenSet = false;
157 bool m_statusHasBeenSet = false;
158 bool m_timeHasBeenSet = false;
159 bool m_errorCauseHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace ApplicationSignals
164} // namespace Aws
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API InstrumentationConfigurationStatusReport(Aws::Utils::Json::JsonView jsonValue)
InstrumentationConfigurationStatusReport & WithInstrumentationType(InstrumentationType value)
InstrumentationConfigurationStatusReport & WithSignalType(DynamicInstrumentationSignalType value)
InstrumentationConfigurationStatusReport & WithLocationHash(LocationHashT &&value)
InstrumentationConfigurationStatusReport & WithStatus(InstrumentationConfigurationStatus value)
InstrumentationConfigurationStatusReport & WithErrorCause(InstrumentationErrorCause value)
AWS_APPLICATIONSIGNALS_API InstrumentationConfigurationStatusReport & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API InstrumentationConfigurationStatusReport()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue