AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
InferenceEventSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LookoutEquipment {
21namespace Model {
22
31 public:
32 AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary() = default;
33 AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetInferenceSchedulerArn() const { return m_inferenceSchedulerArn; }
43 inline bool InferenceSchedulerArnHasBeenSet() const { return m_inferenceSchedulerArnHasBeenSet; }
44 template <typename InferenceSchedulerArnT = Aws::String>
45 void SetInferenceSchedulerArn(InferenceSchedulerArnT&& value) {
46 m_inferenceSchedulerArnHasBeenSet = true;
47 m_inferenceSchedulerArn = std::forward<InferenceSchedulerArnT>(value);
48 }
49 template <typename InferenceSchedulerArnT = Aws::String>
50 InferenceEventSummary& WithInferenceSchedulerArn(InferenceSchedulerArnT&& value) {
51 SetInferenceSchedulerArn(std::forward<InferenceSchedulerArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetInferenceSchedulerName() const { return m_inferenceSchedulerName; }
61 inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; }
62 template <typename InferenceSchedulerNameT = Aws::String>
63 void SetInferenceSchedulerName(InferenceSchedulerNameT&& value) {
64 m_inferenceSchedulerNameHasBeenSet = true;
65 m_inferenceSchedulerName = std::forward<InferenceSchedulerNameT>(value);
66 }
67 template <typename InferenceSchedulerNameT = Aws::String>
68 InferenceEventSummary& WithInferenceSchedulerName(InferenceSchedulerNameT&& value) {
69 SetInferenceSchedulerName(std::forward<InferenceSchedulerNameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetEventStartTime() const { return m_eventStartTime; }
79 inline bool EventStartTimeHasBeenSet() const { return m_eventStartTimeHasBeenSet; }
80 template <typename EventStartTimeT = Aws::Utils::DateTime>
81 void SetEventStartTime(EventStartTimeT&& value) {
82 m_eventStartTimeHasBeenSet = true;
83 m_eventStartTime = std::forward<EventStartTimeT>(value);
84 }
85 template <typename EventStartTimeT = Aws::Utils::DateTime>
86 InferenceEventSummary& WithEventStartTime(EventStartTimeT&& value) {
87 SetEventStartTime(std::forward<EventStartTimeT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetEventEndTime() const { return m_eventEndTime; }
97 inline bool EventEndTimeHasBeenSet() const { return m_eventEndTimeHasBeenSet; }
98 template <typename EventEndTimeT = Aws::Utils::DateTime>
99 void SetEventEndTime(EventEndTimeT&& value) {
100 m_eventEndTimeHasBeenSet = true;
101 m_eventEndTime = std::forward<EventEndTimeT>(value);
102 }
103 template <typename EventEndTimeT = Aws::Utils::DateTime>
104 InferenceEventSummary& WithEventEndTime(EventEndTimeT&& value) {
105 SetEventEndTime(std::forward<EventEndTimeT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetDiagnostics() const { return m_diagnostics; }
116 inline bool DiagnosticsHasBeenSet() const { return m_diagnosticsHasBeenSet; }
117 template <typename DiagnosticsT = Aws::String>
118 void SetDiagnostics(DiagnosticsT&& value) {
119 m_diagnosticsHasBeenSet = true;
120 m_diagnostics = std::forward<DiagnosticsT>(value);
121 }
122 template <typename DiagnosticsT = Aws::String>
123 InferenceEventSummary& WithDiagnostics(DiagnosticsT&& value) {
124 SetDiagnostics(std::forward<DiagnosticsT>(value));
125 return *this;
126 }
128
130
133 inline long long GetEventDurationInSeconds() const { return m_eventDurationInSeconds; }
134 inline bool EventDurationInSecondsHasBeenSet() const { return m_eventDurationInSecondsHasBeenSet; }
135 inline void SetEventDurationInSeconds(long long value) {
136 m_eventDurationInSecondsHasBeenSet = true;
137 m_eventDurationInSeconds = value;
138 }
141 return *this;
142 }
144 private:
145 Aws::String m_inferenceSchedulerArn;
146
147 Aws::String m_inferenceSchedulerName;
148
149 Aws::Utils::DateTime m_eventStartTime{};
150
151 Aws::Utils::DateTime m_eventEndTime{};
152
153 Aws::String m_diagnostics;
154
155 long long m_eventDurationInSeconds{0};
156 bool m_inferenceSchedulerArnHasBeenSet = false;
157 bool m_inferenceSchedulerNameHasBeenSet = false;
158 bool m_eventStartTimeHasBeenSet = false;
159 bool m_eventEndTimeHasBeenSet = false;
160 bool m_diagnosticsHasBeenSet = false;
161 bool m_eventDurationInSecondsHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace LookoutEquipment
166} // namespace Aws
InferenceEventSummary & WithEventDurationInSeconds(long long value)
const Aws::Utils::DateTime & GetEventStartTime() const
InferenceEventSummary & WithInferenceSchedulerArn(InferenceSchedulerArnT &&value)
AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInferenceSchedulerName(InferenceSchedulerNameT &&value)
AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary()=default
void SetInferenceSchedulerArn(InferenceSchedulerArnT &&value)
const Aws::Utils::DateTime & GetEventEndTime() const
InferenceEventSummary & WithEventEndTime(EventEndTimeT &&value)
AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceEventSummary & WithDiagnostics(DiagnosticsT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceEventSummary & WithEventStartTime(EventStartTimeT &&value)
InferenceEventSummary & WithInferenceSchedulerName(InferenceSchedulerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue