AWS SDK for C++

AWS SDK for C++ Version 1.11.852

Loading...
Searching...
No Matches
UnprocessedStatusEvent.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/InstrumentationType.h>
11#include <aws/application-signals/model/UnprocessedStatusEventFailureReason.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 UnprocessedStatusEvent() = default;
36 AWS_APPLICATIONSIGNALS_API UnprocessedStatusEvent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONSIGNALS_API UnprocessedStatusEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline InstrumentationType GetInstrumentationType() const { return m_instrumentationType; }
46 inline bool InstrumentationTypeHasBeenSet() const { return m_instrumentationTypeHasBeenSet; }
48 m_instrumentationTypeHasBeenSet = true;
49 m_instrumentationType = value;
50 }
53 return *this;
54 }
56
58
61 inline DynamicInstrumentationSignalType GetSignalType() const { return m_signalType; }
62 inline bool SignalTypeHasBeenSet() const { return m_signalTypeHasBeenSet; }
64 m_signalTypeHasBeenSet = true;
65 m_signalType = value;
66 }
68 SetSignalType(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetLocationHash() const { return m_locationHash; }
79 inline bool LocationHashHasBeenSet() const { return m_locationHashHasBeenSet; }
80 template <typename LocationHashT = Aws::String>
81 void SetLocationHash(LocationHashT&& value) {
82 m_locationHashHasBeenSet = true;
83 m_locationHash = std::forward<LocationHashT>(value);
84 }
85 template <typename LocationHashT = Aws::String>
86 UnprocessedStatusEvent& WithLocationHash(LocationHashT&& value) {
87 SetLocationHash(std::forward<LocationHashT>(value));
88 return *this;
89 }
91
93
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 UnprocessedStatusEventFailureReason GetFailedReason() const { return m_failedReason; }
132 inline bool FailedReasonHasBeenSet() const { return m_failedReasonHasBeenSet; }
134 m_failedReasonHasBeenSet = true;
135 m_failedReason = value;
136 }
138 SetFailedReason(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_failedReasonHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace ApplicationSignals
164} // namespace Aws
UnprocessedStatusEvent & WithSignalType(DynamicInstrumentationSignalType value)
void SetSignalType(DynamicInstrumentationSignalType value)
void SetFailedReason(UnprocessedStatusEventFailureReason value)
UnprocessedStatusEvent & WithStatus(InstrumentationConfigurationStatus value)
AWS_APPLICATIONSIGNALS_API UnprocessedStatusEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessedStatusEventFailureReason GetFailedReason() const
UnprocessedStatusEvent & WithInstrumentationType(InstrumentationType value)
DynamicInstrumentationSignalType GetSignalType() const
InstrumentationConfigurationStatus GetStatus() const
UnprocessedStatusEvent & WithLocationHash(LocationHashT &&value)
UnprocessedStatusEvent & WithFailedReason(UnprocessedStatusEventFailureReason value)
AWS_APPLICATIONSIGNALS_API UnprocessedStatusEvent()=default
AWS_APPLICATIONSIGNALS_API UnprocessedStatusEvent(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(InstrumentationConfigurationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue